your old post: RE: Restricting user to monitor single host

Marc Powell marc at ena.com
Thu Jan 7 18:50:55 CET 2010


Hi Nobuo,

Please always send your questions to the list and not to me directly... More below --

On Jan 7, 2010, at 10:45 AM, Matsushita, Nobuo wrote:

> Hi Marc,
>  
> I am trying this restriction on Nagios V3.x. According your post on March 8, 2005:
>  
> > I can't seem to find where this little nugget is actually stated in the
> > documentation or the FAQ any longer. The quick synopsis is --
> > 
> > Enable CGI authorization as above. Create a contact for this person. If
> > they don't need notifications, set the service_notification_options and
> > host_notification_options to 'n'. Add them to the contact_group for the
> > host (and possibly as a contact for each service). Create an .htpasswd
> > user account using the same username as defined in the contact
> > definition.
>  
> When I check the Nagios documentation on contact_group.cfg,  the "contactgroup" definition does not have "host". Is this changed on new released? or am I doing a wrong thing?

2005 would have been an old release and I'm not quite sure of the context of this post. It seems to be talking about simple authorization configuration though. In the current release, contactgroups are specified within the host{} definition itself with the 'contact_groups' parameter. If it's just a single person, you don't need a group and could just use the 'contacts' parameter --

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host

This documentation may also be useful depending on what you are trying to to -- http://nagios.sourceforge.net/docs/3_0/cgiauth.html

--
Marc


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list