[Nagiosplug-help] Using check_http with file to post
Jens Hyllegaard
jens.hyllegaard at softdesign.dk
Thu Apr 29 11:20:17 CEST 2010
Hi.
I want to do a check of a webservice we have. I need to post a xml file and analyze the result. I have managed to set all the parameters correctly, but I'm having trouble with posting the xml part. The biggest problem is that I need to have either newline or CR in the data that I send. And Check_Http only allows me to use a string, and it does not parse it, so \n won't work. I have thought about piping the data into the command, but have not managed to get that to work either.
Does anybody have an idea on how to do this?
Regards
Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100429/82637e8c/attachment.html>
More information about the Help
mailing list