CHECK_HTTP odd behaviour

Paul WILLIS PSE 55499 paul.willis at kent.pnn.police.uk
Thu Feb 18 15:40:21 CET 2010


Marc
It wasn't the command definition file. That was the same as the command I was using for running directly, ie
# 'check_eRhttp' command definition
define command{
        command_name    check_eRhttp
        command_line    $USER1$/check_http -p 8000 -H some.host.co.uk -u "/sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search?sap-wd-configId=ZUNREG_JOB_SEARCH&sap-ep-themeroot=/sap/public/bc/ur/customerthemes/sap_kp" -A "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9" -R fs_QE2_00I did away with passing parameters from the service as I originally thought that was the problem.
I have since had a quick play and can confirm it is indeed the semi colons. Leave them in and it goes critical / null status without calling the plugin. 
Escape them and it behaves 
 
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/7d0a4436/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