I have created
Item:
Physical drive status Error
snmptrap[Physical Drive]
Trigger:
Name : Physical drive status Error on {HOST.NAME}
({TRIGGER.VALUE}=0 and {Trap Receive:snmptrap[Physical Drive].str("Status Changed to Error")}=1 ) or ({TRIGGER.VALUE}=1 and {Trap Receive:snmptrap[Physical Drive].nodata(30)}=0)
Result:
Cannot evaluate function "HP-SIM:snmptrap[Physical Drive].str("Status Changed to Error")"
Original Trap:
18:17:20 2015/10/16 SNMPv2-SMI::enterprises.11.2.17.1.0.58916872 Normal "General Event" 10.10.16.3 - ZBXTRAP 10.10.16.3 10.10.50.8 Severity: Normal
+ 14 r16s03ser2012 \"AlertingElementFormat=CIMObjectPath|BladeBay=1|V ariableValues=string|ProbableCause=Disk Failure|VariableTypes=uint16|PerceivedSeverity=Maj or|HWSerialNumber=string|IndicationIdentifier={206 9EC36-21B8-4A45-9923-F6DD1D1DA84D}|NOTICE_TYPE=780|SystemGUID=37373035-3038-5A43-4A39-343930384A39|ActionURLDescriptions=string|SystemFi rmwareVersion=string|VariableNames=string|RelatedI ndications=string|RecommendedActions=string|Indica tionTime=Friday, 10/16/2015, 6:16 PM AZST|EnclosureName=R33E1|NetworkAddresses=string|S ystemCreationClassName=HP_WinComputerSystem|TIME_C REATED=16-Oct-2015, 18:16:40 AZST|HWPhysicalLocation=Box 1 Bay 1|HWManufacturer=HP|SECURITY_DESCRIPTOR=uint8|Desc ription=A physical drive status has changed to Error.|ImpactedDomain=3|RootCauseIndications=strin g|AlertType=Device Alert|DeviceModel=HP DG0146FAMWL|ProbableCauseDescription=Physical Drive Status Changed to Error|SystemProductID=507780-B21|DEVICE=r16s03ser2012|CorrelatedIndications=str ing|SystemVirtualUUID=string|SystemName=R16S03SER2 012|MessageArguments=string|ActionURLs=string|Even tTime=Friday, 10/16/2015, 11:16 PM AZST|NOTICE_STATE=2|NOTICE_SEVERITY=Major|EventID. 202|DeviceControllerLogicalLocation=string|Alertin gManagedElement=\\\\RR16\\ROOT\\HPQ:HPSA_DiskDrive .CreationClassName=\"HPSA_DiskDrive\",DeviceID=\"5 001438006AB8D60:0\",SystemCreationClassName=\"HPSA _ArraySystem\",SystemName=\"5001438006AB8D60\"|GEN ERATED=Friday, 10/16/2015, 6:17 PM AZST|SolutionProductModel=CloudSystem Matrix v0.0.0|ProviderName=HP Smart Array|NOTICE_ID=6521|HWFirmwareVersion=string|Syst emModel=ProLiant BL460c G6|Summary=Physical drive status Error|HWLogicalLocation=string|SystemSerialNumber= CZJ94908J9|ProviderVersion=9.4.0.0|NOTICE_TYPE_STR =wbem.HP Smart Array.202|OSType=113|BladeName=RR16|OSVersion=6.2. 9200|EventCategory=6|DEVICE_KEY=1506|SystemVirtual SerialNumber=string\" Major
Item:
Physical drive status Error
snmptrap[Physical Drive]
Trigger:
Name : Physical drive status Error on {HOST.NAME}
({TRIGGER.VALUE}=0 and {Trap Receive:snmptrap[Physical Drive].str("Status Changed to Error")}=1 ) or ({TRIGGER.VALUE}=1 and {Trap Receive:snmptrap[Physical Drive].nodata(30)}=0)
Result:
Cannot evaluate function "HP-SIM:snmptrap[Physical Drive].str("Status Changed to Error")"
Original Trap:
18:17:20 2015/10/16 SNMPv2-SMI::enterprises.11.2.17.1.0.58916872 Normal "General Event" 10.10.16.3 - ZBXTRAP 10.10.16.3 10.10.50.8 Severity: Normal
+ 14 r16s03ser2012 \"AlertingElementFormat=CIMObjectPath|BladeBay=1|V ariableValues=string|ProbableCause=Disk Failure|VariableTypes=uint16|PerceivedSeverity=Maj or|HWSerialNumber=string|IndicationIdentifier={206 9EC36-21B8-4A45-9923-F6DD1D1DA84D}|NOTICE_TYPE=780|SystemGUID=37373035-3038-5A43-4A39-343930384A39|ActionURLDescriptions=string|SystemFi rmwareVersion=string|VariableNames=string|RelatedI ndications=string|RecommendedActions=string|Indica tionTime=Friday, 10/16/2015, 6:16 PM AZST|EnclosureName=R33E1|NetworkAddresses=string|S ystemCreationClassName=HP_WinComputerSystem|TIME_C REATED=16-Oct-2015, 18:16:40 AZST|HWPhysicalLocation=Box 1 Bay 1|HWManufacturer=HP|SECURITY_DESCRIPTOR=uint8|Desc ription=A physical drive status has changed to Error.|ImpactedDomain=3|RootCauseIndications=strin g|AlertType=Device Alert|DeviceModel=HP DG0146FAMWL|ProbableCauseDescription=Physical Drive Status Changed to Error|SystemProductID=507780-B21|DEVICE=r16s03ser2012|CorrelatedIndications=str ing|SystemVirtualUUID=string|SystemName=R16S03SER2 012|MessageArguments=string|ActionURLs=string|Even tTime=Friday, 10/16/2015, 11:16 PM AZST|NOTICE_STATE=2|NOTICE_SEVERITY=Major|EventID. 202|DeviceControllerLogicalLocation=string|Alertin gManagedElement=\\\\RR16\\ROOT\\HPQ:HPSA_DiskDrive .CreationClassName=\"HPSA_DiskDrive\",DeviceID=\"5 001438006AB8D60:0\",SystemCreationClassName=\"HPSA _ArraySystem\",SystemName=\"5001438006AB8D60\"|GEN ERATED=Friday, 10/16/2015, 6:17 PM AZST|SolutionProductModel=CloudSystem Matrix v0.0.0|ProviderName=HP Smart Array|NOTICE_ID=6521|HWFirmwareVersion=string|Syst emModel=ProLiant BL460c G6|Summary=Physical drive status Error|HWLogicalLocation=string|SystemSerialNumber= CZJ94908J9|ProviderVersion=9.4.0.0|NOTICE_TYPE_STR =wbem.HP Smart Array.202|OSType=113|BladeName=RR16|OSVersion=6.2. 9200|EventCategory=6|DEVICE_KEY=1506|SystemVirtual SerialNumber=string\" Major
Comment