Hi team,
When we tried to gather utlization report from the RRD tool directory in Nagios server for a particular host for a period of month with the below details. We are getting the average values as per the graph from Performance graph But the max value and last value is completely not matching,
Below were the commands used
Load:
-----
rrdtool graph Load.rrd --start 1519848000 --end 1522526399 DEF:v=Load.rrd:3:MAX PRINT
rrdtool graph Load.rrd --start 1519848000 --end 1522526399 DEF:v=Load.rrd:1:LAST PRINT
rrdtool graph Load.rrd --start 1519848000 --end 1522526399 DEF:var=Load.rrd:3:AVERAGE PRINT:var:AVERAGE:"%6.2lf avg"
Swap Usage:
-----------
rrdtool graph Swap_Usage.rrd --start 1519848000 --end 1522526399 DEF:v=Swap_Usage.rrd:1:MAX PRINT
rrdtool graph Swap_Usage.rrd --start 1519848000 --end 1522526399 DEF:v=Swap_Usage.rrd:1:LAST PRINT
rrdtool graph Swap_Usage.rrd --start 1519848000 --end 1522526399 DEF:v=Swap_Usage.rrd:1:AVERAGE PRINT
Ping:
-----
rrdtool graph Ping.rrd --start 1519848000 --end 1522526399 DEF:v=Ping.rrd:2:MAX PRINT
rrdtool graph Ping.rrd --start 1519848000 --end 1522526399 DEF:v=Ping.rrd:1:LAST PRINT
rrdtool graph Ping.rrd --start 1519848000 --end 1522526399 DEF:var=Ping.rrd:1:AVERAGE PRINT:var:AVERAGE:"%6.2lf avg