Hello i will create a template for the dell compellnt.
the compellning is sendig traps to zabbix server.
this is a large storage with over 420 Disk!
one trap for examble for bad (defekt disk looks like this (is exacktly this)
aim catching this trap over trap fallback!
my Idea was to catch this event by searching for text
but a have to create this trigger more than 1000 times :-(
how to do this with script i dont want click ant edit more than trigger!!! SOS


if tis template is ready i can share this for the comunity!
reg. zabbix
the compellning is sendig traps to zabbix server.
this is a large storage with over 420 Disk!
one trap for examble for bad (defekt disk looks like this (is exacktly this)
aim catching this trap over trap fallback!
Code:
03:46:49 2014/10/17 PDU INFO: notificationtype TRAP version 0 receivedfrom UDP: [14x.xx.xx.xxx]:12907->[14x.xx.xx.xxx] errorstatus 0 messageid 0 community public transactionid 13034 errorindex 0 requestid 0 VARBINDS: DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (729387439) 84 days, 10:04:34.39 SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: Dell-Vendor-MIB::dell.11000.2000.500.1.251.0.202 Dell-Vendor-MIB::dell.11000.2000.500.1.2.10.0 type=66 value=Gauge32: 24008 Dell-Vendor-MIB::dell.11000.2000.500.1.2.9.0 type=4 value=STRING: "13,1,36" Dell-Vendor-MIB::dell.11000.2000.500.1.2.14.1.2.384 type=66 value=Gauge32: 384 Dell-Vendor-MIB::dell.11000.2000.500.1.2.14.1.3.384 type=66 value=Gauge32: 2 Dell-Vendor-MIB::dell.11000.2000.500.1.2.14.1.4.384 [B][SIZE="6"]type=4 value=STRING: "13-09"[/SIZE][/B] Dell-Vendor-MIB::dell.11000.2000.500.1.2.14.1.5.384 type=2 value=INTEGER: 2 Dell-Vendor-MIB::dell.11000.2000.500.1.2.14.1.6.384 type=4 value=STRING: "[SIZE="6"][B]BadRegionsPresent[/B][/SIZE] uAllocs unbou" Dell-Vendor-MIB::dell.11000.2000.500.1.2.15.1.4.13 type=4 value=STRING: "Enclosure - 13" Dell-Vendor-MIB::dell.11000.2000.500.1.2.41.0 type=4 value=STRING: "Disk 405 SN: 9XG4435S failed [BadRegionsPresent] and is ready to be removed" Dell-Vendor-MIB::dell.11000.2000.500.1.2.40.0 type=4 value=STRING: "Disk is Down: Schedule disk replacement." Dell-Vendor-MIB::dell.11000.2000.500.1.2.45.1.2.384 type=66 value=Gauge32: 384 Dell-Vendor-MIB::dell.11000.2000.500.1.2.43.0 type=2 value=INTEGER: 2 Dell-Vendor-MIB::dell.11000.2000.500.1.2.29.1.8.1 type=4 value=STRING: "14x.xx.xxx.xxx" Dell-Vendor-MIB::dell.11000.2000.500.1.2.29.1.11.1 type=4 value="" Dell-Vendor-MIB::dell.11000.2000.500.1.2.29.1.12.1 type=66 value=Gauge32: 128 SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 14x.xx.xx.xxx SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4 value=STRING: "public" SNMPv2-MIB::snmpTrapEnterprise.0 type=6 value=OID: Dell-Vendor-MIB::dell.11000.2000.500.1.251
Code:
{DELL_COMPELLENT_24008:snmptrap.fallback.str([SIZE="6"][B]type=4 value=STRING: "13-19[/B][/SIZE]")}=1 & {DELL_COMPELLENT_24008:snmptrap.fallback.str(health code change: [SIZE="6"][B]BadRegionsPresent[/B][/SIZE])}=1 & {TRIGGER.VALUE}=0 | {TRIGGER.VALUE}=1
how to do this with script i dont want click ant edit more than trigger!!! SOS



if tis template is ready i can share this for the comunity!
reg. zabbix
Comment