Ad Widget

Collapse

Bulk item transfer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dennisj
    Junior Member
    • Apr 2010
    • 24

    #1

    Bulk item transfer

    Is it possible to transfer multiple items in one go?
    What I'd like to do is create a mysql template that monitors and graphs a lot of values but measuring each value individually is extremely inefficient. If I wanted to measure 30 items then I'd have to log into mysql 30 times getting one item each time.
    What I'd rather like to do is grab all values in one go and then provide Zabbix with an array of keys and their values. Zabbix can then treat these as individual values.

    Is this possible?
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    Hi,

    Maybe this can help you: http://www.zabbix.com/wiki/howto/monitor/db/mysql/extensive_mysql_monitoring_including_replication

    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • jthakrar
      Member
      • Oct 2009
      • 43

      #3
      Yes, Zabbix has a very efficient & elegant mechanism to bulk-collect data and then pass it to the Zabbix server.

      For this you would use the command zabbix_sender.

      You would use it as follows:

      zabbix_sender -z <zabbix-server-host> -i <file-with-bulk-collected-data>

      The file <file-with-bulk-collected-data> needs to contain the data in the following format:

      <zabbix-host-name> <item-name> <item-value>

      I believe with 1.8.2 or 1.8.3, the command can also read data values from standard input in addition to reading it from a file.

      HTH

      Comment

      • dennisj
        Junior Member
        • Apr 2010
        • 24

        #4
        Thanks for the pointer!

        I also filed a request for improvement to make zabbix_sender use the default hostname if the hostname in the input-file is "-". That should make the parsing of /etc/zabbix/zabbix_agentd.conf that some user-scripts do unnecessary:

        Comment

        Working...