Good afternoon everyone,
I'm Diego, I've just installed Nagios on my RedHat 6.4 Virtual Machine (on VMware Workstation) to monitor my corp switches. I also installed mrtg for monitoring ports. The thing is that when I click on a SW, it shows me 2 errors:
- For Port 1 Bandwidth Usage: check_mrtgtraf: Unable to open MRTG log file.
- For Port 1 Link Status and Uptime: Plugin timed out while executing system call.
I have tried thousands of things on forums or youtube, but it keeps showing me these errors. Please, can an internship guy get some help? THANK YOU!
Help! check_mrtgtraf: Unable to open MRTG log file
-
- Posts: 4
- Joined: Thu May 09, 2019 1:57 pm
Re: Help! check_mrtgtraf: Unable to open MRTG log file
Please send the output of these commands:
Code: Select all
ls -ld /var/lib/mrtg
ls -l /var/lib/mrtg
-
- Posts: 4
- Joined: Thu May 09, 2019 1:57 pm
-
- Posts: 4
- Joined: Thu May 09, 2019 1:57 pm
Re: Help! check_mrtgtraf: Unable to open MRTG log file
Is that what you were asking for? lol I'm not so good at RHEL to be honest :/
Re: Help! check_mrtgtraf: Unable to open MRTG log file
You use MRTG to create the files in /var/lib/mrtg which creates the MRTG log, since it doesn't look like you have anything setup to do that there are no MRTG log files (or RRD files) in /var/lib/mrtg.
You will need to configure MRTG to scan your devices to create those, see here:
And here:
You will need to configure MRTG to scan your devices to create those, see here:
Code: Select all
https://oss.oetiker.ch/mrtg/
Code: Select all
http://bigunix.blogspot.com/2009/07/how-to-monitor-bandwidht-using-mrtg-and.html
-
- Posts: 4
- Joined: Thu May 09, 2019 1:57 pm
Re: Help! check_mrtgtraf: Unable to open MRTG log file
I did install MRTG and stuff, but as I saw no good configuration about it, I hashed the changes I did on those files..
I will try again with that second link you sent, thank you very much
I will try again with that second link you sent, thank you very much
Re: Help! check_mrtgtraf: Unable to open MRTG log file
Please keep us posted!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.