Skip to main content

Hi, there,

I have several Pollers (Centreon 21.10).

I have modified a time period and I would like to know which Poller is affected by this modification. This is to avoid having to reload all Pollers.

Is there a way to do this?

Stéphane

Hello,

Not an optimal solution but you can use this command on your Central

grep -l -R TIMEPERIOD_NAME /var/cache/centreon/config/engine/*/timeperiods.cfg

#Output
/var/cache/centreon/config/engine/1/timeperiods.cfg
/var/cache/centreon/config/engine/2/timeperiods.cfg

It will give you the pollers’s ID configs where your timeperiod is present (/engine/ID_POLLER)

You can then now to which poller match the listed ID with this command

centreon -u admin -p PASSWORD -a POLLERLIST

 


Hi, there,
I'm sorry, but I've been working on a lot of things and didn't see this feedback.

I think this will do the trick.

Thank you very much


Reply