Switching from NSClient++ to NCPA and performance data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Switching from NSClient++ to NCPA and performance data

Post by snapon_admin »

We're in the process of switching from NSClient++ to NCPA since NSClient is depreciated, and I had a question regarding performance data. My new NCPA checks seem to be displaying the perfdata from the old NSClient checks, and not updating to the new NCPA format (CPU seems to be the same format so no worries there, only the Mem checks appear to be different in how they display graph data). I forget where the perfdata files are located, can you post the location for those so I can delete the old ones? If I delete the perfdata will the new checks just create new files then? And finally, I assume there's really no way to preserve the old check's perfdata since it's displayed in a slightly different format with NCPA, is that correct?
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Re: Switching from NSClient++ to NCPA and performance data

Post by snapon_admin »

Example of what I'm talking about:
perfdata.png
Where the graph drops way down there is where we switched to NCPA. The perfdata is only showing data for 'available' when I would expect to also see 'free', 'total', and 'used', based on this being what is in the perfdata:

Code: Select all

'available'=3.30GiB;6;7; 'total'=8.00GiB;6;7; 'free'=3.30GiB;6;7; 'used'=4.70GiB;6;7;
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Switching from NSClient++ to NCPA and performance data

Post by scottwilkerson »

snapon_admin wrote: forget where the perfdata files are located, can you post the location for those so I can delete the old ones? If I delete the perfdata will the new checks just create new files then? And finally, I assume there's really no way to preserve the old check's perfdata since it's displayed in a slightly different format with NCPA, is that correct?
The location is
/usr/local/nagios/share/perfdata/<HOST>/<SERVICE>.rrd

Yes, if you delete the ond one, a new rrd will be created and display properly

You are correct, unfortunately there isn't a way to preserve the data for these 2 different plugins/agents as they do not match exactly
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Re: Switching from NSClient++ to NCPA and performance data

Post by snapon_admin »

Ok, kind of what I figured but it never hurts to ask. And thanks, I'll write it down this time since I always forget where that dang directory is lol.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Switching from NSClient++ to NCPA and performance data

Post by scottwilkerson »

snapon_admin wrote:Ok, kind of what I figured but it never hurts to ask. And thanks, I'll write it down this time since I always forget where that dang directory is lol.
Sounds good

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart