SNMP service is stopped after NSX upgrade.
search cancel

SNMP service is stopped after NSX upgrade.

book

Article ID: 379805

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • No SNMP traps are generated from NSX manager even when an alarm opens.
  • Upgraded to NSX 4.1.x or 4.2.0 (except 4.1.0).
  • The SNMP service is stopped, while "Start on boot" is set to True.
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.
  • The system SNMP service shows inactive and 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)

Cause

This issue occurs due to a lack of consideration regarding the SNMP service during upgrade to NSX 4.1.1 or later.

Resolution

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