Ad Widget

Collapse

Change housekeeping range

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joanaribeiro_erre
    Junior Member
    • Jul 2020
    • 25

    #1

    Change housekeeping range

    Hello,

    i want my housekeeping to only run between 0-21h hours, i changed the range parameter:

    ### Option: HousekeepingFrequency
    # How often Zabbix will perform housekeeping procedure (in hours).
    # Housekeeping is removing outdated information from the database.
    # To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
    # hours of outdated information are deleted in one housekeeping cycle, for each item.
    # To lower load on server startup housekeeping is postponed for 30 minutes after server start.
    # With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
    # In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
    # period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
    #
    # Mandatory: no
    #Range: 0-21
    # Default:
    #HousekeepingFrequency=1


    But when i do this zabbix won't start.
    root@zabbix-server:/home/zabbix# systemctl restart zabbix-server
    Job for zabbix-server.service failed because the control process exited with error code.
    See "systemctl status zabbix-server.service" and "journalctl -xe" for details
    .

    Can anyone help me?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Range 0-24 means how often it runs, in hours... by default it is 1h interval. you cannot force it to run from 0-21.. Only in 1h or 2h or 3h etc...or even once a day, by setting it to 24.

    You have not shown any errors, so we cannot really say, why your server does not start... I suppose you wrote there 0-21 ? Well, that is not acceptable format, so you should fix it...

    Comment

    Working...