Not getting proper graphs
Posted: Wed Mar 09, 2016 5:56 am
Hi Team,
I have installed nagios XI 5.2.2 and was able to get graphs, but suddenly graphs stopped working and getting "No Data to Display" error. I had installed rrdcache previously, now I have uninstalled rrdcache and undo all changes.
After reverting all the rrdcache changes, I got graphs but it is showing only for 1 hour (12:44pm to 1:44pm) not for every hour.
Refer some imp logs :
Please help me to resolve this issue.
I have installed nagios XI 5.2.2 and was able to get graphs, but suddenly graphs stopped working and getting "No Data to Display" error. I had installed rrdcache previously, now I have uninstalled rrdcache and undo all changes.
After reverting all the rrdcache changes, I got graphs but it is showing only for 1 hour (12:44pm to 1:44pm) not for every hour.
Refer some imp logs :
Code: Select all
tail -100 /usr/local/nagios/var/perfdata.log
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for Pune_wakad_sw2 / GGChost2_Bandwidth (in=0Mb/s;5;8 out=0Mb/s;5;8)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_7.63_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.23_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ae1_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for Pune_wakad_sw1 / Pune_MSC_lt_180.151.166.201_gt_LAN_Bandwidth (in=0Mb/s;5;8 out=0Mb/s;5;8)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for Primary_PE_Chennai / Intracity-GeeGee-Vpn_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / J-SAGAR-MPLS-VPN_Bandwidth (in=0Gb/s;1;2 out=0Gb/s;1;2)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for Secondary_PE_Chennai / ge-1_0_8_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_7.201_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:26 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:26 [19545] [1] Found Performance Data for PUNE_ROUTER_1 / Portchannel114 (in=0Gb/s;50;200 out=0Gb/s;50;200)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for PUNE_ROUTER_2 / Portchannel1997 (in=0Gb/s;50;200 out=0Gb/s;50;200)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.147_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for PUNE_ROUTER_1 / Portchannel1 (in=0Gb/s;50;200 out=0Gb/s;50;200)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for PUNE_ROUTER_1 / Portchannel1999 (in=0Gb/s;50;200 out=0Gb/s;50;200)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for BAN-00ITPL / Cisco_Memory (memory_total=82MB memory_used=33MB)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / em0.0_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for Syrmra_POD / port-0_0_4_Bandwidth (in=0Mb/s;50.00;80.00 out=0Mb/s;50.00;80.00)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for BAN-05ITPL / GigabitEthernet0_0_17_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.64_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-02DS2 / A_C_19735_MRITUNJAY_KUMAR-10mb_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-00HOC / GigabitEthernet0_0_12_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-03S63 / Ethernet0_0_11_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.55_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.454_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for JP_NAGER_SMPS / Ping (rta=60.231ms;3000.000;5000.000;0; pl=0%;80;100;; rtmax=62.009ms;;;; rtmin=58.399ms;;;;)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-00VCS / Ethernet0_0_17_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.433_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for Logix_Cyber_Park_SW3 / GigabitEthernet0_0_7_Bandwidth (in=0Mb/s;50.00;80.00 out=0Mb/s;50.00;80.00)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.418_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.459_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.409_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.414_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.431_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.436_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-00HOC / A_C_222133-Inventum_Technology_Pvt_Ltd-100Mbps_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.430_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.434_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-00HOC / GigabitEthernet0_0_22_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-00PAT / XGigabitEthernet0_0_2_Bandwidth (in=0Gb/s;5;8 out=0Gb/s;5;8)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.265_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.410_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.401_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for BAN-03ITPL / A_C_18343_EDUCATIONAL_INITIATIVE_Green_wood__15mb_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.35_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-00HAL / APPLIED_MOBILE_LABS_PVT._LTD.-2Mb-Patch_to_SDH_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for 180.151.59.1.reverse.spectranet.in / ge-1_1_8.34_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-00HOC / ADVANCE_METERING_TECHNOLOGY_LTD.-5Mb_Bandwidth (in=0Mb/s;5;8 out=0Mb/s;5;8)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-02S63 / Trunk_From_Sec-63_4th_Sw_Gi0_2_Bandwidth (in=0Mb/s;500;800 out=0Mb/s;500;800)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-02S63 / Cisco_Power_Supply (total=1 err=0)
2016-03-09 16:20:27 [19545] [1] rrdtool update returns 256
2016-03-09 16:20:27 [19545] [1] Found Performance Data for NOD-02S10 / GigabitEthernet0_0_17_Bandwidth (in=0Mb/s;50;80 out=0Mb/s;50;80) Code: Select all
# tail -f /usr/local/nagios/var/npcd.log
[03-09-2016 16:12:11] NPCD: ERROR: Executed command exits with return code '7'
[03-09-2016 16:12:11] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1457519886.perfdata.service'
[03-09-2016 16:14:45] NPCD: ERROR: Executed command exits with return code '7'
[03-09-2016 16:14:45] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1457520036.perfdata.service'
[03-09-2016 16:14:45] NPCD: ERROR: Executed command exits with return code '7'
[03-09-2016 16:14:45] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1457520052.perfdata.service'
[03-09-2016 16:17:01] NPCD: WARN: MAX load reached: load 80.410000/80.000000 at i=17
[03-09-2016 16:18:16] NPCD: WARN: MAX load reached: load 120.150000/80.000000 at i=0
[03-09-2016 16:18:31] NPCD: WARN: MAX load reached: load 98.980000/80.000000 at i=1
[03-09-2016 16:18:46] NPCD: WARN: MAX load reached: load 82.010000/80.000000 at i=1