ONTAP Hardware

How to collect sensor data on automated manner?

irakli_natsvlishvili
6,113 Views

Hello everybody,

 

Here is the situation - we need to collect sensor data from our Netapp systems, like the one from SP output below.

 

My question - is there some API allowing collecting/importing sensor data in a database format or do we have to do ssh every 5 min, pull this via text file and do parsing afterwards?

 

Thanks.

 

 

 

SP ptn00001> system sensors show

Sensor Name      | Current    | Unit       | Status     | LCR       | LNC       | UNC       | UCR

-----------------+------------+------------+------------+-----------+-----------+-----------+-----------

CPU0_Temp_Margin | -64.000    | degrees C  | ok         | na        | na        | -5.000    | 0.000

CPU1_Temp_Margin | -64.000    | degrees C  | ok         | na        | na        | -5.000    | 0.000

In_Flow_Temp     | 28.000     | degrees C  | ok         | 0.000     | 10.000    | 47.000    | 54.000

Out_Flow_Temp    | 42.000     | degrees C  | ok         | 0.000     | 10.000    | 66.000    | 73.000

Smart_Bat_Temp   | 37.000     | degrees C  | ok         | 0.000     | 10.000    | 61.000    | 68.000

CPU0_Error       | 0x0        | discrete   | Deasserted | na        | na        | na        | na

CPU0_Therm_Trip  | 0x0        | discrete   | Deasserted | na        | na        | na        | na

CPU0_Hot         | 0x0        | discrete   | Deasserted | na        | na        | na        | na

Memory0_Hot      | 0x0        | discrete   | Deasserted | na        | na        | na        | na

CPU1_Error       | 0x0        | discrete   | Deasserted | na        | na        | na        | na

CPU1_Therm_Trip  | 0x0        | discrete   | Deasserted | na        | na        | na        | na

CPU1_Hot         | 0x0        | discrete   | Deasserted | na        | na        | na        | na

Memory1_Hot      | 0x0        | discrete   | Deasserted | na        | na        | na        | na

PCH_Hot          | 0x0        | discrete   | Deasserted | na        | na        | na        | na

P5V_STBY         | 5.026      | Volts      | ok         | 4.246     | 4.343     | 5.661     | 5.807

P3V3_STBY        | 3.312      | Volts      | ok         | 2.960     | 3.040     | 3.568     | 3.664

P1V8_STBY        | 1.794      | Volts      | ok         | 1.630     | 1.659     | 1.950     | 1.969

P1V2_STBY        | 1.193      | Volts      | ok         | 1.086     | 1.106     | 1.300     | 1.319

P0V9_STBY        | 0.892      | Volts      | ok         | 0.805     | 0.854     | 0.951     | 0.999

P5V              | 5.051      | Volts      | ok         | 4.246     | 4.343     | 5.661     | 5.807

P3V3             | 3.296      | Volts      | ok         | 2.960     | 3.040     | 3.568     | 3.664

PVDDQ_DDR3_AB    | 1.339      | Volts      | ok         | 0.010     | 0.019     | 2.454     | 2.464

PVTT_DDR3_AB     | 0.669      | Volts      | ok         | 0.010     | 0.019     | 2.454     | 2.464

PVCCP_CPU0       | 0.980      | Volts      | ok         | 0.010     | 0.019     | 2.454     | 2.464

PVDDQ_DDR3_CD    | 1.339      | Volts      | ok         | 0.010     | 0.019     | 2.454     | 2.464

5 REPLIES 5

Jeff_Yao
6,069 Views

i think just writing a script to ssh sp and pulling the command output out should be ok

may i ask why you need this sensor data? for monitor?

 

irakli_natsvlishvili
6,049 Views

Does SP allow passwordless SSH?

 

We need sensor data for two reasons - obviously for monitoring, secondly - to build data in a database for IoT PoC.

SrikanthReddy
5,669 Views

I am also looking if api or script can collect sensors data 

if ssh login and manual data collection is the only way ?

SrikanthReddy
5,654 Views

nevermind 

I found this in powershell toolkit 4.2 

Get-NcEnvironmentSensors

SrikanthReddy
5,582 Views

did not see commandlets for 7mode can someone confirm this ? 

Public