Uninett / zino

Zino 2.0 - Network state monitor for research networks
Apache License 2.0
4 stars 5 forks source link

Updating default interval in polldevs does not re-schedule tasks #330

Closed runborg closed 3 months ago

runborg commented 3 months ago

after a change of default interval in polldevs the jobs are not re-scheduled by the new interval specified. (This might also be the case for interval statement on a device, i have not tested that yet) the new interval will only be used after a complete reinitialization of zino

this can be observed by looking at the Running job "...... messages and noting the interval[x:xx:xx] stamps Then change default interval in polldevs and take a new look in the log.

on a reread of config, are collection jobs for the affected nodes re-initiated correctly?

runborg commented 3 months ago

as @johannaengland found out, this issue have a bigger severity than first noted. The functions that re-read the config file does only look for added or deleted devices, and not changed devices. so as of now, there are no updates applied when a device config is changed in the polldev file.