high load , rrdtool graph
Posted: Thu Apr 04, 2019 4:20 am
Dear Expert
continue to my last post , high CPU load , which is Locked, checked and found RRDTOOL GRAPH is taking high load
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26310 apache 20 0 160m 6032 3972 R 97.5 0.0 0:00.82 rrdtool
26344 apache 20 0 180m 18m 16m R 95.6 0.1 0:00.68 rrdtool
26404 apache 20 0 180m 11m 9664 R 81.9 0.0 0:00.42 rrdtool
26430 apache 20 0 175m 9144 8084 R 66.3 0.0 0:00.34 rrdtool
26431 apache 20 0 175m 11m 10m R 60.5 0.0 0:00.31 rrdtool
26503 apache 20 0 175m 15m 14m R 31.2 0.0 0:00.16 rrdtool
26509 nagios 20 0 141m 10m 2276 S 15.6 0.0 0:00.08 check_ifopersta
14186 apache 20 0 509m 44m 15m S 13.7 0.1 0:03.83 httpd
no space issue
Filesystem Size Used Avail Use% Mounted on
tmpfs 500M 18M 483M 4% /var/nagiosramdisk
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 16185 61.0 0.0 184452 5768 ? R 11:50 0:00 /usr/bin/rrdtool graph - --width=500 --height=100 --start=-4h --vertical-label ms -
-title xyz-7200 / --lower=0.000000 DEF:var1=/usr/local/nagios/share/perfdata/xyz-7200/_HOST_.rrd:1:AVERAGE AREA:var1#EACC00:rta LINE1:var1#000000:
GPRINT:var1:LAST:%3.4lf ms LAST GPRINT:var1:MAX:%3.4lf ms MAX GPRINT:var1:AVERAGE:%3.4lf ms AVERAGE \n HRULE:50.000000#FFFF00:Warning on 50.0000
00\n HRULE:80.000000#FF0000:Critical on 80.000000\n COMMENT:Default Template\r COMMENT:Check Command check_icmp\r
Please note I am 100% sure that we are not monitoring (displaying) HOST graph for xyz-7200, and same manner we found below service, which again 100% sure we are not monitoring (displaying) graph for this service
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 17975 73.0 0.0 184484 16256 ? R 12:03 0:00 /usr/bin/rrdtool graph - --width=500 --height=100 --start=-4h --vertical-label Traf
fic Mb_s -X 0 -E --title Interface Traffic for xyz-asr-1 / 9467_parlon_Bandwidth DEF:var1=/usr/local/nagios/
share/perfdata/xyz-asr-1/9467_parlon_Bandwidth.rrd:1:MAX DEF:var2=/usr/local/nagios/share/perfdata/xyz-asr-1
/9467_parlon_Bandwidth.rrd:2:MAX CDEF:real1=var1,1,* CDEF:real2=var2,1,* LINE1:real1#0000CD:In (Mb_s) GPRINT
:real1:MIN:%9.3lf Min GPRINT:real1:AVERAGE:%9.3lf Avg GPRINT:real1:MAX:%9.3lf Max GPRINT:real1:LAST:%9.3lf Last\n LINE1:real2#FF0000:Out(Mb_s) GPRIN
T:real2:MIN:%9.3lf Min GPRINT:real2:AVERAGE:%9.3lf Avg GPRINT:real2:MAX:%9.3lf Max GPRINT:real2:LAST:%9.3lf Last\n COMMENT:Printed on
if there is rrdtool update, understand that in background some updating on going time to time but why rrdtool graph process initiating when Host/Service not on display, yes in the NAGVIS we added Host/Service, but just for Status Purpose mainly, not displaying/showing any graph on the monitoring screen
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 32420 81.0 0.0 184468 17924 ? R 14:47 0:00 /usr/bin/rrdtool graph - --width=500 --height=100 --start=-4h --vertical-label --title mge420kva-2 / battery_status DEF:var1=/usr/local/nagios/share/perfdata/mge420kva-2/battery_status.rrd:1:AVERAGE AREA:var1#EACC00:capa
city LINE1:var1#000000: GPRINT:var1:LAST:%3.4lf LAST GPRINT:var1:MAX:%3.4lf MAX GPRINT:var1:AVERAGE:%3.4lf AVERAGE \n HRULE:50#FFFF00:Warning
on 50\n HRULE:30#FF0000:Critical on 30\n COMMENT:Default Template\r COMMENT:Check Command check_mge_battery\r
As I said above is correct, however if we displaying any live bandwidth graph, what is the default rate to refresh/update this and how to increase the auto refresh rate of it?
its all random, I think its for all the Host and all the Services
is there anyway to dig on the PID and found request coming from which source IP and who is initiating?
Regards
continue to my last post , high CPU load , which is Locked, checked and found RRDTOOL GRAPH is taking high load
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26310 apache 20 0 160m 6032 3972 R 97.5 0.0 0:00.82 rrdtool
26344 apache 20 0 180m 18m 16m R 95.6 0.1 0:00.68 rrdtool
26404 apache 20 0 180m 11m 9664 R 81.9 0.0 0:00.42 rrdtool
26430 apache 20 0 175m 9144 8084 R 66.3 0.0 0:00.34 rrdtool
26431 apache 20 0 175m 11m 10m R 60.5 0.0 0:00.31 rrdtool
26503 apache 20 0 175m 15m 14m R 31.2 0.0 0:00.16 rrdtool
26509 nagios 20 0 141m 10m 2276 S 15.6 0.0 0:00.08 check_ifopersta
14186 apache 20 0 509m 44m 15m S 13.7 0.1 0:03.83 httpd
no space issue
Filesystem Size Used Avail Use% Mounted on
tmpfs 500M 18M 483M 4% /var/nagiosramdisk
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 16185 61.0 0.0 184452 5768 ? R 11:50 0:00 /usr/bin/rrdtool graph - --width=500 --height=100 --start=-4h --vertical-label ms -
-title xyz-7200 / --lower=0.000000 DEF:var1=/usr/local/nagios/share/perfdata/xyz-7200/_HOST_.rrd:1:AVERAGE AREA:var1#EACC00:rta LINE1:var1#000000:
GPRINT:var1:LAST:%3.4lf ms LAST GPRINT:var1:MAX:%3.4lf ms MAX GPRINT:var1:AVERAGE:%3.4lf ms AVERAGE \n HRULE:50.000000#FFFF00:Warning on 50.0000
00\n HRULE:80.000000#FF0000:Critical on 80.000000\n COMMENT:Default Template\r COMMENT:Check Command check_icmp\r
Please note I am 100% sure that we are not monitoring (displaying) HOST graph for xyz-7200, and same manner we found below service, which again 100% sure we are not monitoring (displaying) graph for this service
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 17975 73.0 0.0 184484 16256 ? R 12:03 0:00 /usr/bin/rrdtool graph - --width=500 --height=100 --start=-4h --vertical-label Traf
fic Mb_s -X 0 -E --title Interface Traffic for xyz-asr-1 / 9467_parlon_Bandwidth DEF:var1=/usr/local/nagios/
share/perfdata/xyz-asr-1/9467_parlon_Bandwidth.rrd:1:MAX DEF:var2=/usr/local/nagios/share/perfdata/xyz-asr-1
/9467_parlon_Bandwidth.rrd:2:MAX CDEF:real1=var1,1,* CDEF:real2=var2,1,* LINE1:real1#0000CD:In (Mb_s) GPRINT
:real1:MIN:%9.3lf Min GPRINT:real1:AVERAGE:%9.3lf Avg GPRINT:real1:MAX:%9.3lf Max GPRINT:real1:LAST:%9.3lf Last\n LINE1:real2#FF0000:Out(Mb_s) GPRIN
T:real2:MIN:%9.3lf Min GPRINT:real2:AVERAGE:%9.3lf Avg GPRINT:real2:MAX:%9.3lf Max GPRINT:real2:LAST:%9.3lf Last\n COMMENT:Printed on
if there is rrdtool update, understand that in background some updating on going time to time but why rrdtool graph process initiating when Host/Service not on display, yes in the NAGVIS we added Host/Service, but just for Status Purpose mainly, not displaying/showing any graph on the monitoring screen
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 32420 81.0 0.0 184468 17924 ? R 14:47 0:00 /usr/bin/rrdtool graph - --width=500 --height=100 --start=-4h --vertical-label --title mge420kva-2 / battery_status DEF:var1=/usr/local/nagios/share/perfdata/mge420kva-2/battery_status.rrd:1:AVERAGE AREA:var1#EACC00:capa
city LINE1:var1#000000: GPRINT:var1:LAST:%3.4lf LAST GPRINT:var1:MAX:%3.4lf MAX GPRINT:var1:AVERAGE:%3.4lf AVERAGE \n HRULE:50#FFFF00:Warning
on 50\n HRULE:30#FF0000:Critical on 30\n COMMENT:Default Template\r COMMENT:Check Command check_mge_battery\r
As I said above is correct, however if we displaying any live bandwidth graph, what is the default rate to refresh/update this and how to increase the auto refresh rate of it?
its all random, I think its for all the Host and all the Services
is there anyway to dig on the PID and found request coming from which source IP and who is initiating?
Regards