<div style="DIRECTION: ltr">Hello!<br><br>I have some Nagios issue.<br><br>So I'am checking some web site if there is "state=0".<br>If I put this:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://86.116.97.247/sys/varaccess?lon.LekRC.Subsystem_1.LC0800.[1].nvoSwitch_1%23state&UID=root,PW=root" target="_blank">
https://86.116.97.247/sys/varaccess?lon.LekRC.Subsystem_1.LC0800.[1].nvoSwitch_1%23state&UID=root,PW=root</a><br><br> in IE get<br><br>lon.LekRC.Subsystem_1.LC0800.[1].nvoSwitch_1#state=0<br><br>as response and there you see my state=0.
<br><br>Problem is because if I look for "correct string " I get error that<br>string NOT found. But if I put "" (empty) for string I get OK status<br>from Nagios.<br><br>My current configuration is:<br>
<br>in command.cfg:<br><br>#'check_http_2' command definition<br> define command{<br>       command_name    check_http_2<br>       command_line    $USER1$/check_http -S -H $HOSTADDRESS$ -u $ARG1$ -s $ARG2$<br>       }
<br><br><br>in services.cfg<br><br>define service{<br> use high-win-service<br> host_name GXSIGX-KLIMA<br> service_description Http Check 2<br> contact_groups wan-admins<br> check_command check_http_2!"<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://86.116.97.247/sys/varaccess?lon.LekRC.Subsystem_1.LC0800.[1].nvoSwitch_1%23state&UID=root,PW=root" target="_blank">
https://86.116.97.247/sys/varaccess?lon.LekRC.Subsystem_1.LC0800.[1].nvoSwitch_1%23state&UID=root,PW=root</a>"!""<br> }<br><br><br>Thank you for your help!<br><br>Regards, Borut<br> </div>