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
.
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 ...