Ad Widget

Collapse

How to use external scripts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • predatorz
    Senior Member
    • Mar 2007
    • 109

    #1

    How to use external scripts?

    Hi,

    Is there any place/site where i can find a tutorial on how to write external scripts for zabbix, for both monitoring & alert purposes and how to configure in zabbix?

    I used a external script but when zabbix tried to run the script it gives [Exec format error] in the zabbix logs.
    I ran the script as a zabbix user with no problems. Zabbix user is the owner for the script and the related files.
    How to i resolve the Exec format error issue?

    Thanks.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Make sure that ExternalScripts is set correctly in zabbix_server.conf.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • predatorz
      Senior Member
      • Mar 2007
      • 109

      #3
      My External Scripts should be set correctly.

      It is set to /etc/zabbix/scripts in the conf file.
      and my script is inside the above directory.

      Comment

      Working...