Viewer user profile without snmp community view access

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
juanmafer
Posts: 16
Joined: Wed Apr 06, 2016 4:45 pm

Viewer user profile without snmp community view access

Post by juanmafer »

We have a NAGIOS XI implemented.
We have a security problem with the viewer user profile.
We configured as a free variables the smtp community (we used to be configure in Nagios Core by the same way) and with the viewer profile in this Nagios, we can view the value of the free-variables.
Does It posible to hide these variables in the viewer profile?
Thanks!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Viewer user profile without snmp community view access

Post by dwhitfield »

Can you post a screenshot of what you are looking at? I'm not sure where this is set up. Are you talking about in the CCM?
juanmafer
Posts: 16
Joined: Wed Apr 06, 2016 4:45 pm

Re: Viewer user profile without snmp community view access

Post by juanmafer »

Hi,
Isn't in the CCM. The problem is with using the host properties by the home menu with a viewer user......
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Viewer user profile without snmp community view access

Post by tmcdonald »

You can obscure that information by storing the community string in a user macro: https://assets.nagios.com/downloads/nag ... Macros.pdf
Former Nagios employee
juanmafer
Posts: 16
Joined: Wed Apr 06, 2016 4:45 pm

Re: Viewer user profile without snmp community view access

Post by juanmafer »

Ok. I understand that you say but We need to obscure a free variable of a host template.
We have several snmp communities that use the same service (with the same command) and use A FREE VARIABLE of the host template as $ARGX.

Thaks for a quick reply and sorry for my english.... :D
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Viewer user profile without snmp community view access

Post by scottwilkerson »

At present the only way to do this would be to remove the Free Variable Tab component and eliminate that tab from the detail pages.

You can do this at Admin -> Manage Components and delete the "Free Variable Tab" component
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
juanmafer
Posts: 16
Joined: Wed Apr 06, 2016 4:45 pm

Re: Viewer user profile without snmp community view access

Post by juanmafer »

This works for me...
Thks!
Locked