VB: Major notification problem
lennart.kvam at softronic.se
lennart.kvam at softronic.se
Wed Feb 8 23:48:29 CET 2006
Wwwwhiiiieeee..... Jim! You are my new HERO:-) It works.... THANKS MAN!!!!
Did`nt see that! Dumb "n"....
Thanks again!
This is how it came out!
-------------------------------------
***** Nagios *****
Notification Type: PROBLEM
Host: arnwin0136
State: DOWN
Address: 192.168.103.100
Info: $
Date/Time: $
Why no date? :-)
Regards
Lennart
-----Ursprungligt meddelande-----
Från: Jim Perrin [mailto:jperrin at gmail.com]
Skickat: den 8 februari 2006 23:24
Till: Kvam Lennart
Kopia: nagios-users at lists.sourceforge.net
Ämne: Re: [Nagios-users] Major notification problem
> Minimal.cfg
>
> define contact{
> contact_name nagios-admin
> alias Nagios Admin
> service_notification_period 24x7
> host_notification_period 24x7
> service_notification_options w,u,c,r,n
> host_notification_options d,u,r,n
> service_notification_commands notify-by-email
> host_notification_commands host-notify-by-email
> # service_notification_commands notify-by-sendEmail
> # host_notification_commands host-notify-by-sendEmail
> email lelle at softronic.se
> }
Uh.... you're aware that the host_notification_options and service_notification_options you have set up here have 'n' in them..
This will keep notifications from being sent.
>From TFD -> "If you specify n (none) as an option, no host notifications will be sent out."
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html
--
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety''
Benjamin Franklin 1775
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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