[PLUG] Nagios
Paul Heinlein
heinlein at madboa.com
Sun Dec 18 05:24:29 UTC 2005
On Sat, 17 Dec 2005, Mike Witt wrote:
> Ok, well since it sounds like a couple of people are using it... One
> thing I'm stuck is is that I can't get notifications working for
> services. (They work for hosts.)
What version of nagios are you running? I'm using 2.0b3; if you're
somewhere in that ballpark, then these snippets may be helpful:
define service {
name enterprise-service
register 0
check_period 24x7
contact_groups admins
max_check_attempts 3
normal_check_interval 30
notification_interval 60
notification_options w,c,r
notification_period 24x7
retry_check_interval 2
}
[....]
define service {
host_name BlahBlah
service_description SMTP server
check_command check_smtp
use enterprise-service
}
I'd also be interested to know if anything shows up in your system
logs. Does nagios try to send messages but get thwarted by local SMTP
configs? Do you have a smarthost somewhere in your e-mail chain that's
refusing to relay?
--
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com
More information about the PLUG
mailing list