Tom,

Thanks this gives just enough info

Last discovered: 26-03-2014 20:26:27 (took 3.90s) - Details
Last discovered: 14-03-2014 13:21:20 (took 4.01s) - Details

 RANCID
Hostname: rsn-as02-dc2-a3
Short hostname: rsn-as02-dc2-a3
Looking in configured directory: /usr/local/rancid/var/AS/configs/
File /usr/local/rancid/var/AS/configs/rsn-as02-dc2-a3 not found.

Observium tell me that the file doesn't exist but a ls shows

ls /usr/local/rancid/var/AS/configs/rsn-as02*

/usr/local/rancid/var/AS/configs/rsn-as02-dc2-a3

So the file exist.

Also tryed the sugestion from mike

chmod o+rx /usr/local/rancid/var/AS/configs

But both without any result

Just to be clear the user www-data is a member in rancid and rancid is also a member in www-data so the whole user right thing is the issue i think. Also the config files are NOT empty rancid is working just the wright way.




On 26/03/14 20:11, Tom Laermans wrote:
Marc,

I've added a diagnostics page in the last commit where the rancid code is run with debugging output, please go to your device's page and add/change tab=showtech in the url, see what that says.

Tom

On 26/03/2014 17:11, Marc wrote:
No there's no extra tab visible

On 26/03/14 14:34, Moore, Cameron wrote:

Does the Config tab show up in the device menu?

--

Cameron Moore

Manager of Systems & Networks

Hardin-Simmons University, Technology Services

Ph: (325) 670-1506  Fx: (325) 670-1570

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Marc
Sent: Wednesday, March 26, 2014 1:34 AM
To: observium@observium.org
Subject: Re: [Observium] Rancid not working

 

Hi Cameron,

Thats one off the changes I made several times with different options but that make no diference.

On 25/03/14 17:02, Moore, Cameron wrote:

Try this:

 

$config['rancid_configs'][]             = '/usr/local/rancid/var/AS/configs';

--

Cameron Moore

 

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Marc
Sent: Tuesday, March 25, 2014 10:48 AM
To: Observium Network Observation System
Subject: Re: [Observium] Rancid not working

 

Hi,

I've done the whole thing even the chmod the directory and added rancid to the www-data group but it still doesn't work.

Also commented the rancid_suffix changed the rancid_configs to different ways but observvium still doesn't show any configs also i made sure that i was logged in as admin the highest user. The rancid is working and gets the configs from the accesswitches the wright way so I can rule the rancid out off the problem.

Anybody have another suggestion ??

On 25/03/14 11:06, Mike Stupalov wrote:

Hi Marc, 


http://observium.org/wiki/Configuration_Options#Rancid

remove $config['rancid_suffix'] if they not needed.



On 25.03.2014 13:26, Marc wrote:

Hi all,

We have the paid version Observium v0.14.3.5133 in the free version our rancid config was working after update to the paid version we get no configs anymore.

The tree of the rancid is the following

/usr/local/rancid/var/AS/configs <-- for the accesswitches all cisco

The config.php about rancid is the following:

$config['rancid_configs']['AS']             = '/usr/local/rancid/var/AS/configs';
$config['rancid_suffix']                = 'NOT NEEDED '; // Domain suffix for non-FQDN device names
$config['rancid_ignorecomments']        = 0; // Ignore lines starting with #

We don't get any config in observium to view did we something wrong ?

--
Met vriendelijke groet,

Marc de Rooy
Technische medewerker
Datacenter Engineer
Flexwebhosting/FXW



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

--
Met vriendelijke groet,

Marc de Rooy
Technische medewerker
Datacenter Engineer
Flexwebhosting/FXW

DISCLAIMER De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, vragen wij u het volgende: gebruik de inhoud niet; informeer de afzender door het bericht te retourneren; en vernietig de inhoud.

The information contained in this message may be confidential and is intended to be exclusively for the addressee. If you have received this message in error, please do not use the contents, inform us immediately and delete its content.



_______________________________________________
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

--
Met vriendelijke groet,

Marc de Rooy
Technische medewerker
Datacenter Engineer
Flexwebhosting/FXW

DISCLAIMER De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, vragen wij u het volgende: gebruik de inhoud niet; informeer de afzender door het bericht te retourneren; en vernietig de inhoud.

The information contained in this message may be confidential and is intended to be exclusively for the addressee. If you have received this message in error, please do not use the contents, inform us immediately and delete its content.