[mrtg] Cfgmaker 2.16.1 and SNMP v3

Azrol Hezri Badarudin azrol at tnb.com.my
Mon Mar 31 02:47:06 CEST 2008


Hi,
 
My MRTG setting for SNMPv3 is something like this.....
 
/usr/local/mrtg-2/bin/cfgmaker \
--global WorkDir:/usr/local/apache/htdocs/mrtg/WAN/GSR/gsr2 \
--global "Options[_]:bits,growright" \
--enablesnmpv3 \
--snmp-options=:::::3 \
--username=<userid> \
--authproto=MD5 \
--authpassword=<password> \
--contextengineid=<snmp engineid> \
--output /usr/local/mrtg-2/cfg/mrtg_gsr2.cfg \
a.b.c.d

Please ensure that you have setup the snmp view, username, group &
password properly at your Cisco router.
 
tq
 
-- Azrol --

________________________________

From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Bledsoe, Howard W.
CIV (CNRNW)
Sent: Saturday, March 29, 2008 4:41 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Cfgmaker 2.16.1 and SNMP v3



All: 

        I need some help setting up SNMP V3 to monitor some Cisco
routers.  I was able to set up the routers OK, but cannot seem to get
cfgmaker to work.  Previous installations using the older SNMP versions
have worked just fine for years.  I did download and install the latest
and greatest MRTG with no apparent problems.

# /path/to/cfgmaker --enablesnmpv3 --username=myusername
--authpassword=mypassword myusername at 123.45.67.8 
Undefined subroutine &main::snmpmapOID called at /path/to/cfgmaker line
1532 

        Can anyone help?  I must confess great ignorance of V3. 

                  R, Howard 

------------------------------------------- 
IT Specialist, Navy Region Northwest 
360-257-5673, Fax 257-5315, Cell 360-340-5403 
howard.bledsoe at navy.mil, howard.bledsoe at navy.smil.mil,
howard at nrnic.ic.gov 
Comm guys - You can talk ABOUT us but you can't talk WITHOUT us... 



NOTIFICATION

This e-mail and the attachments is intended solely for the person 
to 
whom it has been addressed. It contains privileged and/or 
confidential 
information and is privileged or otherwise protected from 
disclosure. 
If you are not the person for whom this e-mail was intended, or 
the e-
mail has reached you by mistake, please delete it immediately 
and 
inform us of the error. Our e-mail address is admin at tnb.com.my.

All opinions, conclusions and other information in this message 
that 
do not relate to the official business of TNB shall be understood 
as 
neither given nor endorsed by TNB. TNB shall not be responsible 
for 
any
activity that may be considered as illegal and/or improper use of 
e-
mail and TNB further disclaims and shall not accept liability for 
any 
content of this e-mail, or for the consequences of any actions 
taken 
on the basis of the information provided, unless that information 
is 
subsequently confirmed in writing.

WARNING
Internet communications cannot be guaranteed to be secured or 
error-
free as information could be intercepted, corrupted, lost, arrive 
late 
or contain viruses. As such, we do not accept liability for any 
errors 
or omissions in the content of this message which may arise as 
a 
result of internet transmission.

TNB does not authorise any of its employees to make any 
defamatory or 
seditious statements or commit any offence which is contrary to 
the 
laws of Malaysia. Any such communications and/or actions by 
such 
employees are outside the scope of employment of the said 
individuals 
and TNB shall not be liable for such communications and/or 
actions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080331/ab2962b2/attachment.html 


More information about the mrtg mailing list