rancid@observium:/opt/observium/scripts$
php generate-rancid.php
2) Copy from Observium to DB file (Working fine)
php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/observium/router.db
3) run (working)
/var/lib/rancid/bin/rancid-run
0 5 * * * /var/lib/rancid/bin/rancid-run
#hourly router dump
50 23 * * * /usr/bin/find /var/lib/rancid/logs -type f -mtime +2 -exec rm {} \;
Dumping only Generate Config from old DB file, and there missing New switch added yesterday
What must all will be in CRONTAB for Automation Rancid?
Tomas Chott chott@praha1.net |
Metropolitní sí» Praha 1 z.s.p.o. |
The things you added to crontab aren't running the observium script. You need to put that into crontab :)
Adam.
Sent with AquaMail for Android
http://www.aqua-mail.com
On 6 August 2015 11:01:46 am "chott@praha1.net" <chott@praha1.net> wrote:
Hello team_______________________________________________
i have question about Automation of /opt/observium/scripts/generate-rancid.php
i have added this
0 5 * * * /var/lib/rancid/bin/rancid-run #hourly router dump 50 23 * * * /usr/bin/find /var/lib/rancid/logs -type f -mtime +2 -exec rm {} \;
Into Crontab, but yesterday we are add new switch but Rancid doesnt have in ROUTERS DB fileafter run manualy
/opt/observium/scripts/generate-rancid.php
new switch is now in rancid DB file
Tomas
Tomas Chott
technický ředitelchott@praha1.net
Phone: +420 245 004 005
Mobile: +420 604 930 119Metropolitní sí» Praha 1 z.s.p.o.
Jindrisska 18
110 00 Praha 1
Czech Republic
www.praha1.net
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium