Ad Widget

Collapse

Housekeeping

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hmeftah
    Junior Member
    • Mar 2013
    • 10

    #1

    Housekeeping

    Hi All,
    How to run the Housekeeping facilities in Zabbix 2.0.5?
    I've changed the parameter in the server config file but I can't seen any messages in the server log file (Debug = 4). Is there a SQL script available somewhere?
    Thanks
    H-
  • nick0909
    Member
    • Apr 2013
    • 73

    #2
    In my zabbix_server.log I get entries when it runs. It is just using the default settings as far as I know. I haven't set up any special script.

    Code:
    #cat /var/log/zabbix-server/zabbix_server.log | grep house
    1236:20130412:101659.174 executing housekeeper
      1236:20130412:101700.720 housekeeper deleted: 11185 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions
    I am currently on 2.0.2.
    Last edited by nick0909; 12-04-2013, 20:00. Reason: more info

    Comment

    • Heilig
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Mar 2013
      • 366

      #3
      Line "executing housekeeper" in the zabbix server log file exist (should appear at startup)?
      This is the main sign that housekeeper works.

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        You can also see it running on this graph. This is part of "Zabbix App Server" template:
        Attached Files

        Comment

        • Heilig
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Mar 2013
          • 366

          #5
          tchjts1, we are not looking for easy ways.

          Comment

          • tchjts1
            Senior Member
            • May 2008
            • 1605

            #6
            Originally posted by Heilig
            tchjts1, we are not looking for easy ways.
            Don't worry... there are plenty of potholes in the road ahead.

            By the way, there is only one setting that I know of where housekeeper can be disabled, and that is in zabbix_server.conf on your Zabbix App server. The default is for housekeeper to run.

            Code:
            ### Option: DisableHousekeeping
            #       If set to 1, disables housekeeping.
            #
            # Mandatory: no
            # Range: 0-1
            # Default:
            # DisableHousekeeping=0
            There are 2 other settings regarding Housekeeper settings in that conf file as well... HousekeepingFrequency and MaxHousekeeperDelete. However, I would leave these at the defaults unless you know what you are doing.

            The only other setting regarding Housekeeper is in the frontend GUI at Administration --> General and then select "Housekeeper" from the dropdown at the top right.
            Last edited by tchjts1; 16-04-2013, 22:24.

            Comment

            Working...