does mrtg need username and pw to begin monitoring

Unanswered Question
Feb 11th, 2008

Im trying to set up mrtg to run on my windows desktop for some experimenting..

I have downloaded mrtg and pearl..

and have entered the following command

C:\mrtg\bin>perl cfgmaker [email protected] --global "WorkDir: c:\mrtgh

ml" --output server.cfg

however, per the tutorial, it says i should get an ouput of port inventory..after just that one command..but i dont see how mrtg can access the router without a username and password..am i missing something?

http://www.netmon.org/cfgmaker.htm

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Mon, 02/11/2008 - 14:03

MRTG uses SNMP to query the router. That "public@" indicates the SNMP community string that will be used. public is the typical example read-only community string, but configuring it on a production device is a very bad idea for security reasons.

Therefore, check your device's config for "snmp-server community" commands. You will need to use one of those community strings in order for MRTG to be able to successfully query your device.

If you do not have SNMP configured (it is not on by default), see http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a008030c762.html for the steps you will need to take.

nygenxny123 Tue, 02/12/2008 - 06:10

I confirmed that we do indeed have a

snmp-server community public RO

statement in our router config..

however, does mrtg need a username and pw

to initially log into the router?.

Actions

This Discussion