Re: pnp4nagios 0.6.25 BULK Mode with NPCD
Posted: Thu Nov 12, 2015 10:33 pm
Thank you very much!!!
check_local_mrtgtraf!/var/www/mrtg/192.168.199.1_5.log!AVG!11250000,11250000!11875000,11875000!10
The value of 10 at the end might be the -e expires_minutes by looking at the check_mrtgtraf help, this service check actually came with nagios core when I installed it (it was in switch.cfg), I only modified the warning and critical pairs
Still not sure if this part is right, I am probably totally wrong:
166.028320 KB/s
11250000.000000 B/s
check_mrtgtraf uses Bytes per second while pnp4nagios is using KiloBytes per second, is it possible that pnp4nagios just thinks 11250000.000000 B/s are actually KB/s
Code: Select all
# 'check_local_mrtgtraf' command definition
define command{
command_name check_local_mrtgtraf
command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$
}
Code: Select all
Usage check_mrtgtraf -F <log_file> -a <AVG | MAX> -w <warning_pair> -c <critical_pair> [-e expire_minutes]
./check_mrtgtraf --version
check_mrtgtraf v2.0.3 (nagios-plugins 2.0.3)
The value of 10 at the end might be the -e expires_minutes by looking at the check_mrtgtraf help, this service check actually came with nagios core when I installed it (it was in switch.cfg), I only modified the warning and critical pairs
Still not sure if this part is right, I am probably totally wrong:
Code: Select all
Found Performance Data for something-router / Tunnel0 (in=166.028320KB/s;11250000.000000;11875000.000000;0.000000 out=89.237305KB/s;11250000.000000;11875000.00$
11250000.000000 B/s
check_mrtgtraf uses Bytes per second while pnp4nagios is using KiloBytes per second, is it possible that pnp4nagios just thinks 11250000.000000 B/s are actually KB/s