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).
Содержание EPICenter 6.0
Страница 14: ...EPICenter Reference Guide 14 ...
Страница 18: ...Preface EPICenter Reference Guide 18 ...
Страница 19: ...1 EPICenter Basic Features ...
Страница 20: ......
Страница 24: ...EPICenter Overview EPICenter Reference Guide 24 ...
Страница 44: ...Getting Started with EPICenter EPICenter Reference Guide 44 ...
Страница 100: ...The Inventory Manager EPICenter Reference Guide 100 ...
Страница 140: ...The EPICenter Alarm System EPICenter Reference Guide 140 ...
Страница 172: ...Configuration Manager EPICenter Reference Guide 172 ...
Страница 196: ...The Firmware Manager EPICenter Reference Guide 196 ...
Страница 220: ...The Interactive Telnet Feature EPICenter Reference Guide 220 ...
Страница 250: ...The Grouping Manager EPICenter Reference Guide 250 ...
Страница 276: ...Real Time Statistics EPICenter Reference Guide 276 ...
Страница 295: ...The New Menu EPICenter Reference Guide 295 Figure 137 Example of a default layout for a 500 node map ...
Страница 342: ...Using the VLAN Manager EPICenter Reference Guide 342 ...
Страница 348: ...The ESRP Monitor EPICenter Reference Guide 348 ...
Страница 446: ...EPICenter Reports EPICenter Reference Guide 446 ...
Страница 447: ...2 Advanced Upgrade Features ...
Страница 448: ......
Страница 480: ...EAPS Protocol Monitoring and Verification EPICenter Reference Guide 480 ...
Страница 508: ...Using the Policy Manager EPICenter Reference Guide 508 ...
Страница 525: ...3 Appendices ...
Страница 526: ......
Страница 542: ...EPICenter Backup EPICenter Reference Guide 542 ...
Страница 564: ...Voice over IP Manager EPICenter Reference Guide 564 ...
Страница 580: ...EPICenter Reference Guide 580 ...