Ad Widget

Collapse

Availability Report about the amount time of maintenance of host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dzapata
    Junior Member
    • Apr 2012
    • 17

    #1

    Availability Report about the amount time of maintenance of host

    hi everybody,

    I'm learning about zabbix, It's a great monitoring software. I write because i have a problem related with the maintenance period, specifically i would like to know the amount time that a host was in maintenance. I need for my availability report the amount time for uptime, downtime and maintenance for a host. I modified the events.php file (you can see the screenshot attachment) and I added at the bottom of the page the amount of time for the downtime and uptime. I don't know if is possible to identify in those events which corresponds to maintenance. I'm using the trigger "the host is unreachable" for my report. Can I to know with this trigger If the host was in maintenance?

    Thank you for all the help!!!

    Regards!!!
    Attached Files
  • bassualdo
    Junior Member
    • May 2012
    • 9

    #2
    Será que você podia me explicar como fez aquela alteração no events.php para que ele calcule o total de tempo up e down? Eu preciso contabilizar o tempo que os meus circuitos ficam down para verificar o SLA. Porém tenho que contabilizar apenas o periodo compreendido entre a abertura de chamado para reparo e seu encerramento.

    Comment

    • dzapata
      Junior Member
      • Apr 2012
      • 17

      #3
      What version of zabbix are you using?

      Hi,

      I comment you that I couldn´t adjust the events.php file to calculate the amount of time in maintenance, only the uptime and downtime ...

      What version of zabbix are you using?

      I have the events.php modified file for zabbix 1.8.11 and zabbix 2.0.2 ...

      Regards!!!!

      Comment

      • bassualdo
        Junior Member
        • May 2012
        • 9

        #4
        i am using version 2.0

        Comment

        • dzapata
          Junior Member
          • Apr 2012
          • 17

          #5
          Copy this files

          Hello,

          I have to modify two files because the application uses the letter "m" to represents the minutes and the months, and is ambiguous to calculate and reading ... replace the events.php file into de website of zabbix, and the func.inc.php file into the include directory.

          Note: I don´t considered the unknown state, only the OK and Error states ...

          I hope that It works for you.

          Regards
          Attached Files

          Comment

          Working...