FW: Process Host Check Results

Wickus Botha Wickus.Botha at za.tiscali.com
Thu Nov 4 18:55:39 CET 2004


-----------------------------------------
  Please visit http://www.tiscali.co.za/business/did_you_know.htm
-----------------------------------------
This is the output i receive from gdb when i do the process passive host checks

(gdb) bt
#0  0x00177a60 in strncpy () from /lib/tls/libc.so.6
#1  0x08053249 in check_for_external_commands () at commands.c:136
#2  0x0805a775 in handle_host_event (hst=0x816ceb8) at sehandlers.c:428
#3  0x0805aaf0 in handle_host_state (hst=0x816ceb8) at sehandlers.c:666
#4  0x08054527 in process_passive_host_check (check_time=1099590946, host_name=0x816d0b8 "DOWN", return_code=0,
    output=0xfee0e7a0 "UP") at commands.c:2040
#5  0x08054207 in cmd_process_host_check_result (cmd=87, check_time=1099590946, args=0xfee0e980 "mail1;0;UP|")
    at commands.c:1879
#6  0x08051ef5 in check_for_external_commands () at commands.c:560
#7  0x080574aa in event_execution_loop () at events.c:1040
#8  0x0804a259 in main (argc=135680008, argv=0xfee0f5f0) at nagios.c:663

-----Original Message-----
From: Wickus Botha 
Sent: Tuesday, November 02, 2004 11:20 AM
To: 'nagios-devel at lists.sourceforge.net'
Subject: Process Host Check Results


Hi

I'm currently testing the process host check results but every now and then actually every time i tested it nagios crashes.
if u use the website to submit results it seems to working. But i did manage to break it. The other test is by using
a script to write to the nagios.cmd file and let nagios process the results. If somebody has a test lab can they maybe try and simulate this. If there is more info regarding the test u need please drop me a mail.

[1099385443] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;mail1;1;DOWN|
[1099385443] HOST ALERT: mail1;DOWN;HARD;1;DOWN
[1099385443] HOST NOTIFICATION: usermail;mail1;DOWN;host-notify-by-email;DOWN
[1099385444] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;mail2;1;DOWN|
[1099385444] HOST ALERT: mail2;DOWN;HARD;1;DOWN
[1099385444] HOST NOTIFICATION: usermail;mail2;DOWN;host-notify-by-email;DOWN
[1099385444] Caught SIGSEGV, shutting down...

Thanks

Wickus Botha


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click




More information about the Developers mailing list