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

Error Unable To Open Config File Mrtg.cfg

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. This got me as I copy/pasted (copy/pasting from the website is very strange, it also nukes dashes and quotes). Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd. Accordingly it creates log file. check over here

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 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 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: Another copy of mrtg seems to be running. https://lists.oetiker.ch/pipermail/mrtg/2011-May/036526.html

cannot go ahead to monitoring disk, memory and cpu but only traffic analysis ? You may get a better answer to your question by starting a new discussion. falko, Sep 3, 2010 #7 kheimbuch New Member Nothing for me. I am stuck here can anyone help from here ?

This means site1.cfg site2.cfg site3.cfg and so on. as your cmd files are not chmod +x, they won't run. Based on what I normally use you should be using: /usr/local/mrtg-2/bin/indexmaker /var/www/html/mrtg/core/router1.cfg -output=/var/www/html/router/switch1.html 0 Message Author Comment by:appleharry ID: 194090022007-07-02 yep i tried this one also...but the same error ! Try the following command, Go to Solution 3 2 2 Participants giltjr(3 comments) LVL 57 Linux Networking9 appleharry(2 comments) 5 Comments LVL 57 Overall: Level 57 Linux Networking 9 Message

ERROR: CFG Error Unknown Option "sscpurawnice.0&sscpurawnice.0" on line 5 or above. Am experiencing a problem when I run: /usr/bin/indexmaker -output=/var/www/mrtg/index.html -title="Memory and CPU Usage" /etc/mrtg/cpu.cfg I get the following error: ERROR: CFG Error Unknown Option "sscpurawnice.0&sscpurawnice.0" on line 5 or above. Creating your account only takes a few minutes. https://ubuntuforums.org/archive/index.php/t-829021.html Your command is not working because it is the wrong format of the command.

thanks in advance.. vw ! Open switch.cfg file nano /etc/nagios/objects/switch.cfg 3. couzin2000July 10th, 2008, 04:06 AMAnybody?

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 read review How do I remove it? Use of uninitialized value $first in hash element at /usr/bin/indexmaker line 353. 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%

Need to get it running on a new box that is also running NAGIOS successfully. http://tubee.net/error-unable/error-unable-to-read-config-file-usr-lib-ivl-fpga-conf.html Ubuntu Forums > The Ubuntu Forum Community > Ubuntu Official Flavours Support > Networking & Wireless > [ubuntu] MRTG: need help for install and config PDA View Full Version : [ubuntu] My boss is considering purchasing a monitoring solution, partially so that we can have support. 0 Mace OP Alex3031 Sep 4, 2013 at 7:51 UTC CACTI can can Run this command to update mrtg log file.

How do I figure out mine? Code: ls -al /var/www/html/mymrtg/ Click to expand... -rw-r--r--. 1 root root 55171 Nov 21 09:40 /var/www/html/mymrtg/ ilyar, Nov 21, 2012 #17 Mark_NL New Member What happens when you run the IT can be done and here's how to get i… Linux Networking How to setup a local Area Network between two Ubuntu servers Article by: Eric Note: for this to work this content Small amounts of traffic won't show up on the graphs because we used the Unscaled statement Some of examples how to monitor cpu , memory , Disk usage CPU Usage /etc/mrtg/cpu.cfg

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. Rainboww on February 24, 2008 at 8:23 am said: the permission denied error when running indexmaker comes from omitting one of the backslashes at the end of each line. teo on April 26, 2015 at 12:01 pm said: Is this guide up to date??

Help Desk » Inventory » Monitor » Community » [prev in list] [next in list] [prev in thread] [next in thread] List: mrtg Subject: [mrtg] ERROR: unable to open config

bishal on May 11, 2009 at 6:32 am said: should we create the /etc/mrtg/cpu.cfg /mem.cfg /memfree.cfg /mempercent.cfg /disk.cfg files or they are somewhere already present ? This mrtg.conf is not referenced anywhere else so I don't see what's the point. And if it should have been /etc/mrtg.cfg, then why have us run another cfgmaker command before? I can't understand a word of this.

Other wise it would not update that file and it would give the error "MRTG data has expired". Thanks in advance Alynx mrtg.saitove.infoNovember 4th, 2008, 07:33 AMyes, you have to make different cron jobs for every cfg file. So I can access my graph through this link, http://localhost/mymrtg/_2.html Procedure to monitor Bandwidth Usages in Nagios: 1. have a peek at these guys Since you have to re-run this command every time you make certain changes to the /etc/mrtg.cfg configuration file.