Probs with notification from passive check

Ralf Mellis testrm at kisters.com
Fri May 16 09:20:28 CEST 2003


Ralf Mellis wrote:
> I'm using nag 1.0 (linux) with nrpe 1.8/2.03b (various os).
> I have setup a passive check on my nagios host for a w2k test box.
> The communication from the w2k box to the nagios host is done via ssh, 
> using plink from putty (0.52). I have changed the "citrix" wsh script 
> (which was attached to various mails here) to suit my needs.
> Now: Changing the status of my service works fine, I can monitor this in 
> the nagios.log and in the web gui. Only notification is not (always) 
> successfull. From time to time I get a mail to the contact defined for 
> my test service, but mostly not (At this time I have not found out 
> exactly in which cases I get one and when not).
> 

I have tested a little bit, and I'm more and more confused. Sometimes I 
get notifications, but in most cases not.
Some snippets out of my "nagios.log":

#### snip #####
nagios.log:[1053016279] SERVICE ALERT: w2kwks-rm;Test 
WSH;CRITICAL;SOFT;2;Test WSH external: Critical
nagios.log:[1053016279] SERVICE ALERT: w2kwks-rm;Test 
WSH;UNKNOWN;HARD;3;Test WSH external: Unknown
nagios.log:[1053016279] SERVICE NOTIFICATION: RaMe;w2kwks-rm;Test 
WSH;UNKNOWN;notify-by-email;Test WSH external: Unknown
nagios.log:[1053016281] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;0;Test WSH external: OK.
nagios.log:[1053016286] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;2;Test WSH external: 
Critical
nagios.log:[1053016289] SERVICE ALERT: w2kwks-rm;Test WSH;OK;HARD;3;Test 
WSH external: OK.
nagios.log:[1053016289] SERVICE NOTIFICATION: RaMe;w2kwks-rm;Test 
WSH;OK;notify-by-email;Test WSH external: OK.
nagios.log:[1053016290] SERVICE ALERT: w2kwks-rm;Test 
WSH;CRITICAL;SOFT;1;Test WSH external: Critical
nagios.log:[1053016291] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;0;Test WSH external: OK.
...
[1053068857] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;2;Test WSH external: 
Critical
[1053068859] SERVICE ALERT: w2kwks-rm;Test WSH;CRITICAL;SOFT;1;Test WSH 
external: Critical
[1053068902] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;3;Test WSH external: Unknown
[1053068909] SERVICE ALERT: w2kwks-rm;Test WSH;UNKNOWN;SOFT;2;Test WSH 
external: Unknown
[1053068946] EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;0;Test WSH external: OK.
[1053068949] SERVICE ALERT: w2kwks-rm;Test WSH;OK;SOFT;3;Test WSH 
external: OK.
#### snip ends ####

I don't know, where I can search anymore...
Any help appreciated.

Regards

-- 
Ralf Mellis
Abt. DV/ORG
Kisters Maschinenbau GmbH
Germany
47533 Kleve
Boschstr. 1-3
Tel. +49(0)2821-503-0
Fax  +49(0)2821-26110




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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