Home > Error Unable > Error Unable To Open Config File /etc/mrtg/mrtg.conf

Error Unable To Open Config File /etc/mrtg/mrtg.conf

The command references 192.168.111.1, which is not even the address of the switch I'm trying to monitor. Based on what I normally use you should be using: /usr/local/mrtg-2/bin/indexmaker /var/www/html/mrtg/core/router1.cfg -output=/var/www/html/router/switch1.html 0 Message Author Comment by:appleharry ID: 194090022007-07-02 yep i tried this one also...but the same error ! iceflatline Says: May 29th, 2014 at 11:01 am Note: the steps in this post were amended to address changes in recent versions of software, notable Apache. If it does, then run [bash light="true"] sudo killall mrtg[/bash] to stop it and then start it again using the script [bash light="true"]sudo /etc/init.d/mrtg start[/bash] MrtgProblem Says: August 2nd, 2011 at this contact form

Mikko Says: December 14th, 2011 at 6:25 pm Greetings from Finland and thank you for great HOWTO. I also believe you may have some issues because you seem to be mixing your directories a bit. supernoob Says: February 11th, 2011 at 11:56 am Thank you very much for your reply and support, I did point it to the IP address of the host where I installed Reply Link Dimitris May 10, 2010, 5:38 pmVery nice tutorial and the result is a working MRTG !

really a very appreciated work man… Now i want to one things more…i got mrtg graph of my router Fast ethernet port 1 to 4 but Can u suggest me how One of the best guides i've ever seen. By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. Any ideas? :) iceflatline Says: February 14th, 2013 at 2:32 pm Odee, I'm confused.

The script is owned by root, executable, and the mrtg binary is owned by root. I try it and see what happens. 0 Mace OP Alex3031 Sep 4, 2013 at 3:59 UTC unfortunately tehre isn't always a clear uninstall path for software installed [email protected] Says: October 20th, 2011 at 1:13 am Hi Iceflatline, thank you very. Hope this helped!

Heath on July 13, 2007 at 6:46 pm said: In response to jamie: Make sure that you don't have an extra line break. Please help to solve the issue. Regards. Code: ls -al /var/lib/mrtg/ Mark_NL, Sep 2, 2010 #4 kheimbuch New Member Hey Mark I am having the same problem as Gads.

I'll update the post as soon as possible, but here's the fix: Open /etc/apache2/apache.conf with an editor, and add the following lines near the existing Directory directives (near the middle of I also wanted to check the config files for monitoring purposes, but it seems no MRTG map was created in etc/… did I do something wrong ? Using the updatedb and then locate command will show you the location of the plugin, you can just delete it once you find it. 0 Tabasco OP Scott5377 Thanks for the excellent guide.

I hope you got to eat ;-) Pocopico Says: September 16th, 2012 at 7:23 am Hi, nice write up. There's a 192.168.111.1_10024.log file, but the 192.168.111.1_10124.log file doesn't exist. 0 Mace OP Alex3031 Sep 4, 2013 at 4:57 UTC try this try running the command touch check_local_mrtgtraf!/var/www/mrtg/192.168.111.1_10124.log Use the -enablesnmpv3 {yes|no} option in cfgmaker. Small amounts of traffic won't show up on the graphs because we used the Unscaled statement So I've tried creating a config file by typing in sudo cfgmaker [email protected] > /etc/mrtg.cfgyet

Good luck and please post back when/if you discover an approach that works for you. http://netfiscal.com/error-unable/error-unable-to-read-config-file-usr-lib-ivl-fpga-conf.html I did not clearly identify the need to have a running http server. Hamish Says: September 23rd, 2009 at 11:21 pm Fantastic. thanks in advance...

Is it still showing in the package manager? Glad you were able to sort it out. So perhaps after you’ve done some tweaking on MRTG and are satisfied with the results, you can automate the process of running MRTG by using a startup script in your system navigate here I have always been using cron calling on mrtg with multiple configuration files and I feel comfortable with that.

Also, when running as a daemon, MRTG itself is responsible for timing the measurement intervals; therefore, we need to add the Interval line option and assign it a value - in You need the following packages:mrtg : Multi Router Traffic Graphernet-snmp and net-snmp-utils : SNMP (Simple Network Management Protocol) is a protocol used for network management. Thanks!

I'll try to sort this out as soon as I can and report back.

but you can make a master config. If it's currently running then substitute restart for start in the following command: sudo service mrtg start 1 sudo service mrtg start That's it. The countdown timer does sound useful. Thanks!

it give me some error Reply Link TnToast May 31, 2012, 4:53 pmI have followed all the steps above, done the checks along the way and when I got to the iceflatline Says: February 22nd, 2013 at 11:24 am Jan, thanks! I suspect there now needs to be further configuration in the Apache server in order to access the URl. his comment is here And i have found that my path for […] tony5at Says: December 24th, 2012 at 12:02 pm How about snmp v3???

and to keep it logical i want to give each switch it's own config file, i know i can doe it but now i also want to start al these different Thank you very much Reply Link Adnan Mubeen June 10, 2010, 1:50 pmHi there, I install Centos 5.5 , I have got one problem here during configuration mrtg please help me Glad you enjoyed it. I honestly don't know.

Cpu.cfg file WorkDir: /var/www/mrtg LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Target[localhost.cpu]:.1.3.6.1.4.1.2021.11.50.0&.1.3.6.1.4.1.2021.11.50.0:[emailprotected]+ .1.3.6.1.4.1.2021.11.52.0&.1.3.6.1.4.1.2021.11.52.0:[emailprotected]+.1.3.6.1.4.1.2021.11.51.0&.1.3.6.1.4.1.2021.11.51.0:[emailprotected] RouterUptime[localhost.cpu]: [emailprotected] MaxBytes[localhost.cpu]: 100 Title[localhost.cpu]: CPU Load PageTop[localhost.cpu]: Active CPU Load % Unscaled[localhost.cpu]: ymwd ShortLegend[localhost.cpu]: % YLegend[localhost.cpu]: CPU Utilization Legend1[localhost.cpu]: Active CPU in I'm starting over and installing apache and snmpd before I install mrtg. I believe your answer to this will make me smile ;) Thanks. Try the command again but make sure that you do not have any extra spaces.

Jargalan Says: November 2nd, 2010 at 3:05 pm thats very coooool :) thanks a lot from Mongolia UB luckysanj Says: January 17th, 2011 at 2:37 am That's great job…Thanks alot from There are no graphs showing (not even placeholders for the graph boxes). 1. I did have some trouble finding the RDDs.pm tool, but a quick "apt-get install librrds-perl" fixed everything! Good luck!

ThanksBest Regards Adnan Mubeen Reply Link Greg September 15, 2010, 2:32 amMake sure you have this line. Please help. iceflatline Says: May 25th, 2014 at 11:15 am bhesterberg, apparently the latest version of Apache (2.4.7-1ubuntu4) shipping with Ubuntu 14.04 LTS no long allows local sub-directories under the document root without Those are the last steps into configuring everything I need - once I'm done with this I can monitor the router traffic and tie it in with Nagios.

Unlike Windows you can generally manually delete the files froma  given location without issue.

© Copyright 2017 netfiscal.com. All rights reserved.