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

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

Make changes according to your router specifications. I made 3 times doing thisand after that mrtg9.cfg went fine.upon reading the indexmaker options on the documentation, i found additionaloptions being missed out. after I run this i get: -bash: /usr/lib/nagios/plugins/check_local_mrtgtraf: No such file or directory by the way when i installed nagios i ran this command: yum install nagios nagios-devel nagios-plugins* gd gd-devel thanks in advance.. check over here

I am sudo'ing into all these commands, so why am I locked out? kheimbuch, Sep 7, 2010 #11 chiragvaidya New Member graphs not geting generated in pnp nagios Hi, i m making graph for my 2950 cisco switch, i can able to get data These examples, should I create the /etc/mrtg/cpu.cfg /mem.cfg /memfree.cfg /mempercent.cfg /disk.cfg files? So I can access my graph through this link, http://localhost/mymrtg/_2.html Procedure to monitor Bandwidth Usages in Nagios: 1. http://www.debianadmin.com/mrtg-installation-and-configuration-in-debian-based-distributions-2.html

This mrtg.conf is not referenced anywhere else so I don't see what's the point. Next message: [mrtg] ERROR: "WorkDir" not specified in mrtg config file Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the mrtg Run this command to update mrtg log file.

How do I figure out mine? Stay logged in Sign up now! BLESSIMO eok on August 23, 2008 at 12:33 pm said: Hello, everything goes well until i try this: Make the Index Files #/usr/bin/indexmaker –output=/var/www/mrtg/index.html \ –title=”Memory and CPU Usage ” \ I had already installed mrtg but it has the same error.

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. what should i do about this? A short film showing how OnPage and Connectwise integration works. https://support.nagios.com/forum/viewtopic.php?f=7&t=11750 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

Please help. Accordingly it creates log file. There are no occurrences (not even commented) of "com2sec" in that file. If you want more documentation about MRTG check here Sponsored Link Related content: Linux SNMP OID's for CPU,Memory and Disk Statistics Monitor your Debian/Ubuntu System with saidar Fix for High CPU

i believe my nagios is installed in /etc/nagios but i don't see a plugins directory there. see this here Another copy of mrtg seems to be running. Privacy Policy Support Terms of Use Log in or Sign up Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Installation/Configuration > check_mrtgtraf: Unable to open MRTG log falko, Sep 4, 2010 #9 gads New Member hi, i have solved this problem, this is the things that i did: Install MRTG: To monitor bandwidth usages of router/switch you must

I have MRTG up and working, and would like to tie up the rest soon. http://tubee.net/error-unable/error-unable-to-read-config-file-usr-lib-ivl-fpga-conf.html My MRTG now works after about 2 weeks of sleepless nights trying to work out all the troubles and figuring out the errors from apt-get install to compilation. I can not seem to locate any of these files in the locations were you said they were located. Since I am monitoring multiple switches I had to modify some things.

Shouldn't it be the other way around? Go to respective location and make sure that above command has created respective files. Try the following command, making sure that you have the correct directories created: /usr/local/mrtg-2/bin/cfgmaker [email protected] --global 'WorkDir: 'var/www/mrtg/core/' --output=var/www/html/mrtg/core/router1.cfg /usr/local/mrtg-2/bin/indexmaker /var/www/html/mrtg/core/router1.cfg -output=/var/www/html/router/switch1.html Is there any special reason why you call the this content OnPage integration Connectwise Meet the Concerto Cloud Team Video by: Concerto Cloud Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment.

Thanks. 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, Mark_NL, Nov 22, 2012 #20 (You must log in or sign up to reply here.) Show Ignored Content Page 1 of 2 1 2 Next > Share This Page Tweet Log

Get 1:1 Help Now Advertise Here Enjoyed your answer?

The reason is that if you set RunAsDaemon to yes and put a cron job to run every 5 mins, it will complaint with this message ==> mrtg/mrtg.log <== ERROR: I Code: ls -al /var/www/html/mymrtg/10.0.1.1_2.log Click to expand... -rw-r--r--. 1 root root 55171 Nov 21 09:40 /var/www/html/mymrtg/10.0.1.1_2.log ilyar, Nov 21, 2012 #17 Mark_NL New Member What happens when you run the You should warn people about wrapping for the cpu.cfg file. Got any ideas.

Join our community for more solutions or to ask questions. 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 All rights reserved. http://tubee.net/error-unable/error-unable-to-open-config-file-mrtg-cfg.html In my previous thread (above), someone recommended that I use Nagios.

Using the "env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg" command would not work for multiple switches. I had MRTG running on an Ubuntu box about a year ago. cd /var/www/html/mrtg; ls -al /etc/httpd/conf/mrtg.cfg 7. cannot go ahead to monitoring disk, memory and cpu but only traffic analysis ?

I also had to make the appropriate change within the crontab file as well. crontab -e 11. Default installation directory of nagios is /usr/local/nagios/. 2. 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

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