<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<span id="result_box" class="long_text"><span style="" title="">My apologies,<br><br></span><span style="background-color: rgb(255, 255, 255);" title="">I found the solution by giving correct rights (chown nagios:nagios)  to the</span></span><span id="result_box" class="long_text"><span style="background-color: rgb(255, 255, 255);" title=""> Webinject</span></span><span id="result_box" class="long_text"><span style="background-color: rgb(255, 255, 255);" title=""> directory. It works perfectly now.</span><span style="background-color: rgb(255, 255, 255);" title=""><br><br>Regards,<br><br>Alexandre<br></span></span><br><hr id="stopSpelling">From: alex94130@hotmail.fr<br>To: nagiosplug-help@lists.sourceforge.net<br>Date: Fri, 17 Sep 2010 15:30:11 +0200<br>Subject: [Nagiosplug-help] Nagios - Problem with Webinject<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>


Hi,<br><br>I've got a problem with "Webinject" Addon for Nagios.<br><br><span id="ecxresult_box" class="ecxlong_text"><span style="background-color: rgb(255, 255, 255);" title="">So, i just want to test authentication on an intranet application.<br><br></span><span style="" title="">I configured everything correctly, and when I run the following command</span></span> : "./webinject.pl -c config-myapplication.xml testmyapplication.xml", <span id="ecxresult_box" class="ecxlong_text ecxshort_text"><span style="" title="">the result is following</span></span> :<br><br>WebInject OK - All tests passed successfully in 1.368 seconds |time=1.368;20;;0<br><br>Everything seems to be OK, but, when I configure the same test in Nagios, I have this result on the web interface : (Return code of 13 is out of bounds) <br><br>In nagios.log : [1284730251] Warning: Return code of 13 for check of service 'HTTP_SCENARIO' on host 'sp09400001' was out of bounds.<br><br>My commands file :<br><br>define command {<br>    command_name    check_webinject<br>    command_line    /usr/local/nagios/libexec/contrib/webinject/webinject.pl -c $ARG1$ $ARG2$<br>}<br><br>My service definition :<br><br>define service{<br>        use                             generic-service<br>        host_name                       sp09400001<br>        service_description             HTTP_SCENARIO<br>        check_command                   check_webinject!config-myapplication.xml!testmyapplication.xml<br>        }<br><br>Can somebody help me please ?<br><br>Thanks per Advance<br><br>Alexandre<br><br>                                      
<br>------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev<br>_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null                                    </body>
</html>