Ad Widget

Collapse

Monitoring a url

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattlf
    Junior Member
    • Feb 2010
    • 8

    #1

    Monitoring a url

    Hi

    I am new to zabbix and would like to know if it is possible to do the following

    Every X minutes, I want to curl the following url

    'http://myservice?server=http://serverUrl' (I have to url encode http://serverUrl)

    this will return some json. either {'name':'htt://serverUrl', 'status':'active'} or {'name':'htt://serverUrl', 'status':'fail'}

    When status=fail, zabbix would send me an email.

    If this is possible, I would appreciate any tip on how to do it.

    Is the section in the manual: Web Monitoring / Real Life Scenario ... the way to go? If yes then I was unable to get it to work and would appreciate any help

    Thank you !
Working...