It is possible to create a test heartbeat event and SNMP trap from the XSCF command line or XSCF BUI to check functionality of the M12 system heartbeat reporting mechanism. The trap generated is the standard fault trap but with a Fujitsu fault code value set to FF010001. On receipt of this trap, Oracle's Auto Service Request (ASR) infrastructure recognises this special fault code value as indicative of a heartbeat trap and processes it accordingly.
To generate a heartbeat event from the XSCF command line:
XSCF> rastest -c hb
This will generate an error message that can be viewed with the showlogs error XSCF command, and, if SNMP is enabled on the XSCF, a heartbeat trap will be forwarded to any designated traphost(s).
Date: Jun 02 10:36:34 PDT 2016
Code: 10000000-003e010000ff0000ff-ff0100010000000000000000
Status: Information Occurred: Jun 02 10:36:31.358 PDT 2016
FRU: /BB#0/CMUL
Msg: Pseudo error for heartbeat trap notice
XSCF>
The heartbeat trap will look something like this, for SNMP v2c:
2016-06-02 13:36:05 servername.customer.com [192.168.0.1]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (25574) 0:04:15.74
SNMPv2-MIB::snmpTrapOID.0 = OID:
SNMPv2-SMI::enterprises.211.1.15.4.1.2.0.1
SNMPv2-SMI::enterprises.211.1.15.4.1.1.12.2.1.13.1.0.2.0.254.0 = INTEGER: 1
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.2.0 = INTEGER: 4
SNMPv2-SMI::enterprises.211.1.15.4.1.1.4.3.0 = STRING: "PZ51650019"
SNMPv2-SMI::enterprises.211.1.15.4.1.1.4.2.0 = STRING: "SPARC M12-2S"
SNMPv2-SMI::enterprises.211.1.15.4.1.1.4.1.0 = STRING: "servername"
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.14.0 = STRING: "FF010001"
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.15.0 = STRING: "Jun 02 10:36:31.358 PDT 2016"
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.16.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.17.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.18.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.19.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.20.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.21.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.22.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.23.0 = ""
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.24.0 = STRING: "Fujitsu M12-2S"
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.25.0 = INTEGER: 1
SNMPv2-SMI::enterprises.211.1.15.4.1.2.1.26.0 = STRING: "M12-Heartbeat"