routerconfig plugin not running

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
lsouth
Posts: 8
Joined: Mon Mar 09, 2009 12:12 pm

routerconfig plugin not running

Post by lsouth »

I have the routerconfig plugin set to update devices daily (per device settings) but it will not run on a scheduled basis. I can successfully backup the devices manually and I can successfully run the 'router-redownload.php' from the CLI.

Any idea of where I should look to see why this is not running as designed?

Thanks
-L
cigamit
Developer
Posts: 3372
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Simple problem, which I have currently fixed, but an waiting until I am done with the new features before releasing (enable password support is working already too).

Basically there is a entry in the settings table that tells whether the backup is currently running. If the thing errors out, it never turns this off. So thus the next one never starts since it still thinks its running.

Try this SQL query

Code: Select all

UPDATE `settings` SET `value` = 0 WHERE `name` = 'plugin_routerconfigs_running';
lsouth
Posts: 8
Joined: Mon Mar 09, 2009 12:12 pm

Post by lsouth »

Query returned this

Code: Select all

Query OK, 0 rows affected (0.00 sec)
Rows matched: 1  Changed: 0  Warnings: 0

mysql> 
cigamit
Developer
Posts: 3372
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Now must wait and see if the backups run tonight.
lsouth
Posts: 8
Joined: Mon Mar 09, 2009 12:12 pm

Post by lsouth »

What time should they run?
cigamit
Developer
Posts: 3372
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Usually midnight (server time), but they may be running now as a "re-attempt". That's what mine usually did.
lsouth
Posts: 8
Joined: Mon Mar 09, 2009 12:12 pm

Post by lsouth »

well, the router-redownload.php ran shortly after I ran the sql query, but did not run again. Is there anything else I can try?

-L
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests