[mrtg] SNMP v3 on MRTG 2.16.2
Steve Shipway
s.shipway at auckland.ac.nz
Tue Mar 2 23:31:51 CET 2010
> I just tried this
> perl cfgmaker --global "Workdir: F:\mrtg-2.16.2\bin" --global "Options[_]:
> growright,bits" --enablesnmpv3 --snmp-options=:::::3 --username="tfl_mrtg"
> 10.224.255.249:::::3 --authprotocol=sha --authpassword=tFl!nmpR0
> --privprotocol=des --privpassword=N0pa!!01
> and got
> Use of --authpassword requires --contextengineid at cfgmaker line 1504.
Your syntax for cfgmaker is a bit off.
You need to do "cfgmaker <options> <device>"
So,
perl cfgmaker --global "Workdir: F:\mrtg-2.16.2\bin" --global "Options[_]: growright,bits" --enablesnmpv3 --snmp-options=:::::3 --username="tfl_mrtg" --authprotocol=sha --authpassword=tFl!nmpR0 --privprotocol=des --privpassword=N0pa!!01 10.224.255.249
but, as the error message says, you also need --contextengineid in there before the 10.24.255.249
See the extensive documentation on cfgmaker at http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html
Steve
More information about the mrtg
mailing list