Add-on OR components using hardcoded path for status.dat

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Add-on OR components using hardcoded path for status.dat

Post by Mitchell »

Add-ons like BPI etc. break when modifying installations (like using Ramdisk). The reason being these Add-on using hard-coded path for status.dat and object.cache files. These Add-on should use the path to these file from central location like nagios configuration file. few examples...
BPI http://exchange.nagios.org/directory/Ad ... 29/details
And
Metrics http://exchange.nagios.org/directory/Ad ... nt/details

Few components also break when MySQL is offloaded because of using hard-coded DB location. Few examples are Business Process View and Impact analysis.

We are hoping if these components can be modified to use all the paths from central location, so we do not have to modify those every time we upgrade.

Thanks
Ashish
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Add-on OR components using hardcoded path for status.dat

Post by mguthrie »

You are correct for the BPI addon, we have a new version of Nagios BPI that will be shipping with our 2012 release that accesses status info from ndoutils instead of those files.
http://labs.nagios.com/2011/12/02/nagios-bpi-v2-0-beta/

I checked our current version of the metrics component, and it actually fetches information using XI's backend API, so the data is coming from mysql. Was this something you identified in the code somewhere?

Nagios BPA is a community developed addon with it's own configuration file located in /usr/local/nagios/etc, which can be edited one time after install to adjust for the offload. From what we can tell most of that project's developed appears to be waning, so we're focusing our current development efforts towards the new Nagios BPI.
Locked