Ad Widget

Collapse

External Checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • welkin
    Senior Member
    • Mar 2007
    • 132

    #1

    External Checks

    I built a script which quieres a dns server for a certain Domain.
    I made a new Item with the type "External Check" with the key "dns.sh[]". The script is owned by the user Zabbix and is located in the "externalscripts" directory of Zabbix.
    So the Zabbix server should execute this script with just one parameter, which is the host IP where i added this Item to, right? Well it seems like Zabbix is trying to execute this Script on the remote host :
    3194:20071024:104951 Parameter [dns.sh[]] is not supported by agent on host ["somenameserver"] Old status [0]
    can anyone tell me why zabbix is doing that? Shouldn't it try to execute the script on the Server???

    mfg
    welkin
  • fableman
    Member
    • Oct 2007
    • 78

    #2
    same problem here.

    Comment

    • welkin
      Senior Member
      • Mar 2007
      • 132

      #3
      Is there just one other user who's expiring problems with external checks?

      mfg
      welkin

      Comment

      • fableman
        Member
        • Oct 2007
        • 78

        #4
        more have it iam sure. (maybee not soo many needs it)

        here is another topic..




        I have tons of special stuff i need monitoring using scripts on the zabbix server towards other IP connected hosts that cant run agents.

        Comment

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

          #5
          Well, we created a script with exactly the same name and the script worked perfectly with the latest pre 1.4.3 code. It seems that there is nothing to fix.

          For you information, the script looks like:

          Code:
          #!/bin/sh
          
          echo `date +%s`
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • fableman
            Member
            • Oct 2007
            • 78

            #6
            Originally posted by Alexei
            Well, we created a script with exactly the same name and the script worked perfectly with the latest pre 1.4.3 code. It seems that there is nothing to fix.

            For you information, the script looks like:

            Code:
            #!/bin/sh
            
            echo `date +%s`

            Still don't work for me!


            Zabbix version= zabbix-1.4-3.fc6


            text Script: (simple one cant fail!)

            #!/bin/sh

            echo 1





            ls -al /etc/zabbix/externalscripts

            drwxrwxrwx 2 root zabbix 4096 Nov 26 11:10 .
            drwxr-xr-x 3 root root 4096 Nov 26 10:31 ..
            -rwxrwxrwx 1 zabbix zabbix 19 Nov 26 11:09 externaltest





            vim /etc/zabbix/zabbix_server.conf

            # Location of external scripts
            ExternalScripts=/etc/zabbix/externalscripts/





            Item view:
            testexternal externaltest[] 10 90 365 External check Not supported External check [externaltest[]] is not supported



            log file:

            7119:20071126:110402 Parameter [externaltest[]] is not supported by agent on host [TEST HOST] Old status [0]


            Why dose it say External scripts not supported ?!?!!


            My rpm version of zabbix thats wrong ?? where to get the lastest ?!?!

            Comment

            • fableman
              Member
              • Oct 2007
              • 78

              #7
              ok the error is : Zabbix version = zabbix-1.4-3.fc6


              after I rpm -U zabbix-1.4.2-3.el5.i386.rpm

              its working..

              Soo version zabbix-1.4-3.fc6 is broken!

              Comment

              Working...