ditto with what Marc said. you can do something like this or remove hosts from hostgoup and specifically add the to the check_ping service check:
# perform service check on all hosts in hostgroup define service{ use generic-service hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } # perform service check on hostgroup but not on the new servers define service{ use generic-service host_name !server9,!server10,!server11,!server12,!server13,!server14,!server15,!server16,!server17,!server18 hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } ----- Original Message ----- From: "Grant Lowe" <gl...@sbcglobal.net> To: "Eric Parker" <epar...@scoe.org> Cc: nagios-users@lists.sourceforge.net Sent: Monday, April 6, 2009 9:24:47 AM GMT -08:00 US/Canada Pacific Subject: Re: [Nagios-users] Notifications I just checked. All added hosts are members of the hostgroup solaris-servers. Thanks Eric. ----- Original Message ---- From: Eric Parker <epar...@scoe.org> To: Grant Lowe <gl...@sbcglobal.net> Cc: nagios-users@lists.sourceforge.net Sent: Monday, April 6, 2009 8:46:38 AM Subject: Re: [Nagios-users] Notifications Are the newly added hosts members of the hostgroup solaris-servers? Thanks, Eric ----- Original Message ----- From: "Grant Lowe" <gl...@sbcglobal.net> To: nagios-users@lists.sourceforge.net Sent: Monday, April 6, 2009 8:31:10 AM GMT -08:00 US/Canada Pacific Subject: [Nagios-users] Notifications Hi All, I've had nagios 3.0.3 on a linux box, going for several months now, checking swap, disk space, number of processes, and several other services on about 8 UNIX hosts. Last week, a fellow admin decided he wanted to add a bunch of hosts. He added the hosts, but only added the check_ping service for the hosts. But for some reason, nagios is doing the additional aforementioned services, not just ping, so now I have all these errors. My services file looks like this: define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8,server9,server10,server11,server12,server13,server14,server15,server16,server17,server18 hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8 hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } Any ideas on why all the extra monitoring? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users@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 ------------------------------------ Notice to Recipient: Information contained in this message may be privileged, confidential and protected from disclosure. If you are not an intended recipient, it is strictly prohibited to use, disseminate or copy this communication. If you have received this in error, please reply to the sender and then delete the message. Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users@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