Home > Error Unable > Error Unable To Open Config File Mrtg.cfg

Error Unable To Open Config File Mrtg.cfg

Gads - This worked out for me as well. There are no occurrences (not even commented) of "com2sec" in that file. By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. Thanks alot mate. :popcorn: Captain ColonoscopySeptember 10th, 2008, 04:43 AMI am also trying to get this working. check my blog

Add Cancel × Insert code Language Apache AppleScript Awk BASH Batchfile C C++ C# CSS ERB HTML Java JavaScript Lua ObjectiveC PHP Perl Text Powershell Python R Ruby Sass Scala SQL 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 Or are these already created? Nagios Support Forum Support for Nagios products and services Skip to content Advanced search Board index Change font size FAQ Register Login Information The requested topic does not exist. https://lists.oetiker.ch/pipermail/mrtg/2011-May/036526.html

It was originally set on 10024. 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 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.

Thanks for the suggestion though. You may get a better answer to your question by starting a new discussion. I searched it on google but i don’t get the proper answer..plz help me out.. These examples, should I create the /etc/mrtg/cpu.cfg /mem.cfg /memfree.cfg /mempercent.cfg /disk.cfg files?

I have written a reply - at the bottom of all messages - in response to your message. If your Debian system's IP address is then you'd type in the following in the address bar of a browser running on a system on the same network: Your falko, Sep 3, 2010 #7 kheimbuch New Member Nothing for me. Before installation please make sure you have install gd, libpng, zlib packages. 1.

It turns out that the existing cfg files are even more screwed up than I thought. Get 1:1 Help Now Advertise Here Enjoyed your answer? Make changes according to your router specifications. It is followed by: > [title] Creating a configuration file for a device using cfgmaker > #cfgmaker [emailprotected].0.1 >> /etc/mrtg.cfg So are we supposed to write localhost or the router's IP?

Other wise it would not update that file and it would give the error "MRTG data has expired". http://mrtg.oetiker.narkive.com/uQLriIQA/error-workdir-not-specified-in-mrtg-config-file Thanks in advance. So I tried looking inside Synaptic and found the mrtg packages. The only file I have in the /var/lib/mrtg/ directory is: _etc_mrtg.cfg kheimbuch, Sep 2, 2010 #5 gads New Member hi Mark, thanks for the reply, sorry for the late response...

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. click site I also believe you may have some issues because you seem to be mixing your directories a bit. 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. gads, Sep 3, 2010 #6 falko Super Moderator ISPConfig Developer Can you try Code: chown nagios:nagios /var/lib/mrtg/ ?

Now for my next project, i will MRTG the Cisco Catalyst. I try it and see what happens. 0 Mace OP Alex3031 Sep 4, 2013 at 3:59 UTC unfortunately tehre isn't always a clear uninstall path for software installed 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... news 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.

Join Now For immediate help use Live now! here is the result of the command " ls -al /var/lib/mrtg/ " : [[emailprotected] ~]# ls -al /var/lib/mrtg/ total 12 drwxr-xr-x 2 root root 4096 Jan 10 2007 . 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

That's the check that's failing after I change the host cfg file: check_local_mrtgtraf!/var/www/mrtg/!12000000,120000000!50000000,50000000!10 The 10124 MIB is the corrected port number.

Shouldn't it be the other way around? Should I just copy and past what is listed above for these .cfg files? indexmaker also choked on every single other .cfg file because it does not like " and wants " instead (no space). PST on Dec. 30th with the primary email address on your Experts Exchange account and tell us about yourself and your experience.

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. 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/!AVG!1000000,1000000!5000000,5000000!10 } gads, Sep 2, Forum Statistics Discussions: 54,254 Messages: 287,475 Members: 92,324 Latest Member: progressed36 Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Installation/Configuration > English | More about the author Default installation directory of nagios is /usr/local/nagios/. 2.

alalavin on July 27, 2008 at 10:17 am said: this is a wonderful site.