Ad Widget

Collapse

Call a URL from an action

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Monkey
    Junior Member
    • Mar 2010
    • 1

    #1

    Call a URL from an action

    I have a few informational triggers that I want to perform an action on. I want these actions to call a simple web page - and pass in some information as URL parameters if I need to.

    Right now I have:
    {HOSTNAME}:wget http://example.org/script.php?IP={IPADDRESS}

    This doesn't seem to be working. My thought is because of the {HOSTNAME} - since I am not running an agent on the machines triggering this alert. I really want the Zabbix server to call the URL listed. Can someone point me in the right direction?
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    if you want zabbix server to run the command, just use custom alert script (administration -> media types)
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...