StorageGRID snmpd service doesn't start and SNMP trap can not be sent
Applies to
StorageGRID 11.5
Issue
- SNMP test trap can not be sent
service snmpd status
showssnmpd is not running
bycast.log
shows:
ADE: |16857504 0125009552 NMON NBCH yyyy-mm-ssTxx:xx:xx| ERROR 1933 NMON: Unexpected error "S001" while executing "sudo /usr/local/sbin/update_snmpd_config.rb /tmp/snmpd.json", output: /usr/lib/ruby/vendor_ruby/uuidtools.rb:530: warning: assigned but unused variable - os_class#012No IPv4 address for admin network, ignoring agent address.#012#012restarting sg-snmp-agent ... sg-snmp-agent stopped, now starting ... sg-snmp-agent not initialized. Starting service#012done#012/usr/local/sbin/update_snmpd_config.rb:444:in `<main>': No valid agent addresses specified, cannot run snmpd (RuntimeError)#012