That will run the script every minute from 3:00 until 3:59. You may want to specify a minute in the first field.
Other than that, it looks fine :)
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 29 September 2015 03:21:51 Robbie Wright robbie@siuslawbroadband.com wrote:
Anyone else have any insight into how the Observium script generates router.db for devices other than Mikrotik?
Also trying to setup a cron job to regenerate the router.db file. Does this look about right to kick the script off every morning at 3am?
- 3 * * * php /opt/observium/scripts/generate-rancid.php >
/var/lib/rancid/observium/router.db
Robbie Wright Siuslaw Broadband https://siuslawbroadband.com 541-902-5101
On Fri, Sep 25, 2015 at 4:20 PM, Robbie Wright robbie@siuslawbroadband.com wrote:
Correct, I would lean towards this being more of a rancid issue that Observium, but I'm struggling with the routerdb file since it is created by the Observium script and it only includes our Mikrotik devices. Not sure out to get the Observium script to add more devices than just the MT's to it.
Robbie Wright Siuslaw Broadband https://siuslawbroadband.com 541-902-5101
On Fri, Sep 25, 2015 at 10:20 AM, Derek dandenoth@gmail.com wrote:
Oh yeah, Vyatta support isn't there out of the box with rancid, so you should pay a visit to https://bitbucket.org/aquerubin/rancid-vyatta to get the needed files.
On Fri, Sep 25, 2015 at 12:14 PM, Derek dandenoth@gmail.com wrote:
This is probably more of a RANCID question than an Observium one. Once you get your configs back from Rancid, Observium just looks for the host name and matches that. In rancid, you'll add the device to your router.db file, like "routeros.domain.com:vyatta:up". You'll have a "vlogin" file which will do the work of connecting and pulling the config, and if they have different credentials then other vendor gear, specify it in your .cloginrc file.
Derek
On Thu, Sep 24, 2015 at 4:35 PM, Robbie Wright < robbie@siuslawbroadband.com> wrote:
So we've got rancid integration working (thanks Adam and others) in Observium for all of our Mikrotik devices and it is working great. We've got a few Ubiquiti EdgeRouters (based on Vyatta) that we'd like to get hooked up with rancid as well, but the Observium integration confuses me a bit.
Do we edit the cloginrc file with the info for how to log into EdgeRouters? I would have assumed we would normally use a different group to tell rancid how to pull config's but everything is just in the Observium group. How does everyone setup rancid to pull down more than one equipment manufacturer's gear? Has anyone pulled config's through rancid into Observium from EdgeRouters?
Robbie Wright Siuslaw Broadband https://siuslawbroadband.com 541-902-5101
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium