Ad Widget

Collapse

Web Page monitoring, how to check a check box is checked

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mellis
    Senior Member
    • Oct 2017
    • 145

    #1

    Web Page monitoring, how to check a check box is checked

    I am trying to monitor a check box on a web page to see if it is checked.

    I am running a Zabbix 4.4 and monitoring a IIS server. On the web page I am going to there is a check box that I need to alert on if it is blank.

    Attached is a screen shot of the check mark
    Attached Files
  • mellis
    Senior Member
    • Oct 2017
    • 145

    #2
    OK i have an update on this question,,,, I found that i could capture the complete html code for the web page using the HTTP Agent get the data as RAW data. Then I can trigger on a <item>str(checked="checked")}=0, This works good,,, but now i would like to do some preprocessing so i do not return the complete web page, we have ~40 proxies and this item need to be deployed to about half of these,,, would be nice to low the network load and database overhead. Attached is the html text from the HTTP Agent, at line 441 is the line that has the check box.

    So the help now is how to get the preprocessing to only return that one line. I tried to only return the string 'str(checked="checked")}=0' not sure it really works like i expect.

    Thanks

    Attached Files

    Comment

    Working...