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

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

Make changes according to your router specifications. 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. One of which said that the parent I was trying to put it on didn't exist. Francois Gouget on February 15, 2007 at 12:41 pm said: Some notes: The snmpd restart command has a typo. check over here

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. 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. Open switch.cfg file nano /etc/nagios/objects/switch.cfg 3. Check /etc/mrtg.pid Please Help! Read More Here

By the way, i completed all this on Debian…. Last I tried creating the index with the line sudo indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.htmland still the same error message. MRTG is Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network links. I am also running snmp version 5.3.2.2.

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 That's the check that's failing after I change the host cfg file: check_local_mrtgtraf!/var/www/mrtg/192.168.111.1_10124.log!12000000,120000000!50000000,50000000!10 The 10124 MIB is the corrected port number. cd /var/www/html/mrtg; ls -al /etc/httpd/conf/mrtg.cfg 7. Since you have to re-run this command every time you make certain changes to the /etc/mrtg.cfg configuration file.

Finally, why does the last cfgmaker command write to /etc/mrtg/mrtg.conf rather than /etc/mrtg.cfg? I need some help. 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. I had already installed mrtg but it has the same error.

Thanks in advance. 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. This is the third Centos I am trying today. ERROR: CFG Error Unknown Option "sscpurawnice.0&sscpurawnice.0" on line 5 or above.

The only thing I had to do was modify some of the file location paths. http://mrtg.oetiker.narkive.com/uQLriIQA/error-workdir-not-specified-in-mrtg-config-file NOTE: For Outlook 2016 and 2013 perform the exact same steps. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Need to get it running on a new box that is also running NAGIOS successfully.

Learn More Question has a verified solution. http://tubee.net/error-unable/error-unable-to-read-config-file-usr-lib-ivl-fpga-conf.html here is the script of my switch.cfg: define service{ use generic-service ; Inherit values from a template host_name distributed_switch service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5000000,5000000!10 } gads, Sep 2, How do I figure out mine? our local server.Finally, run indexmaker to create web pages which display the status of an array of mrtg interface status pages: # indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfgStep # 4: Verify Cron Job/etc/cron.d/mrtg runs

Next message: [mrtg] ERROR: "WorkDir" not specified in mrtg config file Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the mrtg This got me as I copy/pasted (copy/pasting from the website is very strange, it also nukes dashes and quotes). Reply Link DaveP May 14, 2014, 9:59 pmGreat work! this content This mrtg.conf is not referenced anywhere else so I don't see what's the point.

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 There is also no need to extra add any line in crontab. Is there anything I need to change to be specific for my devices?

Note that you can use the 1st slots but usually these would be occupied by the Service Provide… Linux Networking How to remove email addresses from autocomplete list in Outlook 2016,

Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We Trider.dk on September 15, 2009 at 6:45 pm said: ERROR: I Quit! set workdir to store MRTG graphs.-output /etc/mrtg/mrtg.cfg: configr output [email protected] : public is the community name of the device you want to create a configuration for. How can I resolve this?Any help will be appreciated.Regards.

On the other hand though the positive is that just deleting the scripts or binaries created isn't as deadly as it can be ona windows box. 0 Tabasco No, create an account now. I would be very greatful! http://tubee.net/error-unable/error-unable-to-open-config-file-mrtg-cfg.html So here it is.[***@kuto3 ~]# indexmaker --output=/var/www/mrtg/index.html/etc/mrtg/mrtg.cfg /etc/mrtg/mrtg9.cfg[***@kuto3 ~]#Voila!!!Restart httpd daemon[***@kuto3 ~]# service httpd restartStopping httpd: [ OK ]Starting httpd: [ OK ][***@kuto3 ~]# service snmpd restartStopping snmpd: [ OK ]Starting

All rights reserved. Since you have to re-run this command every time you make certain changes to the /etc/mrtg.cfg configuration file, Creating index file for the webserver using #indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html Now you It also said that it couldn't connect to the host on the port that it was trying to use.