When i run manually the plugin, it looks OK :
Code: Select all
# su - nagios -c "/usr/lib/nagios/plugins/webinject.pl -c gsm.xml"
# WebInject OK - All tests passed successfully in 1.28 seconds |time=1.28;6;;0I modified the reporttype to get more informations but it looks ok too :
Code: Select all
# su - nagios -c "/usr/lib/nagios/plugins/webinject.pl -c gsm.xml"
Starting WebInject Engine...
-------------------------------------------------------
Test: gsm_test.xml - 1
GSM / Initialisation
Passed HTTP Response Code Verification (not in error range)
TEST CASE PASSED
Response Time = 0.208 sec
-------------------------------------------------------
Test: gsm_test.xml - 2
GSM 2 / Authentification
Passed HTTP Response Code Verification (not in error range)
TEST CASE PASSED
Response Time = 0.026 sec
-------------------------------------------------------
Test: gsm_test.xml - 3
GSM 3 / Test de retour de valeur
Verify : "My Account"
Passed Positive Verification
Passed HTTP Response Code Verification (not in error range)
TEST CASE PASSED
Response Time = 0.742 sec
-------------------------------------------------------
Test: gsm_test.xml - 4
GSM 4 / Logout
Passed HTTP Response Code Verification (not in error range)
TEST CASE PASSED
Response Time = 0.027 sec
-------------------------------------------------------
Start Time: Tue Jan 17 09:53:55 2012
Total Run Time: 1.205 seconds
Test Cases Run: 4
Test Cases Passed: 4
Test Cases Failed: 0
Verifications Passed: 5
Verifications Failed: 0