Observium and rancid integration
![](https://secure.gravatar.com/avatar/cb6faa888cf213c90ab0afc840b60dc9.jpg?s=120&d=mm&r=g)
Hi,
I'm trying to integrate rancid into observium. Here are what i've done: - Install observium and run it. Obeservium can collect statistic from device - Install rancid and run it. Rancid is collecting my device configuration - Enable rancid integration setting in observium: ### rancid integration
$config['rancid_configs'][] = "/var/lib/rancid/mpbn/configs/"; $config['rancid_configs'][] = "/var/lib/rancid/gprs/configs/"; $config['rancid_ignorecomments'] = 0; # Ignore lines starting with #
- Allow observium user to read rancid config (using observium user i can see the configuration collected by rancid) - I use the same hostname defined in my /etc/hosts for both observium and rancid
But I couldn’t see any menu/link showed in Observium web page related to Rancid configuration.
Regards,
Zakki A Tigo Rwanda
![](https://secure.gravatar.com/avatar/ecb2aea5855f61674508e8c889a01846.jpg?s=120&d=mm&r=g)
Hi,
if you click the router itself you should see something like I've attached
mehmet
On Aug 3, 2011, at 4:19 AM, Jenang Daftar wrote:
Hi,
I'm trying to integrate rancid into observium. Here are what i've done:
Install observium and run it. Obeservium can collect statistic from device
Install rancid and run it. Rancid is collecting my device configuration
Enable rancid integration setting in observium: ### rancid integration
$config['rancid_configs'][] = "/var/lib/rancid/mpbn/configs/"; $config['rancid_configs'][] = "/var/lib/rancid/gprs/configs/"; $config['rancid_ignorecomments'] = 0; # Ignore lines starting with #
Allow observium user to read rancid config (using observium user i can see the configuration collected by rancid)
I use the same hostname defined in my /etc/hosts for both observium and rancid
But I couldn’t see any menu/link showed in Observium web page related to Rancid configuration.
Regards,
Zakki A Tigo Rwanda _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/cb6faa888cf213c90ab0afc840b60dc9.jpg?s=120&d=mm&r=g)
Hi,
thanks for your answer. but i don't see it in my observium. can you share your steps on it?
regards,
Zakki A
On Wed, Aug 3, 2011 at 1:26 PM, Mehmet Akcin mehmet@akcin.net wrote:
Hi,
if you click the router itself you should see something like I've attached
mehmet
On Aug 3, 2011, at 4:19 AM, Jenang Daftar wrote:
Hi,
I'm trying to integrate rancid into observium. Here are what i've done:
- Install observium and run it. Obeservium can collect statistic from
device
Install rancid and run it. Rancid is collecting my device configuration
Enable rancid integration setting in observium: ### rancid integration
$config['rancid_configs'][] =
"/var/lib/rancid/mpbn/configs/"; $config['rancid_configs'][] = "/var/lib/rancid/gprs/configs/"; $config['rancid_ignorecomments'] = 0; # Ignore lines starting with #
- Allow observium user to read rancid config (using observium user i can
see the configuration collected by rancid)
- I use the same hostname defined in my /etc/hosts for both observium and
rancid
But I couldn’t see any menu/link showed in Observium web page related to Rancid configuration.
Regards,
Zakki A Tigo Rwanda _______________________________________________ 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
![](https://secure.gravatar.com/avatar/cb6faa888cf213c90ab0afc840b60dc9.jpg?s=120&d=mm&r=g)
FYI,
i'm using Observium 0.11.7.2395
regards,
zakki
On Wed, Aug 3, 2011 at 2:41 PM, Jenang Daftar jenang.daftar@gmail.comwrote:
Hi,
thanks for your answer. but i don't see it in my observium. can you share your steps on it?
regards,
Zakki A
On Wed, Aug 3, 2011 at 1:26 PM, Mehmet Akcin mehmet@akcin.net wrote:
Hi,
if you click the router itself you should see something like I've attached
mehmet
On Aug 3, 2011, at 4:19 AM, Jenang Daftar wrote:
Hi,
I'm trying to integrate rancid into observium. Here are what i've done:
- Install observium and run it. Obeservium can collect statistic from
device
Install rancid and run it. Rancid is collecting my device configuration
Enable rancid integration setting in observium: ### rancid integration
$config['rancid_configs'][] =
"/var/lib/rancid/mpbn/configs/"; $config['rancid_configs'][] = "/var/lib/rancid/gprs/configs/"; $config['rancid_ignorecomments'] = 0; # Ignore lines starting with #
- Allow observium user to read rancid config (using observium user i can
see the configuration collected by rancid)
- I use the same hostname defined in my /etc/hosts for both observium and
rancid
But I couldn’t see any menu/link showed in Observium web page related to Rancid configuration.
Regards,
Zakki A Tigo Rwanda _______________________________________________ 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
![](https://secure.gravatar.com/avatar/1b6d82da75648b48b311773f37e4575f.jpg?s=120&d=mm&r=g)
...and make sure your user level priv is set to '10'.
mysql> select * from users;
On Wed, Aug 03, 2011 at 05:04:06PM +0200, Tom Laermans tom.laermans@powersource.cx wrote:
On Wed, 2011-08-03 at 14:41 +0200, Jenang Daftar wrote:
Hi,
thanks for your answer. but i don't see it in my observium. can you share your steps on it?
Make sure the hostnames in observium and rancid match exactly?
Tom
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/cb6faa888cf213c90ab0afc840b60dc9.jpg?s=120&d=mm&r=g)
Hi,
Recheck my config: - the hostname between observium and rancid is the same - my user privilege is 10
Any other option i miss?
regards,
Zakki A
----- Original Message ----- From: "Charlie Allom" charlie@playlouder.com To: "Observium Network Observation System" observium@observium.org Sent: Thursday, August 4, 2011 1:04:30 PM Subject: Re: [Observium] Observium and rancid integration
...and make sure your user level priv is set to '10'.
mysql> select * from users;
On Wed, Aug 03, 2011 at 05:04:06PM +0200, Tom Laermans tom.laermans@powersource.cx wrote:
On Wed, 2011-08-03 at 14:41 +0200, Jenang Daftar wrote:
Hi,
thanks for your answer. but i don't see it in my observium. can you share your steps on it?
Make sure the hostnames in observium and rancid match exactly?
Tom
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/cb6faa888cf213c90ab0afc840b60dc9.jpg?s=120&d=mm&r=g)
Ah finally i have it.
There was a permission problem. My apache run with www-data user. I have to put www-data to rancid group and then restart Apache.
Thank you Observium:)
Regards,
Zakki A
On Thu, Aug 4, 2011 at 4:30 PM, Jenang Daftar jenang.daftar@gmail.comwrote:
Hi,
Recheck my config:
- the hostname between observium and rancid is the same
- my user privilege is 10
Any other option i miss?
regards,
Zakki A
----- Original Message ----- From: "Charlie Allom" charlie@playlouder.com To: "Observium Network Observation System" observium@observium.org Sent: Thursday, August 4, 2011 1:04:30 PM Subject: Re: [Observium] Observium and rancid integration
...and make sure your user level priv is set to '10'.
mysql> select * from users;
On Wed, Aug 03, 2011 at 05:04:06PM +0200, Tom Laermans < tom.laermans@powersource.cx> wrote:
On Wed, 2011-08-03 at 14:41 +0200, Jenang Daftar wrote:
Hi,
thanks for your answer. but i don't see it in my observium. can you share your steps on it?
Make sure the hostnames in observium and rancid match exactly?
Tom
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- +442077294797 http://mediasp.com/ _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/12d53977bf9414a60ce0deadb8aa5ce0.jpg?s=120&d=mm&r=g)
On 03/08/11 21:19, Jenang Daftar wrote:
Hi,
I'm trying to integrate rancid into observium. Here are what i've done:
- Install observium and run it. Obeservium can collect statistic from
device
Install rancid and run it. Rancid is collecting my device configuration
Enable rancid integration setting in observium: ### rancid integration
$config['rancid_configs'][] =
"/var/lib/rancid/mpbn/configs/"; $config['rancid_configs'][] = "/var/lib/rancid/gprs/configs/"; $config['rancid_ignorecomments'] = 0; # Ignore lines starting with #
- Allow observium user to read rancid config (using observium user i
can see the configuration collected by rancid)
- I use the same hostname defined in my /etc/hosts for both observium
and rancid
But I couldn’t see any menu/link showed in Observium web page related to Rancid configuration.
I followed essentially the same process to get my RANCID integrated. My system doesn't have the trailing / on the RANCID directory names, but i don't think that's going to make much difference.
Because my RANCID install pre-dates my Observium install, i had non-FQDNs in RANCID and FQDNs in Observium. I created this patch to compensate: http://libertysys.com.au/patches/observium/observium-r2339-rancid-non-fqdn.p... But from your description i don't think you'll need that.
You may get some useful hints about the problem by appending ?debug to the end of your main device URL (i.e. "http://observium.../device/12345/?debug").
Paul
![](https://secure.gravatar.com/avatar/426f2d74476ba62f73035502e3165bea.jpg?s=120&d=mm&r=g)
Hi,
On Wed, Aug 3, 2011 at 6:08 PM, Paul Gear paul@libertysys.com.au wrote: [SNIP]
Because my RANCID install pre-dates my Observium install, i had non-FQDNs in RANCID and FQDNs in Observium. I created this patch to compensate: http://libertysys.com.au/patches/observium/observium-r2339-rancid-non-fqdn.p... But from your description i don't think you'll need that.
[SNIP]
+1
This patch does 2 good things, 1) it moves finding the rancid file to a function and 2) the functions allows for non-FQDN hostnames.
participants (7)
-
Charlie Allom
-
Jenang Daftar
-
Mehmet Akcin
-
Paul Gear
-
Paul Gear
-
Rob J. Epping
-
Tom Laermans