check_mrtgtraf: Unable to open MRTG log file
Posted: Sat Aug 31, 2013 2:32 am
I am receiving this error : check_mrtgtraf: Unable to open MRTG log file
while this is my servic econfiguration
define service{
use generic-service ; Inherit values from a template
host_name Babaee-Router-1
service_description Bandwidth Usage
check_command check_local_mrtgtraf!/var/lib/mrtg/router.log!AVG!1000000,1000000!5000000,5000000!10
name bandwidth-service
hostgroup_name switches,routers,firewalls
}
also I have created the /var/lib/mrtg/ directory and router.log file with chmod nagios.nagios
for now the nagios is installed on a virtual machine.
is there any idea how to solve it?
while this is my servic econfiguration
define service{
use generic-service ; Inherit values from a template
host_name Babaee-Router-1
service_description Bandwidth Usage
check_command check_local_mrtgtraf!/var/lib/mrtg/router.log!AVG!1000000,1000000!5000000,5000000!10
name bandwidth-service
hostgroup_name switches,routers,firewalls
}
also I have created the /var/lib/mrtg/ directory and router.log file with chmod nagios.nagios
for now the nagios is installed on a virtual machine.
is there any idea how to solve it?