VB: Major notification problem
lennart.kvam at softronic.se
lennart.kvam at softronic.se
Wed Feb 8 19:18:20 CET 2006
Yes, that works fine!
Here`s I bit from nagios.log
[1139416555] HOST ALERT: arnwin0136;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1139416565] HOST ALERT: arnwin0136;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1139416575] HOST ALERT: arnwin0136;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1139416585] HOST ALERT: arnwin0136;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds [1139416595] HOST ALERT: arnwin0136;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds
should not nagios log something like "notification" sent or?
Thanks
//Lelle
-----Ursprungligt meddelande-----
Från: jeff vier [mailto:boinger at tradingtechnologies.com]
Skickat: den 8 februari 2006 17:11
Till: Kvam Lennart
Kopia: nagios-users at lists.sourceforge.net
Ämne: Re: [Nagios-users] Major notification problem
On Wed, 2006-02-08 at 00:57 +0100, lennart.kvam at softronic.se wrote:
> When i try in commandline with: /bin/mail -s TEST lelle at softronic.se
> Its working like charm! but i need to press "ctrl"+ d to send it!
what about:
echo "test message" | /bin/mail -s TEST lelle at softronic.se ?
You need to study up on pipes, stdin, stdout, etc. Standard Unix concepts.
-------------------------------------------------------
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