nsxmanager> get service snmp
Thu Oct 03 2024 UTC 03:20:15.176
Service name: snmp
Service state: stopped <==== *****
Start on boot: True <==== Although it is set to True, it is actually disabled.
root@nsxmanager:~# systemctl status vmware-snmpd
* vmware-snmpd.service - VMware SNMPD
Loaded: loaded (/lib/systemd/system/vmware-snmpd.service; disabled; vendor preset: enabled) <==== *****
Active: inactive (dead)
This issue occurs due to a lack of consideration regarding the SNMP service during upgrade to NSX 4.1.1 or later.
This issue is resolved in NSX 4.2.1.
To resolve this issue, start the snmp service manually by the following root command.
/etc/init.d/vmware-snmpd start
And enable start-on-boot again by the following admin command.
set service snmp start-on-boot