Right

but if i start manualy procedure by http://www.observium.org/docs/rancid/

1)  Run Generate DB from Observium to DB file (Work fine)
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


But this working only for manual start, if add New switch into observium, CRONTAB with
 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?


email-header-praha1


Tomas Chott
technický ředitel

chott@praha1.net
Phone: +420 245 004 005
Mobile: +420 604 930 119

Metropolitní sí» Praha 1 z.s.p.o.
Jindrisska 18
110 00 Praha 1
Czech Republic
www.praha1.net

Popis: Facebook


Od: observium [observium-bounces@observium.org] za uľivatele Adam Armstrong [adama@memetic.org]
Odesláno: 6. srpna 2015 12:04
Komu: Observium Network Observation System
Předmět: Re: [Observium] RANCID Script

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 file

after run manualy /opt/observium/scripts/generate-rancid.php

new switch is now in rancid DB file

Tomas



email-header-praha1


Tomas Chott
technický ředitel

chott@praha1.net
Phone: +420 245 004 005
Mobile: +420 604 930 119

Metropolitní sí» Praha 1 z.s.p.o.
Jindrisska 18
110 00 Praha 1
Czech Republic
www.praha1.net

Popis: Facebook

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium