Page 1 of 1

NRDP Services Adding Additional Perfdata

Posted: Fri May 15, 2020 9:49 am
by luczynj
Hello all!

A new NRDP service is created through the Unconfigured Object wizard and a corresponding perfdata file is created in /usr/local/nagios/share/perfdata/<host name>/<service name>.rrd and <service name>.xml.

“x” perfdata values are sent by the source for the above service.

If the NRDP script is modified at the source .and starts sending additional perfdata under the same service (so now “x + y” perfdata values), the latest collected values for this additional perfdata are visible in the "Status Information" column on the nagios XI GUI, but it is not recorded in the .rrd file and the historical data is not recorded for the additional “y” values (but is for the original “x” values)

A workaround for the above issue was to use a perl utility package for RRD, and manually create “y” additional datastores In the existing .rrd file (in addition to the already existing “x” datastores)

What would be nice is a new “bulk modification tool” to automate the above manual process.

See attached picture of when new perfdata was added to the service.

Many thanks!
P & J

Re: NRDP Services Adding Additional Perfdata

Posted: Fri May 15, 2020 4:25 pm
by cdienger
We have a kb on removing a data source:

https://support.nagios.com/kb/article/n ... e-497.html

but not one to add. I'll file a request for an article that adds one as well.

I agree that it would be a nice feature to have some automation to this so I'll file a request with our dev. Thanks for your input!