We are holding Nagios XI 5.7.3 version. As per new requirement we are trying to enable the URL monitoring using Web Transaction.
However, after trying to enable multiple web URL which are under different host all were displaying the same error message "CRITICAL - Socket timeout" for host and for service we are observing "WebInject CRITICAL - Test case number 1 failed". But, when we tried to enable the same URL monitoring using HTTP service alert is working as expected.
Below is the testdata.xml file.
Code: Select all
<testcases repeat="1">
<case
id="1"
url="http://10.173.15.173:80/Treasury/"
/>
</testcases>
Code: Select all
<testcasefile>AGASPWINVT0416__Web_Transaction_testdata.xml</testcasefile>
<useragent>WebInject Application Tester</useragent>
<timeout>10</timeout>
<globaltimeout>30</globaltimeout>
<reporttype>nagios</reporttype>/usr/local/nagiosxi/etc/components/webinject
Version=1.41