[Nagiosplug-help] Using check_http with file to post
Jens Hyllegaard
jens.hyllegaard at softdesign.dk
Mon May 3 15:13:29 CEST 2010
Hi.
It appears that webinject is just what I need. Thanks for your hint.
Regards
Jens
From: alexandre fedi [mailto:alex94130 at hotmail.fr]
Sent: 29. april 2010 11:45
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] Using check_http with file to post
Hi Jens,
I don't know if this wiil answer your question, but for check of a webservice, I found this program that was working with Nagios (successfully tested) :
http://www.webinject.org/plugin.html
Good luck.
Regards,
Alexandre Fedi
________________________________
From: jens.hyllegaard at softdesign.dk
To: nagiosplug-help at lists.sourceforge.net
Date: Thu, 29 Apr 2010 11:20:17 +0200
Subject: [Nagiosplug-help] Using check_http with file to post
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
________________________________
Envie de naviguer sur Internet sans laisser de trace? La solution avec Internet Explorer 8<http://clk.atdmt.com/FRM/go/207186970/direct/01/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100503/4114ef32/attachment.html>
More information about the Help
mailing list