Page 4 of 7
Re: check_mrtgtraf
Posted: Mon May 01, 2017 11:42 am
by tgriep
You had some typo's when you ran the command last time. Can you run it again?
Before posting the mrtg.txt file, take a look at is and see if it is valid and if there are any clues on why it is not running on your system.
Re: check_mrtgtraf
Posted: Mon May 01, 2017 12:15 pm
by jmac727
I apologize for that. Here is the corrected version.
Re: check_mrtgtraf
Posted: Mon May 01, 2017 12:32 pm
by tgriep
I have attached 2 config files to this post.
Download them and the one called mrtg.cfg, overwrite your /etc/mrtg/mrtg.cfg file with the one from the post.
Then, lets clear out and configuration files by running the following as root.
The attachment called, 192.168..2.126.cfg put is in the following folder.
See if that fixes the issue.
Re: check_mrtgtraf
Posted: Mon May 01, 2017 4:25 pm
by jmac727
No dice. I ran the debug line again and attached the resulting .txt files.
Re: check_mrtgtraf
Posted: Mon May 01, 2017 4:32 pm
by tgriep
This error from the file needs to be resolved.
ERROR: could not find rrdtool. Use PathAdd: in mrtg.cfg to help mrtg find rrdtool
You need to install the following packages on your server as MRTG needs them to create the rrd files.
Re: check_mrtgtraf
Posted: Mon May 01, 2017 4:38 pm
by jmac727
I did
Do I need to do anything for the rrdtool-perl?
Re: check_mrtgtraf
Posted: Mon May 01, 2017 4:44 pm
by jmac727
Newest .txt doc
Re: check_mrtgtraf
Posted: Mon May 01, 2017 4:44 pm
by tgriep
The ubuntu package is called so run the following to install it
Re: check_mrtgtraf
Posted: Mon May 01, 2017 4:53 pm
by jmac727
Ok. I ran that. Restarted the whole machine and reran the debug and it comes back with no error in the .txt file. Still nothing.
Re: check_mrtgtraf
Posted: Mon May 01, 2017 5:03 pm
by tgriep
Lets recreate the config file for your router.
Run the following command to recreate it but make sure you update any of the settings.
Code: Select all
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 [email protected]:161::::2 >/etc/mrtg/conf.d/192.168.2.126.cfg