Ad Widget

Collapse

How to change the default SLA

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RattleS
    Junior Member
    • Oct 2008
    • 4

    #1

    How to change the default SLA

    Hi everybody,

    I want my Zabbix to display the last months SLA at the "IT-Services" Page.
    I know that there is no Button or something which can be switched to display a other Time Period.
    Ive been reading the Forum and found a Post where someone configured some Files for displaying a other Time Period that the 7 days.

    Can someone please tell me where do i have to change some Files, so that 30 Days are displayed instead of 7? That would really help me out.

    I know that this is not supported in any way by Zabbix, but it would fit for my Needs!

    Thank you for your Replys =)

    RattleS
  • tighep
    Senior Member
    • Dec 2007
    • 124

    #2
    Sorry for the slow response, it's rather simple to change actually. In your srv_status.php file look at line 167, it should read " $period_start = $now=7*24*3600 " Change the 7 to 30 and it will give you a 30 day SLA. Make sure to update the locale file located in include/locales/?????.inc.php and modify the S_SLA_LAST_7_DAYS variable to reflect the change to 30 days.

    Comment

    • RattleS
      Junior Member
      • Oct 2008
      • 4

      #3
      Thank you very much for your help.
      Will this work directly from the Point when i change the srv_status.php file, so that it reflects even the Data collected before?
      Or do I have to wait until the 30 Days are complete from the Point of changing the srv_status.php File?

      I am asking, because it keeps telling me the same SLA Percentage before and after the Edit of the srv_status.php

      I hope you understand what i mean and sorry for my English.

      Greets,
      RattleS

      Comment

      Working...