The EPICenter Alarm System
EPICenter Reference Guide
124
Figure 53: Using trap varbinds as arguments to a command as an alarm action
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).
So upon an EDP Neighbor Added trap, to run a program “testprog” and pass it the port number, you
could use the command
cmd c:/testprog $ToCliPort($trap(1))
For example, if the trap returns an IfIndex of 1009, the
$ToCliPort
function will convert it to 1:9, so
that the resulting run command is:
cmd c:/testprog 1:9
Setting Up E-mail for the Alarm System
Before you can use the either of the e-mail actions, you must configure the e-mail capability. Until you
do so, the
Email To
and
Short email to
fields and check boxes are not available. To configure the e-mail
capability, do the following:
1
Click the top
Settings...
button (nest to the Email field) on the Action page.
This displays the
Email Settings
window, as shown in
Figure 54
.
Содержание 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 ...