Ad Widget

Collapse

Zabbix User Paramter script for url test

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ankkit_k
    Junior Member
    • Mar 2017
    • 6

    #1

    Zabbix User Paramter script for url test

    Hello,

    I have a script which till make a connection to a url and gives the output 1 if successful else it will give output 0.

    When I run the script from the server which has zabbix agent, I get output 1. But, when I run the script from zabbix server, I get output 0.
    Surprisingly, on checking wireshark for both connections, I can see 200 OK response.

    I have attached the script and the wireshark output.

    Thank you in advance.
    Attached Files
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    Hello !

    maybe you can go the easy way -
    zabbix has built in web checking capabilities out of the box.



    Best regards
    Kaspars

    Comment

    • ankkit_k
      Junior Member
      • Mar 2017
      • 6

      #3
      Hello Kaspars,

      Thank you for your reply. We want the zabbix agent to monitor the website using the script defined in the user paramter of zabbix_agent.conf


      Thanks.

      Comment

      Working...