Nagios RRD report
Posted: Mon Apr 02, 2018 5:03 am
Nagios reporting:
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
MAX:"%6.2lf max"
rrdtool graph Load.rrd --start 1519848000 --end 1522526399 DEF:v=Load.rrd:1:LAST PRINT
LAST:"%6.2lf last"
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
MAX:"%6.2lf max"
rrdtool graph Swap_Usage.rrd --start 1519848000 --end 1522526399 DEF:v=Swap_Usage.rrd:1:LAST PRINT
LAST:"%6.2lf last"
rrdtool graph Swap_Usage.rrd --start 1519848000 --end 1522526399 DEF:v=Swap_Usage.rrd:1:AVERAGE PRINT
AVERAGE:"%6.2lf avg"
Ping:
-----
rrdtool graph Ping.rrd --start 1519848000 --end 1522526399 DEF:v=Ping.rrd:2:MAX PRINT
MAX:"%6.2lf max"
rrdtool graph Ping.rrd --start 1519848000 --end 1522526399 DEF:v=Ping.rrd:1:LAST PRINT
LAST:"%6.2lf last"
rrdtool graph Ping.rrd --start 1519848000 --end 1522526399 DEF:var=Ping.rrd:1:AVERAGE PRINT:var:AVERAGE:"%6.2lf avg
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