[mrtg] mrtg setup with snmp v3

Jon Schwendemann schwende at cord.edu
Thu Jul 26 18:08:23 CEST 2018


Trying again to get v3 set up. Currently, my command is this:
/usr/bin/cfgmaker --global "WorkDir: /var/www/mrtg/cordr1" --enablesnmpv3 --username=user --securityname=name --privpassword=pass --privprotocol=aescfb128 --authprotocol=sha --authpassword=pass --contextengineid=0x2e81200 --snmp-options=:::::3 --global "Options[_]: bits,growright" --global "WithPeak[_]: ymwd" --ifdesc=alias --output /etc/mrtg/mrtg_cordr1.cfg xxx.xxx.xxx.242

I don't know if -securityname= is an option; and if I run without it, I get:
SNMPopen failed: Received usmStatsUnsupportedSecLevels.0 Report-PDU with value 2 during synchronization
So, I am guessing it wants some sort of username besides -username

It seems like my command should be correct, aside from that. Maybe commands ordered differently.

Anyone have an idea? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20180726/d894801f/attachment.html>


More information about the mrtg mailing list