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

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

Use of uninitialized value $first in hash element at /usr/bin/indexmaker line 353. SupermanInNY Says: June 12th, 2012 at 7:29 pm Thanks. 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. Restart nagios service. /etc/init.d/nagios restart gads, Sep 6, 2010 #10 kheimbuch New Member falko- No I had tried that already and it did not work... check my blog

Reply Subscribe RELATED TOPICS: check_mrtgtraf: Unable to open MRTG log file net-snmp missing plugin nagios net-snmp missing plugin 1 2 Next ► 26 Replies Mace OP Helpful Post indexmaker also choked on every single other .cfg file because it does not like " and wants " instead (no space). Okay, so now that we have MRTG installed, configured and running let’s move on and discuss how to keep it running. nothing appears to me.

So I tried looking inside Synaptic and found the mrtg packages. sudo cfgmaker -output /etc/mrtg/mrtg.cfg [email protected]'s-IP-address [email protected]'s-IP-address Any suggestion is highly appreciated. Even then it didn't do exactly what I wanted it to do. Thank for your replying.

The memfree.cfg, mempercent.cfg and disk.cfg sample files are missing the WorkDir directive so that they don't work. falko, Sep 3, 2010 #7 kheimbuch New Member Nothing for me. http://www.hardfolding.com/ftag1.php/mem/148779.png (http://www.hardfolding.com?go=38&id=148779) alynxOctober 3rd, 2008, 08:32 AMHi I got a new "problem" at hand. However, do I need to make any changes in any of the snmpd.conf files?

I am running 10.04.3 and it seems to work fine for me as of a few minutes ago. No, create an account now. Yannis iceflatline Says: October 26th, 2012 at 9:33 am Yannis, thanks for the kind words. https://ubuntuforums.org/archive/index.php/t-829021.html Confirm that it is been configured.

No need to have a different config file for every switch. Take a look at this http://www.cyberciti.biz/faq/fedora-rhel-install-cacti-monitoring-rrd-software

Plus there for switches there is little to no monkeying around in the text file configuration to get them it's point and click take a iceflatline Says: July 25th, 2012 at 9:57 am Henz, thank you. I have not used MRTG on Ubuntu in some time; electing instead to use the RRD features native to the pfSense firewall I am running.

If for some reason these steps don't get you running, then you might trying running MRTG under cron. Hope this helped! See http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html parvez Says: January 9th, 2013 at 5:31 pm hi, i need help please i can not run the script sudo /etc/init.d/mrtg start = command not found please help iceflatline I'm glad it's working for you.

I have followed the same steps. click site Can you help me with the aggregation? 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 ? couzin2000July 4th, 2008, 12:09 PMI found this file going on about MRTG, in a Debian help site: http://www.debianhelp.co.uk/mrtg.htm.

Other minor editorial corrections were also made. This is the third Centos I am trying today. MRTG generates HTML pages containing PNG images which provide a LIVE visual representation of this traffic. news Andrew Says: January 23rd, 2012 at 8:02 am Hello.

ERROR: "WorkDir" not specified in mrtg config file I dont know where the problem is coming from as my directives are found in my mrtg.cfg [root at kuto3 ~]# rpm -qa iceflatline Says: May 28th, 2014 at 8:07 am bhesterberg, no problem. I am trying to get MRTG to work with SNMP Version 3 which doesn't use a community.

You're welcome, I'm glad the post was of help to you.

Yannis Says: October 25th, 2012 at 5:20 pm Hello. If a graph looks like there's no data on it, click on it and check the statistics to see if any traffic is being seen. can any one can help me regarding this…. So I can access my graph through this link, http://localhost/mymrtg/_2.html Procedure to monitor Bandwidth Usages in Nagios: 1.

tony Says: October 2nd, 2012 at 12:11 pm scaling issue….. If you click on any one of these graphs you’ll be taken to another page showing individual graphs for 30 minute, two hour, and daily averages, along with the maximum, average, iceflatline Says: January 25th, 2012 at 11:03 am Andrew: Thanks for your kind comments and taking the time to post. More about the author Now, I have a quick question.

Helped me and a few friends a lot. :) Suhail Says: December 15th, 2011 at 10:49 am Thanks guys, for the simple how to guide!! Or they say, so simply set up software xyz and you'll be fine. Check doc/reference.txt for Help Any ideas? MrtgProblem Says: August 4th, 2011 at 3:42 am if i want start mrtg sudo env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg [sudo] password for black: 2011-08-04 09:40:23: ERROR: Creating templock /var/lock/mrtg/_etc_mrtg_mrtg.cfg_l_5603: No such file

If you are using the wrong community name you will get no response from the device. More information about this error may be available in the server error log. (I am a newbie to Linux)…please help. So I went ahead and took a look at what the documentation said. The target is the ‘localhost' itself, to monitor it's own traffic.

Sections About Author Contact Debian Hosting Popular Posts Privacy Policy Sitemap Debian Admin Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips Categories Backup Database Free-Tools General Monitoring Network Other Linux Package-Mgmt Security Webserver MRTG Any ideas? :) iceflatline Says: February 14th, 2013 at 2:32 pm Odee, I'm confused. Instructions on how to use that option are located in the cfgmaker documentation at the mrtg web site. rashmani Says: December 16th, 2011 at 10:47 am Hey iceflatline, just performed a test (ubuntu) and a production (debian) install following your tutorial: everything went veeery smooth.

Small amounts of traffic won't show up on the graphs because we used the Unscaled statement Some of examples how to monitor cpu , memory , Disk usage CPU Usage /etc/mrtg/cpu.cfg Analyze its error log at /var/log/apache2/error.log to help determine what the problem might be. Also in your instructions it says when using the cfgmaker to use the ipaddress of my router. This means site1.cfg site2.cfg site3.cfg and so on.

Make changes according to your router specifications. Purportedly Windows is supported, although I have not tried to install it myself. Glad you got it up and running. It's free: ©2000-2016 nixCraft.

I have always been using cron calling on mrtg with multiple configuration files and I feel comfortable with that. Leave a comment Cancel reply Your email address will not be published. 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. Then, run perl mrtg .cfg from your ~:\mrtg\bin directory.