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

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

I searched it on google but i don’t get the proper answer..plz help me out.. This is a semester long project. Now you need not to create mrtg configuration file. Also cpu.cfg and mem.cfg don't have any tag in the PageTop property so that indexmaker choked on them. this contact form

Patoflash Troma on December 11, 2008 at 9:58 am said: Hi all ! It works perfectly fine. The reason for this is because I am capped at 100Gbs up/down combined, and I wanna make sure that every month I don't go overboard with downloading. The only thing I had to do was modify some of the file location paths.

alalavin on July 27, 2008 at 10:17 am said: this is a wonderful site. This seems to be the best help for me right now. It was originally set on 10024. This is the third Centos I am trying today.

I dont want every single site to be shown in the localhost/mrtg when i view them in my browser. Perhaps I should uninstall/reinstall? 0 Mace OP Alex3031 Sep 3, 2013 at 6:50 UTC Yea that's what I suggest. 0 Tabasco OP Scott5377 Sep 4, I had MRTG running on an Ubuntu box about a year ago. Verify the configuration of nagios /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 6.

It turns out that the existing cfg files are even more screwed up than I thought. Since I am monitoring multiple switches I had to modify some things. 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 https://support.nagios.com/forum/viewtopic.php?f=7&t=11750 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

This means site1.cfg site2.cfg site3.cfg and so on. Or are these already created? Anyone trying this at all? If you are experiencing a similar issue, please ask a related question Suggested Solutions Title # Comments Views Activity linux, squid, exchange 14 131 167d Running Guacamole on port 80 5

No need to have a different config file for every switch. http://mrtg.oetiker.narkive.com/uQLriIQA/error-workdir-not-specified-in-mrtg-config-file Try againg cfgmaker , indexmaker and mrtg commands. Connect with top rated Experts 17 Experts available now in Live! 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

Also, why run this cfgmaker command after indexmaker? http://netfiscal.com/error-unable/error-unable-to-read-config-file-usr-lib-ivl-fpga-conf.html So, I went in, ran the cfgmaker command to create configs for the two switches, and did the cat command to append them to my config. access MyRWGroup "" any noauth exact all all noneThe snmpwalk must work before anything else will work.Re Greg Reply Link oat June 21, 2011, 9:59 pmHi all, I am having same beko on December 25, 2006 at 11:02 am said: I got this error: [emailprotected]:/home/beko# cfgmaker [emailprotected] > /etc/mrtg.cfg SNMP Error: no response received SNMPv1_Session (remote host: "localhost" [127.0.0.1].161) community: "public" request

But when I got to monitoring router traffic, I saw that Nagios needed to run with MRTG (http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html). The NET-SNMP project includes various SNMP tools. So, I corrected the MIBs for the ports, but now I get this error. navigate here 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.

Use cfgmaker. I went into the software manager, and found check_mk and can remove it from there, but I did that yesterday, and that seemed to have no effect. 0 Download MRTG using yum install mrtg 2.

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. 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 was done for each switch so that I knew which output file to point the nagios check_mrtgtraf command to in the switch.cfg file. 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

gads, Sep 3, 2010 #6 falko Super Moderator ISPConfig Developer Can you try Code: chown nagios:nagios /var/lib/mrtg/ ? Created a new mrtg.cfg file, but now it's saying that the data is expired even though I can see the timestamps updating in the folder. 0 Mace OP 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. his comment is here The memfree.cfg, mempercent.cfg and disk.cfg sample files are missing the WorkDir directive so that they don't work.

Confirm that it is been configured. insert the code below and save, */5 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/mymrtg.cfg –logging /var/log/mrtg.log */5 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/httpd/conf/mrtg.cfg --logging /var/log/mrtg.log 12. Awesome job figuring this out gads. Finally, why does the last cfgmaker command write to /etc/mrtg/mrtg.conf rather than /etc/mrtg.cfg?

Also the "Creating Jobs for CPU, Memory and disk usuage", do I create these files , the one for cron.mrtg/cpu /mem /memfree /mempercent /disk. Someone please help! boast on April 18, 2007 at 6:49 pm said: I don't get it. [ Error writing /etc/cron.mrtg/cpu: No such file or directory ] jamie on July 13, 2007 at 4:02 pm 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.

define service{ use generic-service ; Inherit values from a template host_name Router_1 ; The name of the host the service is associated with service_description PING ; The service description check_command check_ping!200.0,20%!600.0,60% Reply Link Dimitris May 10, 2010, 5:38 pmVery nice tutorial and the result is a working MRTG !

© Copyright 2017 netfiscal.com. All rights reserved.