Ad Widget

Collapse

Calling a local script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phork
    Member
    • Nov 2006
    • 38

    #1

    Calling a local script

    Is there anyway to have an item call a script on the localhost and have the value of the return be used for a host's data?
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Zabbix Agent can use scripts/commands to collect data.

    See "UserParameter" item in zabbix_agentd.conf

    Comment

    • phork
      Member
      • Nov 2006
      • 38

      #3
      Yea, I know that. But what I want to do is run scripts from the zabbix server host,not the monitored hosts.

      I'm trying to run a script that takes a host as an argument, and runs a check on a db for that host. I want all of these db checks to be ran from a single script on the zabbix server host, but have the values be used for items on the monitored hosts.

      i.e. do a search for records containing X for host remote-123 and then use that return value for an item on remote-123.

      Comment

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

        #4
        This functionality will be supported in ZABBIX 1.4.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • phork
          Member
          • Nov 2006
          • 38

          #5
          Now that you mention it, is there any timeframe on 1.4? Also, will there be an upgrade path from 1.1.x -> 1.4?

          Comment

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

            #6
            ZABBIX 1.4 is scheduled for February 2007. Yes, there will be clear upgrade path to 1.4.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            Working...