Derek,

The Observium script isn't that smart ;-) It just writes out a router.db based on its database. We default to RANCID v2 's : as separator, RANCID v3 changes this to ; (why?!)

Tom

On 30/08/2016 22:32, Derek wrote:
Did you update your actual router.db file to use semicolons? The Observium script may be hitting an error because it's expecting a semicolon because you have a newer version, but your router.db is still using colons.

On Tue, Aug 30, 2016 at 3:18 PM, Tom Laermans <tom.laermans@powersource.cx> wrote:
Robbie,

Looks like you upgraded your RANCID install then?

You can change to ; in the Observium configuration, but this was not caused by an Observium upgrade.

Tom


On 30/08/2016 21:55, Robbie Wright wrote:
# RANCID router.db autogenerated by /opt/observium/scripts/generate-rancid.php
# Do not edit this file directly!

bbc-gw1.tld.net:mikrotik:up
bc-gw1.tld.net:mikrotik:up
etc, etc

We've got maybe 30 devices in that have been pulling down configs perfectly until recently. Google isn't too much help but did find a few things with people having a hard time with the colon in router.db and rancid expecting it to be a semi-colon instead. Not sure if if a rancid update changed that, but if it did, I'd expect a lot more people to be having issue besides us. Thanks Adam.


On Tue, Aug 30, 2016 at 12:47 PM, Adam Armstrong <adama@memetic.org> wrote:

What /is/ in the router.db?

Adam.

Sent from BlueMail

On 30 Aug 2016, at 14:39, Robbie Wright <robbie@siuslawbroadband.com> wrote:
Just wanted to throw this out there again. It looks like the /opt/observium/scripts/generate-rancid.php script is creating a router.db that rancid doesn't like. Which we're running 3.3. Any seen issues after the recent upgrade, throwing these errors in the log?

property 'svn:ignore' set on '.'
property 'svn:ignore' set on 'configs'
Updating '.':
At revision 521.
WARNING: Have you forgotten to update the FS in router.db?


On Fri, Aug 26, 2016 at 6:57 AM, Robbie Wright <robbie@siuslawbroadband.com> wrote:
I don't disagree Adam. Just trying to figure out how an observium update could do that. I'm by no means a rancid expert, but this is the error in /var/log/rancid/observium*

starting: Fri Aug 26 00:00:01 PDT 2016

property 'svn:ignore' set on '.'
property 'svn:ignore' set on 'configs'
Updating '.':
At revision 521.
WARNING: Have you forgotten to update the FS in router.db?


Observium is creating the router.db file and it would appear there is a problem with that file. 


On Fri, Aug 26, 2016 at 6:15 AM, Adam Armstrong <adama@memetic.org> wrote:

Hi,

Seems like you may have somehow broken rancid, which is ofc not part of observium ;)

Adam.

Sent from BlueMail

On 25 Aug 2016, at 12:57, Robbie Wright < robbie@siuslawbroadband.com> wrote:
MIke, what do you mean by user level? The show tech tab, which appears super useful btw has this:

Hostname: pud-gw1.tld.net
Short hostname: pud-gw1
Hostname different from short hostname, looking for both
Looking in configured directory:  /var/lib/rancid/observium/configs/
File  /var/lib/rancid/observium/configs/pud-gw1.tld.net  not found.
File  /var/lib/rancid/observium/configs/pud-gw1  not found.


Trying to chase this down, I've got this in the observium.yearmonthday log file:


property 'svn:ignore' set on '.'
property 'svn:ignore' set on 'configs'
Updating '.':
At revision 521.
WARNING: Have you forgotten to update the FS in router.db?

Running rancid 3.3 btw, which appears to be the most up to date on Ubuntu 16.04. Cron looks like it is running correctly and creating a log file ever time it runs and they all look like this. Of note, our config directory in /var/lib/rancid/observium is also empty now....


On Thu, Aug 25, 2016 at 2:53 AM, Mike Stupalov <mike@observium.org> wrote:
Hi,

On 25.08.16 2:37, Robbie Wright wrote:
As the title says, upgraded via svn to 8068 and the config tab is gone. Integration to smokeping still works, as well as the user agents and everything else, but no rancid. Rancid setup is still in the config file too. Anyone else seen it disappear after any update?
Which user level used?

Try to view showtech tab for device (add at end of url: "/tab=showtech/"), ie:
https://observium/device/device=101/tab=showtech/


On a side note, svn is reporting at revision 8069 while the gui is reporting 8068.


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

-- 
Mike Stupalov
http://observium.org
______________________________ _________________ 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

_______________________________________________ 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