Advanced http_check with post
Jens Hyllegaard
jens.hyllegaard at softdesign.dk
Fri Apr 23 11:05:52 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-lists.org/archive/users/attachments/20100423/315e0fe2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- 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