Skip to main content
NetApp Knowledge Base

Error messages show on upgrade console: Failed to execute sh command with '/etc/init.d/sg-snmp-agent start' on localhost

Views:
290
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

StorageGRID 11.2.x or later

Issue

  • After upgrading the StorageGRID from 11.1.x to 11.2.x, the problem occurs.
  • Error messages show on upgrade console: Failed to execute sh command with '/etc/init.d/sg-snmp-agent start' on localhost - 1, starting sg-snmp-agent ... failed to start: entered error state.
  • The NMS services are Not Running on the Admin nodes (NetApp® StorageGRID® Webscale  GUI -- Support -- Grid Topology -- Admin nodes -- NMS).

GridSNMPerror.bmp

  • On the bycast-err.log is showing:

Apr 16 20:26:56 StorageGridadmin0001 NODEX[12757]: @cee:time="2019-04-16T20:26:56Z" level=error msg="ERROR: netstat collector failed after 0.000378s: couldn't get SNMP stats: open /proc/net/snmp: no such file or directory" source="node_exporter.go:91"

  • SNMP service is in an error state:

2020-03-11 08:17:45 +0000 | sg-snmp-agent             | manually starting service that is currently in an error state - removing error state

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.