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

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

iceflatline Says: January 13th, 2013 at 11:55 am verb, it appears to me that something in the SNMP implementation in your server may be setup incorrectly. On your Debian,ubnutu,kubuntu systems the path of this subdirectory is: /var/www/mrtg Now you need to edit the mrtg configuration file to edit the some of the settings File is located at In that step I did not intend for you to literally use the URL "http://your-server-address/mrtg". iceflatline Says: June 21st, 2014 at 9:40 am ray-damji, I'm not sure. check over here

alynxNovember 4th, 2008, 09:02 AMhi The case was solved this way http://ubuntuforums.org/showthread.php?t=936782 Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. I ran into this problem: -base: Get Device Info on [email protected]: SNMP Error: no response received SNMPv1_Session (remote host: "192.168.1.74" [192.168.1.74].161) community: "public" request ID: 973983866 PDU bufsize: 8000 bytes timeout: A quick google search, however, suggests their are instructions a plenty out there on how to configure SNMP on Linux, including Ubuntu server. It alll works at it always has but no mail ever arrives anymore on the root local mailbox (it used to do that with mrtg on opensuse). directory

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 snmpd has no output. ERROR: Please fix the mistake (s) in your config file   How could I fix this? Once something is plugged into the port it will start reading the bandwidth once it refreshes.

If so, it's unclear to me why you would be getting that error. Downloaded, installed all is good, but I don't even know where to start using it: not sure if the daemon is running, not sure how to access the graph, how to 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. Can you advise if you know where I can locate the correct syntax for this line please, I haver been searching for a few days now :( sudo cfgmaker -output=/etc/mrtg/mrtg.cfg [email protected]'s-IP-address

If there is not, you might try running the cfgmaker command again, making sure that you have correctly specified the SNMP community name and address of your device. find your nagios plugin dir (should be defined in your nagios config somewhere) then correct the command to reflect the correct location and run it. to resolve, add the necessary backslashes. https://ubuntuforums.org/archive/index.php/t-829021.html if you are writing a file for each device and you have probably forgot to include those files in the main mrtg.cfg.

You're welcome, I'm glad the post was of help to you. Thanks! Thanks! I did have some trouble finding the RDDs.pm tool, but a quick "apt-get install librrds-perl" fixed everything!

Finally, why does the last cfgmaker command write to /etc/mrtg/mrtg.conf rather than /etc/mrtg.cfg? Thanks for the kind words. Perhaps the SNMP daemon in that host is mis-configured? Perhaps directory/file permissions on /var/www/mrtg?

Join Now I have an existing implementation of Nagios on a CentOS 6.2 box, and after installing check_mk on the server, discovered that we were monitoring incorrect ports on our switches. http://tubee.net/error-unable/error-unable-to-read-config-file-usr-lib-ivl-fpga-conf.html Glad it worked for you. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. 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

Thanks for any help anyone can provide 🙂 Ch33rz, Troma Lawrence Giam on March 24, 2009 at 7:09 am said: Hi there, Tried installing MRTG on Debian Etch with the standard I also believe you may have some issues because you seem to be mixing your directories a bit. When I browse to the http://192.168.5.234/mrtg I get a The requested URL /mrtg was not found on this server. http://tubee.net/error-unable/error-unable-to-open-config-file-mrtg-cfg.html Simply append the additional URL to the cfgmaker command described above, like this: [text light="true"] sudo cfgmaker -output /etc/mrtg/mrtg.cfg [email protected]'s-IP-address [email protected]'s-IP-address [/text] See http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html Ammar Says: July 12th, 2010 at 10:27

If you are experiencing a similar issue, please ask a related question Suggested Solutions Title # Comments Views Activity LDAP search filter 5 77 316d how to view remote client's ipv6 In my previous thread (above), someone recommended that I use Nagios. is there a quick snmp config file that I can use?

I guess the tutorial lags proper explanation regarding these, Can anyone help in this matter, I googled for some time but cannot come up with a solution to cpu, disk, memory

iceflatline Says: September 30th, 2009 at 6:41 pm pym93, thanks! Check /usr/share/doc/mrtg/mrtg-reference.txt.gz for Help Cezary on January 13, 2010 at 1:07 pm said: It worked with translated textual MIBs to OIDs, PageTop missing H1 error was corrected by specifying PageTop[localhost.cpu]: Active I am trying to get MRTG to work with SNMP Version 3 which doesn't use a community. Reply Link Dimitris May 10, 2010, 5:38 pmVery nice tutorial and the result is a working MRTG !

I have written a reply - at the bottom of all messages - in response to your message. Are you saying that MRTG will start if you use the command sudo env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg, but not if you use the script? It appears MRTG isn't starting for you. have a peek at these guys ask123 Says: September 28th, 2009 at 8:13 am HI, thats great , but I've problem with this startup script, after Ubuntu bootup it's telling me: /etc/rc2.d/S99mrtg: 49: -daemon: not found And

This means that every five minutes MRTG will poll the SNMP service in your gateway\router and update its graphs. I hope you got to eat ;-) Pocopico Says: September 16th, 2012 at 7:23 am Hi, nice write up. It has a web-based interface for managing graphs and a very slick graphical presentation. then i made indexmaker for all the new cfg files and that works out aswell.

Verb Says: January 13th, 2013 at 4:30 pm Hi Ice, I tried to set up the SNMP on my Ubuntu Server last night; with no success. Make sure its daemon is running, review the configuration steps, etc. iceflatline Says: May 19th, 2013 at 9:08 am Lihazna, Have you checked whether there is indeed any data in /etc/mrtg/mrtg.cfg? Also not sure where the log files are located but I would see if I can find them maybe delete them try to let MRTG recreate them.   Try removing and

I would be very greatful!