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

 

 

Beskrivelse: cid:image001.jpg@01CB9163.2FCD3AC0

_____________________________________________

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

 

 

Beskrivelse: cid:image001.jpg@01CB9163.2FCD3AC0

_____________________________________________

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