Ad Widget

Collapse

Itens collecting at the same time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gibbix
    Junior Member
    • Oct 2014
    • 2

    #1

    Itens collecting at the same time

    I've got an external check which returns me an information like:

    OK 1 0 1 4

    And each of this information is an item.

    Like:

    Plugin check : OK
    In use: 1
    Problems: 0
    ......

    But I'm executing the external check with a parameter like:

    check[{HOST.IP},1] - this returns me status.

    The only problem is that i need all this information collected at the same time.

    Is there a way I can collect all at the same time and then separe them as itens? Or force all the collects to be at the same item for a template? All the information is complementary, and I need them to be collected at the same time..

    Can anyone help?
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    How about using Zabbix trapper items?
    You could send multiple values in a bulk via Zabbix sender executed by your external check.
    The value returned by your external check could then possibly be replaced by a status/return code whether everything worked well.
    One could also think of executing the respective script that collects/sends the data by Cron instead by Zabbix.

    Comment

    • gibbix
      Junior Member
      • Oct 2014
      • 2

      #3
      Originally posted by BDiE8VNy
      How about using Zabbix trapper items?
      You could send multiple values in a bulk via Zabbix sender executed by your external check.
      The value returned by your external check could then possibly be replaced by a status/return code whether everything worked well.
      One could also think of executing the respective script that collects/sends the data by Cron instead by Zabbix.
      Good ideas, I liked the idea of sending it with zabbix_sender. It worked well, but I didn't want to be a "hostage" of zabbix agent. I would like to send/collect the information without having to install the agent on the host.

      Could u think another possibility of doing that?

      Comment

      • BDiE8VNy
        Senior Member
        • Apr 2010
        • 680

        #4
        As mentioned before by executing a custom script that collects the data and sends it to Zabbix server via Zabbix sender.
        When you even want to get rid of zabbix_sender, then take a look at the Zabbix sender protocol and feed it by yourself.

        Zabbix sender protocol

        Zabbix sender protocol implementation in Perl
        Zabbix sender protocol implementation in Ruby
        Zabbix sender protocol implementation in Java

        Comment

        Working...