Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

does mrtg need username and pw to begin monitoring

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
Cisco Employee

Re: does mrtg need username and pw to begin monitoring

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.

New Member

Re: does mrtg need username and pw to begin monitoring

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

Cisco Employee

Re: does mrtg need username and pw to begin monitoring

No, MRTG uses SNMP to gather its information.

134
Views
0
Helpful
3
Replies