[Nagiosplug-devel] Re: [ nagiosplug-Bugs-1078682 ] broken in CVS - check_ping, _http, and more..]

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Dec 3 16:04:00 CET 2004


Dear Folks,

OK, as Mr Sivak points out, is 0 and therefore

 if ( process_arguments() == TRUE )

fails causing the plugin to fail with "Could not parse arguments".

Since OK seems used consistently to check the results of system calls 
etc, is return TRUE; the way to go ?

(FWIW, I fell into this with check_tcp.c; it has been modfied by having 
process_arguments() return TRUE).

Yours sincerely

-- 
Stanley Hopcroft

IP Australia
Ph: (02) 6283 3189  Fax: (02) 6281 1353
PO Box 200 Woden  ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
An embedded message was scrubbed...
From: "SourceForge.net" <noreply at sourceforge.net>
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1078682 ] broken in CVS - check_ping, _http, and more..
Date: Fri, 03 Dec 2004 15:17:21 -0800
Size: 6038
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20041203/6d4e342c/attachment.mht>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20041203/6d4e342c/attachment.txt>


More information about the Devel mailing list