Servicegroups and web interface

Matthew Shanker mshanker at usgs.gov
Mon Dec 15 18:54:43 CET 2008


Jon Angliss wrote:
> On Fri, 12 Dec 2008 12:11:39 -0700, Matthew Shanker
> <mshanker at usgs.gov> wrote:
>
>   
>> I'm having what I think is some sort of permissions issue but I can't 
>> put my finger on it. I've got a situation where I've got an empty 
>> servicegroup that shows up in the web interface. As soon as I add the 
>> servicegroups line to the definition shown below the servicegroup 
>> dissapears from the web interface. The web interface is configured with 
>> authentication using a default user 'nagios' that is set for all 
>> hosts/services.
>>
>> define service {
>>  use                  important-service
>>
>>  hostgroups           linux-servers,linux-desktops,!legacy-systems
>>  service_description  NFS
>>  check_command        check_nfs_by_ssh
>> +servicegroups         file-shares
>> }
>>     
>
>
> What version of nagios are you using?  Should the "hostgroups" not be
> "hostgroup_name", at least that is how it's being documented in the
> manual for 3.x.  Are you defining the line with a + at the beginning,
> or is that a diff showing what you've added?
>
>   
I am using Nagios 3.0.5 having migrated our configuration from 2.x. I 
just updated hostgroups to hostgroup_name in our services (though why 
it's still hostgroups for a host is strange). The + at the beginning of 
the line was a diff showing the line that when I add it to the 
configuration file the service group is no longer displayed in the web 
interface.

Matt Shanker

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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