Notifications
Grant Lowe
glowe at sbcglobal.net
Mon Apr 6 22:56:35 CEST 2009
Yes, Eric, ditto what Mark said. Great minds agree :-). Thanks for the help, guys. Nagios is now back to it's happy self.
I ended up doing the second one, to exclude certain hosts from the service. That way, I can include services and hosts as they come on-line, one-by-one
----- Original Message ----
From: Eric Parker <eparker at scoe.org>
To: Grant Lowe <glowe at sbcglobal.net>
Cc: nagios-users at lists.sourceforge.net
Sent: Monday, April 6, 2009 10:01:43 AM
Subject: Re: [Nagios-users] Notifications
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" <glowe at sbcglobal.net>
To: "Eric Parker" <eparker at scoe.org>
Cc: nagios-users at 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 <eparker at scoe.org>
To: Grant Lowe <glowe at sbcglobal.net>
Cc: nagios-users at 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" <glowe at sbcglobal.net>
To: nagios-users at 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 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
------------------------------------
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.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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