VB: Major notification problem

Subhendu Ghosh sghosh at sghosh.org
Wed Feb 8 19:28:13 CET 2006


On Wed, 8 Feb 2006, lennart.kvam at softronic.se 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: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.
>
>

-- 


More information about the Users mailing list