Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I'm running Nagios 3.5.1 on a RHEL6 server. I am following the instructions below because I have a new datasource that's been added and I want to repair the rrd file while retaining historical data.
To run the script without RRD backups (if you have performed one of the suggested backup options above):
./fix_ds_quantity.sh -i -d /usr/local/nagios/share/perfdata/
I am running into an issue because I have no /usr/local/nagios/share/perfdata folder. In fact I have no perfdata folder period.
This KB article is written for XI, which has our standard directories in use. Yes, you would need to modify it accordingly to work in your environment.
As PNP4Nagios isn't our product, and you're using Core, we have no way of knowing how / where you decided to install it.
This KB article is written for XI, which has our standard directories in use. Yes, you would need to modify it accordingly to work in your environment.
As PNP4Nagios isn't our product, and you're using Core, we have no way of knowing how / where you decided to install it.
I got these links from you guys the other day in another thread in which I disclosed I was not using XI. Now you're telling me you can't help? I don't get that.
Where can I go then to get 'official' pnp4nagios support? I need to make sure that if I point the script to /var/lib/pnp4nagios (where all my .rrd files are) it will still work as expected.
The bash script is written by us, but it's for XI. While it should work for Core, as I mentioned, we do not know all of your directories so you may have to change other things in it.
Are there any plans to enhance the script to ONLY look for the rrd that you specify so it does not bloat out the partition when you run it and take a lot less time?
There is not, as I mentioned this fix was written for a Nagios XI system as a whole, not just one RRD file. You're free to modify it as needed for your specifications.