Beschreibung:
Mit dem folgenden Add-in Skript können Sie einen SNMP-Server und SNMP-Benutzer auf LANCOM Switches der GS-23xx Serie hinzufügen.
Liste der verwendeten Variablen:
Add-in Code:
/** * @param {Config} config * @param {Context} context * Do not edit this comment or parameter types. Required for code suggestions */ exports.main = function (config, context) { config.addScriptLine( "snmp" ); config.addScriptLine( "user macmon AuthPriv MD5 macmon123 DES macmon123" ); config.addScriptLine( "group macmon usm macmonv3" ); config.addScriptLine( "view super included .1" ); config.addScriptLine( "access macmonv3 any AuthPriv super super" ); config.addScriptLine( "trap 1 v3 ipv4 10.20.0.81 162 6 public AuthPriv MD5 macmon123 DES macmon123" ); config.addScriptLine( "getcommunity enable" ); config.addScriptLine( "exit" ); }; |
---|
Add-in als JSON-Datei:
GS-23XX-Add-SNMP-Server-and-User.json