Start a Conversation

Unsolved

This post is more than 5 years old

1706

April 18th, 2017 12:00

SNMP Trap when failure recovered

Hello guys,

I'm testing SNMP function of Scaleio Gateway software(v2.0.0.2) with 3node cluster.

According to User Guide document(p.530), Scaleio gateway sends a SNMP trap when system failure has been fixed.

>Open and closing alerts will consist of the same code and issue number, with the

>exception of the first digit (0 or 1) in the section. For example:

> SIOXX.XX.0XXXXXX indicates that the alert is active

> SIOXX.XX.1XXXXXX indicates that the alert has been closed

I've rebooted Secondary MDM to test the function above.

I had expected the trap contains "SIO02.01.1000001" would be send by gateway after cluster recovered, but it wasn't.

Is it normal behavior? If so, do I have to any setting or configuring to activate the function to send trap after failure recovered?

#please see packet capture log below:

------------------------------------

tcpdump -i eth0 -T snmp -s 0 "(dst port 162) or (src port 161) or (dst port161)"

[Before reboot MDM2]

...

10:41:23.734093 IP [SIO-GATEWAY].38650 > [SNMP-RCV].snmptrap:  V2Trap(188)  system.sysUpTime.0=222765000 S:1.1.4.1.0=E:1139.101.1 E:1139.101.1.1=3 E:1139.101.1.2="System.License.Trial_License_Used" E:1139.101.1.3="[MDM1-id]" E:1139.101.1.4="SIO01.02.0000003"

[After MDM2 shutdown]

10:41:53.734020 IP [SIO-GATEWAY].36025 > [SNMP-RCV].snmptrap:  V2Trap(188)  system.sysUpTime.0=222768000 S:1.1.4.1.0=E:1139.101.1 E:1139.101.1.1=3 E:1139.101.1.2="System.License.Trial_License_Used" E:1139.101.1.3="[MDM1-id]" E:1139.101.1.4="SIO01.02.0000003"

10:41:53.734251 IP [SIO-GATEWAY].36025 > [SNMP-RCV].snmptrap:  V2Trap(188)  system.sysUpTime.0=222768000 S:1.1.4.1.0=E:1139.101.1 E:1139.101.1.1=5 E:1139.101.1.2="MDM.MDM_Cluster.MDM_Not_Clustered" E:1139.101.1.3="[MDM1-id]" E:1139.101.1.4="SIO02.01.0000001"

...

[During MDM2 rebooting]

...

10:45:23.733943 IP [SIO-GATEWAY].59254 > [SNMP-RCV].snmptrap:  V2Trap(188)  system.sysUpTime.0=222789000 S:1.1.4.1.0=E:1139.101.1 E:1139.101.1.1=3 E:1139.101.1.2="System.License.Trial_License_Used" E:1139.101.1.3="[MDM1-id]" E:1139.101.1.4="SIO01.02.0000003"

10:45:23.734308 IP [SIO-GATEWAY].59254 > [SNMP-RCV].snmptrap:  V2Trap(188)  system.sysUpTime.0=222789000 S:1.1.4.1.0=E:1139.101.1 E:1139.101.1.1=5 E:1139.101.1.2="MDM.MDM_Cluster.MDM_Not_Clustered" E:1139.101.1.3="[MDM1-id]" E:1139.101.1.4="SIO02.01.0000001"

[After MDM2 rebooted]

10:45:53.734101 IP [SIO-GATEWAY].57034 > [SNMP-RCV].snmptrap:  V2Trap(188)  system.sysUpTime.0=222792000 S:1.1.4.1.0=E:1139.101.1 E:1139.101.1.1=3 E:1139.101.1.2="System.License.Trial_License_Used" E:1139.101.1.3="[MDM1-id]" E:1139.101.1.4="SIO01.02.0000003"

10:46:23.734032 IP [SIO-GATEWAY].52960 > [SNMP-RCV].snmptrap:  V2Trap(188)  system.sysUpTime.0=222795000 S:1.1.4.1.0=E:1139.101.1 E:1139.101.1.1=3 E:1139.101.1.2="System.License.Trial_License_Used" E:1139.101.1.3="[MDM1-id]" E:1139.101.1.4="SIO01.02.0000003"

...

------------------------------------

*: "..." means repeating.

Regards,

Ichiro

6 Posts

May 22nd, 2018 05:00

Hi,

I am on 2.0.1.4 and have observed the same issue.  Has this query been answered in another forum or is it still floating?

Reagards,

Bosko

306 Posts

May 24th, 2018 00:00

Hi,

Actually the "closing" event is just for ESRS, not SNMP - with SNMP once the situation is resolved, the gateway will simply stop sending traps, so this is normal and expected behavior.

Cheers,

Pawel

6 Posts

May 24th, 2018 00:00

Thanks for the clarification Pawel.

Regards,

Bosko.

No Events found!

Top