Switching from NSClient++ to NCPA and performance data
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Switching from NSClient++ to NCPA and performance data
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?
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Re: Switching from NSClient++ to NCPA and performance data
Example of what I'm talking about:
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Switching from NSClient++ to NCPA and performance data
The location issnapon_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?
/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
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Re: Switching from NSClient++ to NCPA and performance data
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Switching from NSClient++ to NCPA and performance data
Sounds goodsnapon_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.
Locking thread