View Single Post
  #3  
Old 20th December 2012, 14:46
mpi mpi is offline
Junior Member
 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nagios with MRTG

Hi all,

Im using nagios and mrtg ... mrtg is installed and i can see the graphs on http://localhost/mrtg ... and on nagios in the switch.cfg file i have the following

Quote:
define service{
use generic-service ; Inherit values from a template
host_name RouterCiscoT
service_description Port 1 Bandwidth Usage
check_command check_local_mrtgtraf!/var/www/mrtg/172.25.0.56_fa0_1.log!AVG!1000000,1000000!5000000, 5000000!10
}
but check_local_mrtgtraf is for local machine (if im not ling my self) and if i used check_mrtgtraf im getting an error while restarting nagios /etc/init.d/nagios restart ... is there any solution for this ??/ what im doing wrong ???
Reply With Quote