cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1014
Views
0
Helpful
3
Replies

does mrtg need username and pw to begin monitoring

nygenxny123
Level 1
Level 1

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 public@192.168.255.132 --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

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

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.

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?.

No, MRTG uses SNMP to gather its information.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: