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.patch
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