Thanks Adam and Tom. I'll hack around with both of those things later this week.


Robbie Wright
541-902-5101

On Wed, Sep 30, 2015 at 2:02 AM, Adam Armstrong <adama@observium.org> wrote:

Hi,

There is a config variable which maps Observium os field values to rancid's os string.

You just need to add new values to that.

It should be easy to find grepping rancid out of the defaults.inc.php :)

You can add extra values to the array in your config.php.

Adam.

Sent with AquaMail for Android
http://www.aqua-mail.com

On 29 September 2015 20:11:45 Robbie Wright <robbie@siuslawbroadband.com> wrote:

Thanks Adam, I caught that right after I sent the email too.

Any insight into how the Observium script generates the router.db file? Right now, it is only populated with our Mikrotik gear. How do we get the Observium script to add in some of our Cisco equipment and others?


On Mon, Sep 28, 2015 at 5:37 PM, Adam Armstrong <adama@observium.org> wrote:

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


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.


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?

_______________________________________________
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


_______________________________________________
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