Applies To: |
|
Summary: |
How can I create alarms from my SNMP traps? |
Solution: |
The easiest way is to process the traps as they come in via Cicode. The SNMP driver caches all traps allowing the code to process and generate appropriate alarms before the trap is cleared (TN=0). FUNCTION TrapHandling() WHILE 1 DO IF TrapNumber <> 0 THEN IF TrapEnterprise = ".1.3.6.1.2.1.11" THEN SNMPAlarm=1 TrapNumber = 0; END SleepMS(10); END END |
Keywords: |
Related Links
Attachments