Download - All IT eBooks
Transcript
CHAPTER 26 event-handler event-handler is a feature in Arista switches that allows bash scripts to be executed when certain system events occur. As of EOS version 4.9.3, the triggers are pretty limited, but I have a feeling that they will be expanded upon in the future. This chapter is written based on the feature set found in EOS version 4.9.3. Future versions may support additional features. So what’s the benefit of such a feature? Let’s say that you’ve got a system that’s been spontaneously rebooting at odd times, and your executive management is too cheap to buy network management software. You could configure an event handler to email you (or the system guys, or whomever you’d like) any time the switch’s interface to that server goes down. Description Event-handler allows the creation of a trigger, and an action. The trigger in my server example would be the interface on the switch going up or down. The action would be the email being sent. Additionally, a delay can be set so that a configured amount of time must pass after the trigger before the action is taken. Two types of triggers are allowed. They are: onBoot Triggered when the system boots. Note that this trigger also activates when exiting from event-handler configuration mode. 311
Related documents
Lab 6.4.3: Troubleshooting Inter-VLAN Routing
取 扱 説 明 書 電動油圧ポンプ
Dell Lifecycle Controller 1.4 User's Manual
FIL ROUGE PARENTS – MODE D`EMPLOI PARENTS Composez
EOS User Manual
DCS C-24 Specifications
Avid Technology ISIS 5500 Product specifications
Code Alarm 4000 Operating instructions
Dell Lifecycle Controller 1.3 User's Manual
Depósitos de gran capacidad MASTER EUROPA Depósitos
Technical Reference Manual - XTnano 14.00
PEMED Production Engineering - Medical Equipment Division