[Nagiosplug-help] Using check_http with file to post

alexandre fedi alex94130 at hotmail.fr
Thu Apr 29 11:44:33 CEST 2010


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

 		 	   		  
_________________________________________________________________
Découvrez comment SURFER DISCRETEMENT sur un site de rencontres !
http://clk.atdmt.com/FRM/go/206608211/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100429/9aa57247/attachment.html>


More information about the Help mailing list