Marc Powell wrote: > On May 29, 2009, at 4:55 AM, J. Bakshi wrote: > > >>>> contact_groups admins,others ; Notifications get sent to >>>> the admins by default >>>> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A >>>> REAL >>>> HOST, JUST A TEMPLATE! >>>> > > >> yes, I have restarted the nagios a no. of times but no success. >> Regarding the host defination I have already posted it in my >> previous post. >> > > What you posted originally was not a host definition but rather a host > _template_. The difference is critical and you even explain it in ALL > CAPS above. The 'register 0' means that nagios isn't supposed to treat > it as a host to check but rather as something that will be referenced > in a subsequent host definition with a 'use' statement. Find where > you 'use serverA' and look at that definition. If contact_groups is > defined there, what's used in the template doesn't matter. >
It is working now. I have to put the group in the "define service" section also. Thanks > >> There is a noticeable line like >> >> contact_groups admins,others ; Notifications get sent to the >> admins by default >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> > > This wouldn't matter if the actual host definition overrides it. > That's what I'm trying to determine. > > >> is there anything which prevents my non admin group ? >> > > Nothing outside of a configuration or logic error would. admins, non- > admins, it's all the same to nagios. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 > > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list [email protected] 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
