Ad Widget

Collapse

Collecting Zabbix Data every week

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vwr32dbp
    Junior Member
    • Aug 2013
    • 6

    #1

    Collecting Zabbix Data every week

    Hey everyone, new to zabbix here.

    I have been tasked at my new job with pulling data from zabbix once every Friday from a group of servers for one of our applications. We are monitoring things such as CPU: User Time, Available Memory, and a few other small things having to do with filesystem space.

    Each hour, on the hour, we want to take a snapshot of these things, just like displayed in the graphs. We are only concerned about the average of that specific value for that specific hour. At the end of each week, we want to pull this data for each hour of the last week.

    For the last few weeks, I've just been going hour by hour in graph view and manually writing down the Avg given value for that hour and placing it in a spreadsheet. This takes well over 4 hours to do.

    I'm trying to read through the Zabbix manual and gain as much knowledge as fast as I can. I'm sure someone has asked this before but I couldn't find it.

    INFO:

    Zabbix is monitoring over 14 linux servers in this specific group. I'm only concerned about 3 of them.

    Zabbix version is 2.0

    Thanks in advance,

    T
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    I would use Zabbix API to get historical data and calculate average by myself (perl).

    See:
    Zabbix API
    Getting started with Zabbix API
    Zabbix API libraries

    Comment

    • BDiE8VNy
      Senior Member
      • Apr 2010
      • 680

      #3
      Anotgher example for using cURL:
      Curl-based examples of using Zabbix JSON RPC

      Comment

      Working...