[mrtg] Re: mrtg produces no output

Matt Kowske matt_kowske at unioncab.com
Thu Dec 8 17:57:32 MET 2005


Tried that.  No apparent errors:

2005-12-08 10:50:10 -- Started mrtg with config '/etc/mrtg/mrtg2.cfg'
2005-12-08 10:50:10 -- --base: Creating Lockfiles 
/etc/mrtg/mrtg2.cfg_l,/etc/mrtg/mrtg2.cfg_l_12801
2005-12-08 10:50:10 -- --base: Reading Config File: /etc/mrtg/mrtg2.cfg
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[1]: # Created by
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[2]: # 
/usr/bin/cfgmaker shadowfax.mordor.x
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[3]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[4]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[5]: ### Global Config 
Options
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[6]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[7]: #  for UNIX
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[8]: WorkDir: 
/var/www/mrtg
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[9]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[10]: #  or for NT
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[11]: # WorkDir: 
c:\mrtgdata
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[12]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[13]: ### Global 
Defaults
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[14]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[15]: #  to get bits 
instead of bytes and graphs growing to the right
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[16]: # Options[_]: 
growright, bits
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[17]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[18]: EnableIPv6: no
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[19]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[20]: 
######################################################################
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[21]: # System: 
shadowfax
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[22]: # Description: 
Linux shadowfax 2.6.9-22.0.1.ELsmp #1 SMP Thu Oct 27 13:14:25 CDT 2005 
i686
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[23]: # Contact: Root 
<root at localhost> (configure /etc/snmp/snmp.local.conf)
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[24]: # Location: 
Unknown (edit /etc/snmp/snmpd.conf)
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[25]: 
######################################################################
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[26]:
2005-12-08 10:50:10 -- --cfg: /etc/mrtg/mrtg2.cfg[27]:
2005-12-08 10:50:10 -- --base: Reading Interface Config cache
2005-12-08 10:50:10 -- --base: Checking Config File
2005-12-08 10:50:10 -- --dir: ensure path IN:  '/var/www/mrtg'
2005-12-08 10:50:10 -- --dir: ensure path OUT: '/var/www/mrtg/'
2005-12-08 10:50:10 -- --dir: imagehtml =
2005-12-08 10:50:10 -- --base: Loading default Locale
2005-12-08 10:50:10 -- --base: Starting main Loop
2005-12-08 10:50:10 -- --time: loop start Thu Dec  8 10:50:10 2005
2005-12-08 10:50:10 -- --base: Populate Target object by polling SNMP 
and external Datasources
2005-12-08 10:50:10 -- --time: snmp read start Thu Dec  8 10:50:10 2005
2005-12-08 10:50:10 -- --time: target loop start Thu Dec  8 10:50:10 
2005
2005-12-08 10:50:10 -- --base: Exit main Loop
2005-12-08 10:50:10 -- --base: Remove Lock Files
2005-12-08 10:50:10 -- --base: Store Interface Config Cache

On Dec 8, 2005, at 10:46 AM, Ruttenberg, Tanya wrote:

> Did you try running mrtg with debugging flags on? You can also turning
> logging at the command line to capture your output.  At least then you 
> would
> know what it's doing and you might even see an error.  Look at the man 
> page
> for options.
>
> Tanya Ruttenberg - RSIS Contractor
> OTSO/DNE/NMPEB
> tanya.ruttenberg at ssa.gov
> 410-965-9605
>
>
> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] 
> On
> Behalf Of Matt Kowske
> Sent: Thursday, December 08, 2005 10:43 AM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] mrtg produces no output
>
> Hi I'm having a problem with mrtg.  I've set it up with cfgmaker and 
> made
> sure the WorkDir option is set to a directory that exists and is 
> writeable.
> I run "mrtg mrtg.cfg" and it runs fine with no errors but no output is
> produced in the WorkDir.  Nothing.  No png's, or html's or anything.  
> I've
> tried it with two different cfg files that point to two different snmp
> servers, but neither work.  I've searched google, groups, 
> documentation and
> can't find any kind of solution to this.  I can post config files if 
> needed.
> I remember the first time I ran it it DID produce something in the 
> WorkDir,
> but I didn't have it set to the correct directory so I rm -rf'd it and 
> tried
> again and that's when the problem started.  Now no matter what I do I 
> can't
> get any output.
> Also, this is on a CentOS box installed from an rpm.  Thanks.
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://lists.ee.ethz.ch/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list