Page 1 of 1

Performance Graph issue on some servies

Posted: Thu Sep 20, 2018 2:18 am
by Gonela
Hi ,

CPU & Memory Performance graph is not working on few servers but it is working on other services .

Error : expected 3 data source readings (got 1) from

followed this doc but no luck : https://support.nagios.com/kb/article.p ... ategory=44

May i know the reason?
--------------------------
[root@nagihpcorp01 3PARPSYDAO.ffx.jfh.com.au]# ls -ltrh
total 5.2M
-rw-rw-r-- 1 nagios nagios 376K Aug 14 11:21 Memory_Usage.rrd
-rw-rw-r-- 1 nagios nagios 1.1M Aug 14 11:39 CPU_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2.3K Sep 20 17:06 Event_Log_File_is_Full.xml
-rw-rw-r-- 1 nagios nagios 376K Sep 20 17:06 Event_Log_File_is_Full.rrd
-rw-rw-r-- 1 nagios nagios 2.2K Sep 20 17:07 Time_Sync.xml
-rw-rw-r-- 1 nagios nagios 376K Sep 20 17:07 Time_Sync.rrd
-rw-rw-r-- 1 nagios nagios 376K Sep 20 17:07 Unexpected_Shutdown_Event_Id_6008.rrd
-rw-rw-r-- 1 nagios nagios 2.4K Sep 20 17:07 Unexpected_Shutdown_Event_Id_6008.xml
-rw-rw-r-- 1 nagios nagios 2.2K Sep 20 17:09 Windows_Uptime.xml
-rw-rw-r-- 1 nagios nagios 376K Sep 20 17:09 Windows_Uptime.rrd
-rw-rw-r-- 1 nagios nagios 4.0K Sep 20 17:11 _HOST_.xml
----------------------------------------------------------------------------------------------

Re: Performance Graph issue on some servies

Posted: Thu Sep 20, 2018 7:46 am
by scottwilkerson
If the amount of datasources changed from the command, it is usually best to remove the rrd file and let them re-create, because the old data is not likely is the same location in the rrd.

I would remove the Memory_Usage.rrd & CPU_Usage.rrd and let nagios re-create them (takes 5-15 minutes)

you could just move them to a temp location if you like

Code: Select all

mv Memory_Usage.rrd /tmp
mv CPU_Usage.rrd /tmp

Re: Performance Graph issue on some servies

Posted: Thu Oct 11, 2018 11:04 pm
by Gonela
Thanks for help.

Now Graphs are working.

Re: Performance Graph issue on some servies

Posted: Fri Oct 12, 2018 7:41 am
by scottwilkerson
Gonela wrote:Thanks for help.

Now Graphs are working.
great! Locking thread