chexma / checkmk_plugins

1 stars 1 forks source link

Problem with the Netapp E-Series Check #8

Closed Cologran closed 1 year ago

Cologran commented 1 year ago

Hello!

We use the Netapp E-Series Check with the CheckMK RAW Edition version 2.2.0p6.

Since updating the NetApp to firmware version 11.80GA we get an error in CheckMK. SAS A-1 "Port status" is always set to "failed: WARN".

Exactly as described here: https://kb.netapp.com/onprem/E-Series/Hardware/E-Series%3A_Warning_SAS_Port_failed_on_monitoring_system_-_CheckMK

  1. We have not found any newer firmware for the NetApp.
  2. The NetApp has also been rebooted, but without success.
chexma commented 1 year ago

Hi Cologran,

unfortunately I dont have systems on 11. 80 yet, so i can't test it. I assume that the API returns different states for the SAS Ports now. If you can run the special agent on the cli and send me the output, i can debug it. Do you have external SAS connections / disk shelfes or is it internal storage only?

chexma commented 1 year ago

Cologran,

i tried four different Configs in the Netapp E-Series Simulator but was not able to reproduce the error. If you want, you can provide the agent output of your E-Series, otherwise I will have to wait until i have a system running on 11.80.

Cologran commented 1 year ago

Hi!

"Do you have external SAS connections / disk shelfes or is it internal storage only?" -> We have internal storage only.

Do you mean this output?

`OMD[monitoring]:~$ cmk -vvv --debug --checks netapp_eseries_interfaces NETAPP02 WARNING: '--checks' is deprecated in favour of option 'detect-plugins' Checkmk version 2.2.0p6

Or this one?

`OMD[monitoring]:~$ cmk -nv --debug NETAPP02

chexma commented 1 year ago

Hi Cologran,

i need the output of the special agent. I think the easiest way to get that is to go to the Check_MK service of that host, click on the "Burger" menu and choose - "Download Agent Output". Please don´t post it here, you can send the file to ...

chexma commented 1 year ago

Hi Cologran,

thanks for the agent output. The E-Series REST API is responding with the following information about the SAS Interface:

{ 'SAS A-1': { 'interfaceRef': '2201000000000000000000000000000000000000', 'channelType': 'driveside', ... 'state': 'failed', 'miswireType': 'none', 'channelPortRef': '1F01000001010000000000000000000000000000', ... }

I don´t think that it is a good idea to use the state: failed as "ok" for my plugin in checkmk, so you need to open a Netapp support case to fix the REST API output.