Ad Widget

Collapse

Firing a standalone script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nmattox
    Junior Member
    • May 2009
    • 5

    #1

    Firing a standalone script

    I'm a Zabbix newbie. What I want to do is (seemingly) very simple: Execute a shell script. The script is located on the Zabbix host, in the ExternalScripts directory. The type is "External check", and the key form is: <scriptname:sh[], with nothing in the square brackets.
    It's status is "active", however it's not being executed.
    What did I do wrong?
    Thanks.
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Are permissions fine (including all path components) ?

    How do you now it isn't executed ? What if inside the script you try "date >> /tmp/mylog" ?

    Comment

    • nmattox
      Junior Member
      • May 2009
      • 5

      #3
      Thank you for the suggestions. Permissions did turn out to be an issue on one of the files being written to. The script is working fine now. Thanks again.

      Comment

      Working...