check_mrtgtraf: Unable to open MRTG log file
Posted: Thu Oct 02, 2014 9:59 am
I am sorry if there is a solution already and I missed it but I tried everything and I could not get it working.
http://support.nagios.com/forum/viewtop ... 23&p=78499
http://support.nagios.com/forum/viewtop ... f=7&t=8606
I think MRTG is working as I can see only one graph here but error in nagios Core Version 4.0.8.
http://192.168.3.2/mrtg/index.html
Permissions are as follows
-rwxr-xr-x 1 nagios nagios 110343 Oct 2 14:50 /usr/local/nagios/libexec/check_mrtgtraf
ls -la /etc/mrtg/
drwxr-xr-x. 2 root root 4096 Oct 2 15:27 .
drwxr-xr-x. 120 root root 12288 Oct 2 13:53 ..
-rw-r--r-- 1 root root 0 Oct 2 10:36 mrtg_252.cfg_l
-rw-r--r-- 1 root root 25078 Oct 2 12:04 mrtg2.cfg
-rw-r--r-- 1 nagios nagios 25078 Oct 2 15:30 mrtg.cfg
-rw-r--r-- 1 root root 0 Oct 2 13:48 mrtg.cfg_l
-rw-r--r--. 1 root root 45727 Sep 29 10:53 mrtg.cfg.rpmsave
-rw-r--r--. 1 root root 0 Oct 2 10:53 mrtg.ok
-rw-r--r-- 1 root root 25094 Oct 2 15:16 mymrtg.cfg
-rw-r--r-- 1 root root 0 Sep 29 11:10 mymrtg.ok
[root@nagios tmp]# ls -lad /etc/mrtg/
drwxr-xr-x. 2 root root 4096 Oct 2 15:27 /etc/mrtg/
I have spent over a week on it. FYI I am just a beginner on Linux but I can find my way around thanks to all your help.
http://support.nagios.com/forum/viewtop ... 23&p=78499
http://support.nagios.com/forum/viewtop ... f=7&t=8606
I think MRTG is working as I can see only one graph here but error in nagios Core Version 4.0.8.
http://192.168.3.2/mrtg/index.html
Permissions are as follows
-rwxr-xr-x 1 nagios nagios 110343 Oct 2 14:50 /usr/local/nagios/libexec/check_mrtgtraf
ls -la /etc/mrtg/
drwxr-xr-x. 2 root root 4096 Oct 2 15:27 .
drwxr-xr-x. 120 root root 12288 Oct 2 13:53 ..
-rw-r--r-- 1 root root 0 Oct 2 10:36 mrtg_252.cfg_l
-rw-r--r-- 1 root root 25078 Oct 2 12:04 mrtg2.cfg
-rw-r--r-- 1 nagios nagios 25078 Oct 2 15:30 mrtg.cfg
-rw-r--r-- 1 root root 0 Oct 2 13:48 mrtg.cfg_l
-rw-r--r--. 1 root root 45727 Sep 29 10:53 mrtg.cfg.rpmsave
-rw-r--r--. 1 root root 0 Oct 2 10:53 mrtg.ok
-rw-r--r-- 1 root root 25094 Oct 2 15:16 mymrtg.cfg
-rw-r--r-- 1 root root 0 Sep 29 11:10 mymrtg.ok
[root@nagios tmp]# ls -lad /etc/mrtg/
drwxr-xr-x. 2 root root 4096 Oct 2 15:27 /etc/mrtg/
I have spent over a week on it. FYI I am just a beginner on Linux but I can find my way around thanks to all your help.