Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • Enterprise Edition
    • Scripts

    Description

      Observium V24.1.13242 (stable)

      Hi, We have 6 pollers (1 main + 5 slaves)

      DB are in the main poller (poller_id 4).

      in DB, poller are numbered 4,6,7,8,9,10.

      in the installed observium version, housekeeping filter on the poller_id (value 0 for the main).

      So the housekeeping cannot works because our main poller is 4 not 0.

      i checked previous version of housekeeping.php and it seems that this test appeared recently.

      I would like to know how to solve this issue :

      • do i need to modify the poller_id test in the housekeeping.php file ? (but on next update, it will be replaced : not the solution)
      • do i need to change the poller_id value in DB ? not sure that it's the good solution
      • do you plan to add a parameter in housekeeping.php to pass the main poller_id value ?
      • is their a hidden script that permits to change the poller_id value in DB ?

       

      Thanks for your answer

      Attachments

        Activity

          [OBS-4814] housekeeping doesn't cleanup

          This is not bug, housekeeping should be run only on main poller.
          And main poller should be 0 (really without any poller configs, like poller_id or poller_name).

          Not sure if that was you in Discord (with same question),
          but in latest revisions (r13505) was added option for force run housekeeping on any poller:

          housekeeping.php -f <other options>
          

          Change your crontab entries, just add -f command option, but still on main poller only.

          landy Mike Stupalov added a comment - This is not bug, housekeeping should be run only on main poller. And main poller should be 0 (really without any poller configs, like poller_id or poller_name). Not sure if that was you in Discord (with same question), but in latest revisions (r13505) was added option for force run housekeeping on any poller: housekeeping.php -f <other options> Change your crontab entries, just add -f command option, but still on main poller only.

          no answer ?

          FredL45 Frederic LAVIGNE added a comment - no answer ?

          People

            landy Mike Stupalov
            FredL45 Frederic LAVIGNE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: