Ad Widget

Collapse

External check "is not supported by agent" ??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Martin Strand
    Junior Member
    • Mar 2008
    • 5

    #1

    External check "is not supported by agent" ??

    Hi all.
    I'm trying to get an external check working with Zabbix 1.4.4 but the server log keeps saying:
    Parameter [check.ntp] is not supported by agent on host
    which is rather surprising, since the agent isn't supposed to be involved at all. I checked the external script but its atime hasn't changed so it appears the server doesn't even understand that this is supposed to be an external check. Everything is configured correctly as far as I can see, is this a known bug in 1.4.4 or have I completely misunderstood how external checks work?


    Code:
    09:~# grep External /etc/zabbix/zabbix_server.conf
    ExternalScripts=/etc/zabbix/externalscripts/
    09:~# ll --time=atime /etc/zabbix/externalscripts/
    total 8
    -rwxr-xr-x 1 root root  66 Mar 18 02:16 check.ntp
    Thanks,
    Martin
    Attached Files
  • Gwenaelle
    Junior Member
    • Feb 2008
    • 7

    #2
    I've never used External checks but as I was reading the manual I've found :
    Syntax of item’s key:
    script[parameters]
    script – name of the script.
    parameters – list of command line parameters.
    Have you tried to write the key value like that :
    Code:
    check.ntp[]

    Comment

    • Martin Strand
      Junior Member
      • Mar 2008
      • 5

      #3
      Yep, I added the brackets and now it works great. Thanks!

      Comment

      Working...