Ad Widget

Collapse

Output data collected to a file - possible?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lukeiam
    Member
    • Sep 2012
    • 38

    #1

    Output data collected to a file - possible?

    Hello

    I want to set up a webpage for end users that do not have access to Zabbix.
    On this page, I would like to post current load, cpu usage, memory, disk io, etc.
    To make this easier for now, I want to focus on cpu load per min.

    Let's say I have Server A and Server B. A is a production machine and B is the monitoring Zabbix. I would like Zabbix to output the data that it collected for cpu load from A to a file on B, not just it's database. This way I can grab the data from the file using script and create a webpage on B.

    Result?

    If load is poor, I will get notification from Zabbix which is already in place and working. However, end users call me as they do not know that.
    I would like to set the webpage with load colors like green ok, yellow busy, orange poor, red critical. This way if an issue arises, end users can check the website before calling me. My goal is to minimize calls, to which i reply "i know about the issue". All end users said that this way they would know if I am aware about the problem and they wouldn't call me to verify.

    Won't solve all my calls, but some repetitive ones

    Ideas?

    Regards,

    Luke
  • lukeiam
    Member
    • Sep 2012
    • 38

    #2
    Any one?

    Comment

    • eskytthe
      Senior Member
      Zabbix Certified Specialist
      • May 2011
      • 363

      #3
      Well not what you asked for, but maybe...

      Br
      Erik

      Comment

      • neilb
        Member
        • Jan 2013
        • 33

        #4
        how about defining a bunch of graphs for each metric and the adding those graphs to a defined screen.

        the users can then connect as readonly to zabbix front end, and display thus -Also add the graphs /screens to their favourites for easier access.

        Comment

        • lukeiam
          Member
          • Sep 2012
          • 38

          #5
          Front end?

          Does zabbix have a front end set up page?

          Regards,

          Luke

          Comment

          • BDiE8VNy
            Senior Member
            • Apr 2010
            • 680

            #6
            Why not using the API to gather the desired data directly by your new webpage?
            Take a look at:
            PhpZabbixApi
            API :: item.get

            Of course one can first gather the the data via the API with a shell- or perl-script as well:
            Getting started with Zabbix API

            Edit:
            seen only now that lukeiam already has pointed in the same direction :-)
            Last edited by BDiE8VNy; 10-03-2013, 11:33.

            Comment

            Working...