Oh right, duh, was not quite awake it seems :)

Sent from my mobile, please excuse brevity and spelling errors.

----- Reply message -----
From: "Adam Armstrong" <adama@memetic.org>
To: "Observium Network Observation System" <observium@observium.org>
Subject: [Observium] Problems with rancid.
Date: Wed, May 15, 2013 15:13


This isn't how rancid_suffix works.

It allows you to have FQDNs in rancid and the short form in Observium.

adam.


On 2013-05-15 13:09, Thomas Raabo - Zitcom A/S wrote:
> It should be in group apache
>
> And permissions seems fine.
>
> [root@mgmt3 observium]# ls -l
> /usr/local/rancid/var/routers/configs/sv-e-rt-1
>
> -rw-r----- 1 rancid apache 25590 May 15 12:59
> /usr/local/rancid/var/routers/configs/sv-e-rt-1
>
> [root@mgmt3 observium]# ls -l /usr/local/rancid/var/routers/configs
>
> total 60
>
> drwxr-xr-x 2 rancid apache 4096 May 15 12:59 CVS
>
> -rw-r----- 1 rancid apache 25590 May 15 12:59 sv-e-rt-1
>
> -rw-r----- 1 rancid apache 25973 May 15 12:59 sv-e-rt-2
>
> [root@mgmt3 observium]# ls -l /usr/local/rancid/var/routers
>
> total 20
>
> drwxr-xr-x 2 rancid apache 4096 Aug 19 2010 CVS
>
> drwxr-xr-x 3 rancid apache 4096 May 15 12:59 configs
>
> -rwxr-xr-x 1 rancid apache 38 Aug 19 2010 router.db
>
> -rw-r----- 1 rancid apache 32 May 15 12:59 routers.all
>
> -rw-r----- 1 rancid apache 0 May 15 12:59 routers.down
>
> -rw-r----- 1 rancid apache 32 May 15 12:59 routers.up
>
> [root@mgmt3 observium]# ls -l /usr/local/rancid/var
>
> total 144
>
> drwxr-xr-x 7 rancid apache 4096 Jun 23 2011 CVS
>
> drwxr-xr-x 4 rancid apache 4096 May 15 12:59 firewalls
>
> drwxr-xr-x 2 rancid apache 122880 May 15 12:59 logs
>
> drwxr-xr-x 4 rancid apache 4096 May 15 12:59 old
>
> drwxr-xr-x 4 rancid apache 4096 May 15 12:59 routers
>
> drwxr-xr-x 4 rancid apache 4096 May 15 12:59 switches
>
> [root@mgmt3 observium]# ls -l /usr/local/rancid
>
> total 96
>
> drwxrwx--- 8 rancid apache 4096 Jun 23 2011 var
>
> Med venlig hilsen | Best regards
>
> THOMAS RAABO
>
> Senior Network Engineer CCIE #33466
>
> _____________________________________________
>
> tr@zitcom.dk | Direkte: +45 69 10 60 18 | Tlf.: +45 70 23 55 66
>
> FROM: observium [mailto:observium-bounces@observium.org] ON BEHALF OF
> Tom Laermans
> SENT: 15. maj 2013 13:56
> TO: Observium Network Observation System
> SUBJECT: Re: [Observium] Problems with rancid.
>
> Hm, read too fast at first - you configured the suffix.. :)
>
> Is your apache in group apache and able to traverse the entire
> directory tree? Permissions you listed seem to be ok.
>
> On 15/05/2013 13:30, Thomas Raabo - Zitcom A/S wrote:
>
> Did this…
>
> //Rancid
>
> $config['rancid_configs'][] =
> '/usr/local/rancid/var/switches/configs/';
>
> $config['rancid_configs'][] = '/usr/local/rancid/var/routers/configs/';
>
> $config['rancid_suffix'] = 'network.zitcom.dk'; // Domain suffix for
> non-FQDN device names
>
> $config['rancid_ignorecomments'] = 0; // Ignore lines starting with #
>
> But I don't see a tag with rancid configs…?
>
> [root@mgmt3 observium]# ls -l /usr/local/rancid/var/routers/configs/
>
> total 60
>
> drwxr-xr-x 2 rancid apache 4096 May 15 12:59 CVS
>
> -rw-r----- 1 rancid apache 25590 May 15 12:59 sv-e-rt-1
>
> -rw-r----- 1 rancid apache 25973 May 15 12:59 sv-e-rt-2
>
> The configs are there..
>
> But no rancid
>
> Med venlig hilsen | Best regards
>
> THOMAS RAABO
>
> Senior Network Engineer CCIE #33466
>
> _____________________________________________
>
> tr@zitcom.dk | Direkte: +45 69 10 60 18 | Tlf.: +45 70 23 55 66
>
> _______________________________________________
>
> observium mailing list
>
> observium@observium.org
>
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [1]
>
>
>
> Links:
> ------
> [1] 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