Wanted to check with everyone to make sure its not builtin or I'm missing something simple before I create my own script. Any way to automatically create the config to backup Cisco, Mikrotik and other devices through rancid? We have rancid setup for Cisco currently and want to start backing up our Mikrotik and Ubiquiti routers.
Thanks Travis
The script exists.
/opt/observium/scripts/generate-rancid.php
The only Observium feature I would like to see added is an option to specifically disable inclusion in the output. I have a second script that removes out hosts that are not rancid compatible.
Kevin
From: observium observium-bounces@observium.org On Behalf Of Travis Garrison Sent: Monday, April 2, 2018 9:40 AM To: Observium observium@observium.org Subject: [Observium] Rancid for different devices
Wanted to check with everyone to make sure its not builtin or I'm missing something simple before I create my own script. Any way to automatically create the config to backup Cisco, Mikrotik and other devices through rancid? We have rancid setup for Cisco currently and want to start backing up our Mikrotik and Ubiquiti routers.
Thanks Travis
Yeah, I have used that script. Trying to get .cloginrc to work across different vendors. I saw documentation on creating difference .cloginrc files but I would have to change the rancid groups to support that.
Thanks Travis
From: observium observium-bounces@observium.org On Behalf Of Kevin Blumberg Sent: Monday, April 2, 2018 11:31 AM To: Observium observium@observium.org Subject: Re: [Observium] Rancid for different devices
The script exists.
/opt/observium/scripts/generate-rancid.php
The only Observium feature I would like to see added is an option to specifically disable inclusion in the output. I have a second script that removes out hosts that are not rancid compatible.
Kevin
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Travis Garrison Sent: Monday, April 2, 2018 9:40 AM To: Observium <observium@observium.orgmailto:observium@observium.org> Subject: [Observium] Rancid for different devices
Wanted to check with everyone to make sure its not builtin or I'm missing something simple before I create my own script. Any way to automatically create the config to backup Cisco, Mikrotik and other devices through rancid? We have rancid setup for Cisco currently and want to start backing up our Mikrotik and Ubiquiti routers.
Thanks Travis
Travis,
https://dynstatic.net/2014/10/23/observium-professional-edition-rancid-integ... https://dynstatic.net/2014/10/23/observium-professional-edition-rancid-integration/
You can break the .cloginrc up, for example
cat .cloginrc add identity * /var/lib/rancid/.ssh/id_dsa add method * ssh {ssh:22} telnet include .cloginrc-routeros include .cloginrc-airos include .cloginrc-procure include .cloginrc-ios include .cloginrc-allied
-rw------- 1 rancid rancid 200 Aug 8 2017 .cloginrc -rw------- 1 rancid rancid 5234 Apr 5 04:00 .cloginrc-airos -rw------- 1 rancid rancid 293 Apr 5 04:00 .cloginrc-allied -rw------- 1 rancid rancid 6151 Apr 5 04:00 .cloginrc-ios -rw------- 1 rancid rancid 8041 Apr 5 04:00 .cloginrc-procure -rw------- 1 rancid rancid 32630 Apr 5 04:00 .cloginrc-routeros
Justin
On Apr 2, 2018, at 9:40 AM, Travis Garrison travis@netviscom.com wrote:
Wanted to check with everyone to make sure its not builtin or I’m missing something simple before I create my own script. Any way to automatically create the config to backup Cisco, Mikrotik and other devices through rancid? We have rancid setup for Cisco currently and want to start backing up our Mikrotik and Ubiquiti routers.
Thanks Travis _______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Justin Miller
-
Kevin Blumberg
-
Travis Garrison