The Macro Editor
EPICenter Reference Guide
213
To add a trap variable to a macro, you:
1
Place the cursor in your macro where the variable should go
2
Select
$trap
from the system variable list,
3
Click Enter to insert the variable
4
Add the correct varbind index (in parentheses).
You can determine the correct index by looking at the
Actions
tab in the Alarm Definition for the alarm
that will execute this macro -- the
Details>>
button will display the varbinds and indices associated
with the trap event specified for the alarm. See
“Defining Alarm Actions” on page 121
.
When you have finished creating or editing your macro and saved it, you will be able to select it in to
use as an action for the alarm associated with the trap.
Figure 103: Specifying trap varbinds in a Telnet macro
Because the variables may return values in a form that is not usable in a CLI command, two functions
are provided to convert values to CLI-readable formats. These are:
●
$ToCliPort()
— converts a port IfIndex to the slot:port format
●
$ToCliVlanName()
— converts a VLANID to a VLAN name.
For example, for the trap
extremeEdpNeighborAdded
, the variable
extremeEdpPortIfIndex
is returned
as the second varbind (index=1).
Summary of Contents for EPICenter 6.0
Page 14: ...EPICenter Reference Guide 14 ...
Page 18: ...Preface EPICenter Reference Guide 18 ...
Page 19: ...1 EPICenter Basic Features ...
Page 20: ......
Page 24: ...EPICenter Overview EPICenter Reference Guide 24 ...
Page 44: ...Getting Started with EPICenter EPICenter Reference Guide 44 ...
Page 100: ...The Inventory Manager EPICenter Reference Guide 100 ...
Page 140: ...The EPICenter Alarm System EPICenter Reference Guide 140 ...
Page 172: ...Configuration Manager EPICenter Reference Guide 172 ...
Page 196: ...The Firmware Manager EPICenter Reference Guide 196 ...
Page 220: ...The Interactive Telnet Feature EPICenter Reference Guide 220 ...
Page 250: ...The Grouping Manager EPICenter Reference Guide 250 ...
Page 276: ...Real Time Statistics EPICenter Reference Guide 276 ...
Page 342: ...Using the VLAN Manager EPICenter Reference Guide 342 ...
Page 348: ...The ESRP Monitor EPICenter Reference Guide 348 ...
Page 446: ...EPICenter Reports EPICenter Reference Guide 446 ...
Page 447: ...2 Advanced Upgrade Features ...
Page 448: ......
Page 480: ...EAPS Protocol Monitoring and Verification EPICenter Reference Guide 480 ...
Page 508: ...Using the Policy Manager EPICenter Reference Guide 508 ...
Page 525: ...3 Appendices ...
Page 526: ......
Page 542: ...EPICenter Backup EPICenter Reference Guide 542 ...
Page 564: ...Voice over IP Manager EPICenter Reference Guide 564 ...
Page 580: ...EPICenter Reference Guide 580 ...