[mrtg] MRTG Graphs not populating.

Kevin P. Foote kpfoote at iup.edu
Thu Apr 8 15:07:55 CEST 2010


Always hit the docs first.. there is a section called "RUNNING MRTG"

http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

In your case .. 

/usr/bin/mrtg /path/to/your.cfg --logging /path/to/your/mrtg.log

I use /var/log/mrtg/mrtg.log for my location .. you can use what ever
suits you.

You can run from the shell just as you run it from crontab.. 

#> env LANG=C /usr/bin/mrtg bla bla bla bla


------
thanks
  kevin.foote

On Thu, 8 Apr 2010, Scott Danton wrote:

-> I have attached a text file from config.  I have included 2 pollings.  The first one is not mapping anything and the second is.  They are on the same physical router.
-> 
-> Can you tell me how to run this from the command line?  I will do it and post back.
-> 
-> I am currently running mrtg using this command.
-> 
-> env LANG=C /usr/bin/mrtg /etc/mrtg/Gallatin.cfg
-> where do I enable logging?  Is it right before the /etc/mrtg/Gallatin.cfg?  after I enable logging where are the logs stored?
-> 
-> 
-> Thanks for everything,
-> Scott
-> 
-> From: mrtg-bounces+scott.danton=gallatin-tn.gov at lists.oetiker.ch [mailto:mrtg-bounces+scott.danton=gallatin-tn.gov at lists.oetiker.ch] On Behalf Of PAUL WILLIAMSON
-> Sent: Wednesday, April 07, 2010 3:09 PM
-> To: mrtg at lists.oetiker.ch
-> Subject: Re: [mrtg] MRTG Graphs not populating.
-> 
-> Can you poll the device from the command line?  What is the target line from the config?
-> 
-> Paul
-> 
-> >>> Scott Danton <scott.danton at gallatin-tn.gov> 4/7/2010 4:02 PM >>>
-> Does anyone have any ideas on how to troubleshoot why some of my interfaces are not graphing.   Is there something that I can look at to see on either the router or the mrtg server?
-> 
-> Thanks,
-> Scott
-> 
-> From: mrtg-bounces+scott.danton=gallatin-tn.gov at lists.oetiker.ch [mailto:mrtg-bounces+scott.danton=gallatin-tn.gov at lists.oetiker.ch] On Behalf Of Scott Danton
-> Sent: Monday, April 05, 2010 4:13 PM
-> To: 'mrtg at lists.oetiker.ch'
-> Subject: [mrtg] MRTG Graphs not populating.
-> 
-> I have been monitoring my t-1 lines for about 3 years and have never realy had a problem.  My server crashed and I rebuilt on a VM. It has been so long that I do not remember anything that I had to do to get things running.  I did have some old back ups of cfg file.  I have re-installed and I am haing a strange issue.  I monitor multiple interfaces on 3 devices.  Here is the strange part.  On one device I am collecting information on 2 of the 3 interfaces.  One is completely blank.  The second device collect the information for my remote sites.  I am getting information on 4 of the 7.  So 3 are blank.  On the last device I am missing information on 1 of the 2 interfaces.  The config is the same one I used on the old server so that should not be the problem.  Each device is giving information, so I know the SNMP is working.  I am lost.  Please let me know if you need any further information.
-> 
-> Thanks,
-> Scott
-> 
-> ************************************
-> 
-> This email may contain privileged and/or confidential information that is intended solely for the use of the addressee.  If you are not the intended recipient or entity, you are strictly prohibited from disclosing, copying, distributing or using any of the information contained in the transmission.  If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.  This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act and the Sarbanes-Oxley Act.  You may not directly or indirectly reuse or disclose such information for any purpose other than to provide the services for which you are receiving the information.
-> 
-> There are risks associated with the use of electronic transmission.  The sender of this information does not control the method of transmittal or service providers and assumes no duty or obligation for the security, receipt, or third party interception of this transmission.
-> 
-> ************************************
-> 



More information about the mrtg mailing list