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

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

Admin on December 25, 2006 at 1:52 pm said: this error related to SNMP response from your client check snmp is configured properly or not ShinejikidS on February 6, 2007 at Thank you very much Reply Link Adnan Mubeen June 10, 2010, 1:50 pmHi there, I install Centos 5.5 , I have got one problem here during configuration mrtg please help me When I try to run "indexmaker -output=/var/www/html/mymrtg/index.html /etc/mrtg/mymrtg.cfg", I get the error message "use of uninitialized value in hash element at usr bin indexmaker line 352". I have MRTG up and working, and would like to tie up the rest soon. check my blog

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 | Open switch.cfg file nano /etc/nagios/objects/switch.cfg 3. Your command is not working because it is the wrong format of the command. 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 http://www.debianadmin.com/mrtg-installation-and-configuration-in-debian-based-distributions-2.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. what should i do about this? 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,

Not to mention when I did try creating them, it said permission denied. This is the third Centos I am trying today. thanks in advance... By the way, i completed all this on Debian….

Like in my case it has found port 2 running on router and hence created file, I copied the file, so now the alert is clear, but I need to figure out how to get the system to actually write to the new log file.  :) 0 Learn More Question has a verified solution. Code: ls -al /var/www/html/mymrtg/ Mark_NL, Nov 21, 2012 #16 ilyar New Member Mark_NL said: ↑ What output does this command give you?

I deleted those folders, changed the configs for the two hosts, and then reinstalled. ERROR: CFG Error Unknown Option "sscpurawnice.0&sscpurawnice.0" on line 5 or above. How do I remove it? 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

You can also set PING, Uptime, Ports Link Status etc. http://mrtg.oetiker.narkive.com/uQLriIQA/error-workdir-not-specified-in-mrtg-config-file Managed to install the whole thing, works like a charm. Stavros on May 26, 2009 at 3:19 pm said: Get the following error message: ERROR: I Quit! I am wondering because you said you removed it that way previously. 0 Tabasco OP Scott5377 Sep 4, 2013 at 3:17 UTC I followed the instructions located 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. click site No, create an account now. All rights reserved. Join Now For immediate help use Live now!

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. Please help ! By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. news Use of uninitialized value in hash element at /usr/bin/indexmaker line 352.

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 did I not do something ? It also said that it couldn't connect to the host on the port that it was trying to use.

Reply Link DaveP May 14, 2014, 9:59 pmGreat work!

while i checking in interface and graph both data is not matching. No need to have a different config file for every switch. Email Reset Password Cancel Need to recover your Spiceworks IT Desktop password? Next message: [mrtg] ERROR: "WorkDir" not specified in mrtg config file Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the mrtg

I dont want every single site to be shown in the localhost/mrtg when i view them in my browser. Is it because the daemon is running and locked down the files I call up? 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 More about the author I also believe you may have some issues because you seem to be mixing your directories a bit.