Ad Widget

Collapse

How to Configure Zabbix for external scripts/checks?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nandu
    Junior Member
    • Aug 2007
    • 3

    #1

    How to Configure Zabbix for external scripts/checks?

    Hello,

    I am using Zabbix 1.4.2 and I want to do an external check using a script I wrote. I have created a scripts directory where I have put this script. I modified the zabbix_server.conf and specified this directory as the value for the "ExternalScripts" variable and restarted the zabbix server.

    Now, what additional configuration should I do on the web client in order to see the effects of running this script? i.e. Should I define an "Action" or "Trigger" or both?

    I don't see any status info on the web page right now for this script.

    Thanks,
    Nandu
  • Ilya_Nikitin
    Junior Member
    • Aug 2007
    • 1

    #2
    Originally posted by nandu
    Hello,

    I am using Zabbix 1.4.2 and I want to do an external check using a script I wrote. I have created a scripts directory where I have put this script. I modified the zabbix_server.conf and specified this directory as the value for the "ExternalScripts" variable and restarted the zabbix server.

    Now, what additional configuration should I do on the web client in order to see the effects of running this script? i.e. Should I define an "Action" or "Trigger" or both?

    I don't see any status info on the web page right now for this script.

    Thanks,
    Nandu
    Of cause you have to define All the parameters manually

    Comment

    • rts
      Member
      • May 2007
      • 54

      #3
      If you're looking essentially for a script to be executed when a trigger reports a problem, then have a look at the example on the Wiki: http://zabbix.com/wiki/doku.php?id=howto:smsapi Obviously you'd need to write your own script (which you've done), but it shows how to integrate it.

      Perhaps you can update the wiki with your own experiences?

      Comment

      Working...