Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


https://www.vionblog.com/esxi-6-5-snmp-configuration/





enable SNMP
esxcli system snmp set --communities public
esxcli system snmp set --enable true
esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true
esxcli network firewall ruleset set --ruleset-id snmp --enabled true
~/etc/init.d/snmpd restart

discover /32
discover any SNMP server manually
[librenms@localhost ~]$ /opt/librenms/snmp-scan.py -v -r 172.30.95.70/32
Scanning IPs:
Scanned 172.30.95.70 Added device 172.30.95.70 (39)

Scanned 1 IPs: 0 known devices, added 1 devices, failed to add 0 devices
Runtime: 3.15 seconds
[librenms@localhost ~]$ 

esxcli snmp get
[root@localhost:~] esxcli system snmp get
   Authentication:
   Communities: public
   Enable: true
   Engineid: 00000063000000a100000000
   Hwsrc: indications
   Largestorage: true
   Loglevel: info
   Notraps:
   Port: 161
   Privacy:
   Remoteusers:
   Syscontact:
   Syslocation:
   Targets:
   Users:
   V3targets:
[root@localhost:~]












  • No labels