CHECK_HTTP odd behaviour

Paul WILLIS PSE 55499 paul.willis at kent.pnn.police.uk
Thu Feb 18 12:04:28 CET 2010


Well I tried writing a wrapper script to see what check_http was actually receiving. The answer would appear to be absolutely nothing, in
fact check_http is never even getting called. Something in the parameters would appear to be causing nagios to throw an exception when
trying to make the call that is caught and  treated as a critical error with a null reply.
When I went through the -A parameter and escaped every non-standard character everything burst into life, the wrapper reported the correct
string and check_http reported the site as up. 
Clearly that whereas bash only needs $ and ` escaping within inverted commas nagios must have a larger list, including I would guess either the ; or the :
Thanks for the help
Paul Willis

-- 
This email and any accompanying document(s) contain information from Kent Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property of Kent Police and any unauthorised reproduction or disclosure is contrary to the provisions of the Copyright Designs and Patents Act 1998.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100218/29e38ad5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
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