Sorry, I stopt the cutting from the log to early:-) here`s the rest.... Feb 8 19:35:34 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:35:44 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:35:54 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:04 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:14 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:24 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:34 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:44 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:54 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:37:04 nagios nagios: HOST ALERT: arnwin0136;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:37:04 nagios nagios: SERVICE ALERT: arnwin0136;check_ping;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:37:24 nagios nagios: SERVICE ALERT: arnwin0136;check_ping;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds
Nothing happens after that... Thanks //Lennart -----Ursprungligt meddelande----- Från: Subhendu Ghosh [mailto:[EMAIL PROTECTED] Skickat: den 8 februari 2006 19:28 Till: Kvam Lennart Kopia: nagios-users@lists.sourceforge.net Ämne: Re: VB: [Nagios-users] Major notification problem On Wed, 8 Feb 2006, [EMAIL PROTECTED] wrote: > 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? These are SOFT states. Nothing happens until you reach a HARD state. > > Thanks > //Lelle > > -----Ursprungligt meddelande----- > Från: jeff vier [mailto:[EMAIL PROTECTED] > Skickat: den 8 februari 2006 17:11 > Till: Kvam Lennart > Kopia: nagios-users@lists.sourceforge.net > Ämne: Re: [Nagios-users] Major notification problem > > On Wed, 2006-02-08 at 00:57 +0100, [EMAIL PROTECTED] wrote: >> When i try in commandline with: /bin/mail -s TEST [EMAIL PROTECTED] >> Its working like charm! but i need to press "ctrl"+ d to send it! > > what about: > echo "test message" | /bin/mail -s TEST [EMAIL PROTECTED] ? > > 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@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