[Pkg-nagios-devel] Bug#406172: submit_check_result_via_nsca incorrect according to the Nagios Documentation

Bruce McIntyre bruce at qualica.com
Tue Jan 9 10:10:13 CET 2007


Package: nagios-common
Version: 2:1.3-cvs.20050402-2.sarge.2

Looking at the code for the 
/usr/lib/nagios/plugins/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 
command, it shows that the check status is passed incorrectly to NSCA as 
either "OK, WARNING, CRITICAL, or UNKNOWN".

According to the documentation included with Nagios, these error codes 
should be "0, 1, 2 or -1"

Looks like you guys are including a really old version of this check:

#!/bin/sh

# SUBMIT_CHECK_RESULT_VIA_NSCA
# Written by Ethan Galstad (nagios at nagios.org)
# Last Modified: 02-19-2004
#


-- 
Bruce McIntyre <bruce at qualica.com>
Tel:    +27 11 731 1700
Fax:    +27 11 327 6052
Mobile:    +27 83 265 0918
Qualica Technologies (Pty) Ltd
web: http://www.qualica.com/




More information about the Pkg-nagios-devel mailing list