
22nd November 2012, 01:26
|
|
Junior Member
|
|
Join Date: Nov 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Mark_NL
ow damn, the command is wrong, should be "check_mrtgtraf"
try to cd into /usr/lib/nagios/plugins, does that dir exist?
find your nagios plugin dir (should be defined in your nagios config somewhere)
then correct the command to reflect the correct location and run it.
|
This is what i get when i run the command you mentioned.
[root@NAGIOS01 /]# /usr/lib64/nagios/plugins/check_mrtgtraf -F /var/www/html/mymrtg/10.0.1.1_2.log -a AVG -w 1000000,1000000 -c 5000000,5000000 -e 10
Traffic OK - Avg. In = 141.3 KB/s, Avg. Out = 11.1 KB/s|in=141.305664KB/s;1000000.000000;5000000.000000;0.000000 out=11.091797KB/s;1000000.000000;5000000.000000;0.000000
|