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: [email protected]
Ä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.
--