Cacti / plugin_routerconfigs

Router Config Plugin for Cacti
GNU General Public License v2.0
10 stars 6 forks source link

routerconfigs not running daily schedule for some devices since upgrading Cacti to 1.2.27 #131

Closed jdcoats closed 3 months ago

jdcoats commented 4 months ago

I upgraded Cacti to 1.2.27 on 5/7/2024 Since then I'm not getting the daily run emails. When I check the devices i see about half of them the next run date hasn't changed. Manual run works but still does not update the next run date. image The unaffected devices still backup on schedule but i no longer receive the report email. image

jdcoats commented 4 months ago

I manually updated the next run date for all of the affected devices like

UPDATE `plugin_routerconfigs_devices` SET `nextbackup` = '1715904000' WHERE `plugin_routerconfigs_devices`.`id` =245;
UPDATE `plugin_routerconfigs_devices` SET `nextbackup` = '1715904000' WHERE `plugin_routerconfigs_devices`.`id` =246;
UPDATE `plugin_routerconfigs_devices` SET `nextbackup` = '1715904000' WHERE `plugin_routerconfigs_devices`.`id` =247;
UPDATE `plugin_routerconfigs_devices` SET `nextbackup` = '1715904000' WHERE `plugin_routerconfigs_devices`.`id` =248;

and they still didn't backup yesterday. image

jdcoats commented 3 months ago

okay I figured this one out and it happens that on the same day I upgraded one of my voice gateways got in a stuck state where it was functional in all aspects but ssh. The ssh session would connect but just sit there never returning a prompt indefinitely. This would hang the routerconfigs at that device id and never complete. I had to kill all of the hung processes and disable that faulty device to get my scheduled runs to complete.

jdcoats commented 3 months ago

closing this one and opening new bug