Switched from SNMP to NCPA, mem and swap graph missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Switched from SNMP to NCPA, mem and swap graph missing

Post by TBT »

We recently switched a few hosts using SNMP over to NCPA for monitoring. Both performance graphs for Memory Usage and Swap Usage are empty stating "No data to display". The other associated performance graphs such as CPU, Disk, etc are working.
perf1.png
If you change the Time Range, going back prior to the switch, the data is present.
perf2.png
Also, viewing the Service Status, all the Status Information is present.
perf3.png
Please advise.
You do not have the required permissions to view the files attached to this post.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Switched from SNMP to NCPA, mem and swap graph missing

Post by cdienger »

It's likely the format of the data used to graph changed. Move the rrd and xml files for these services(/usr/local/nagios/share/perfdata/<host>/<service_description>.[rrd|xml]), wait 15 minutes or so(depends on the check interval), and new files should be created with data visible in a graph.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Switched from SNMP to NCPA, mem and swap graph missing

Post by TBT »

Move them where?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Switched from SNMP to NCPA, mem and swap graph missing

Post by ssax »

Just rename them (or delete them) and they will be automatically rebuilt on the next check (then wait 15 minutes). This occurs if you change the check command on an existing service that initially contained a different number/type of metrics. Did you do that?
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Switched from SNMP to NCPA, mem and swap graph missing

Post by TBT »

Removing the *.rrd and *.xml files in question resolved this issue. Thank you.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Switched from SNMP to NCPA, mem and swap graph missing

Post by ssax »

Are we okay to lock this up and mark it as resolved?
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Switched from SNMP to NCPA, mem and swap graph missing

Post by TBT »

Yes.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Locked