![background image](/i/tripp-lite/128520/tripp-lite-b094-008-2e-m-f-b096-048-b096-016-b094-008-2e-v-b096-032/h/tripp-lite-b094-008-2e-m-f-b096-048-b096-016-b094-008-2e-v-b096-032-128.png)
128
Chapter 7: Alerts, Automated Response and Logging
7.2.4 Run Custom Script on Trigger
• Click on Run Custom Script as the Add Trigger Action. Enter a unique Action Name and set the Action Delay Time
• Create a script file to execute when this action is triggered and enter the Script Executable file name e.g. /etc/config/action.sh
• Set the Script Timeout (i.e. the maximum run-time for the script). Leave as 0 for unlimited.
• Enter any Arguments that are to be passed to the script and click Save New Action
7.2.5 Send SNMP Trap on Trigger
• Click on Send SNMP Trap as the Add Trigger Action. Enter a unique Action Name and set the Action Delay Time
Note
: The SNMP Trap actions are valid for Serial, Environmental, UPS and Cellular data triggers only
7.2.6 Send Nagios Event on Trigger
• Click on Send Nagios Event as the Add Trigger Action. Enter a unique Action Name and set the Action Delay Time
• Edit the Nagios Event Message text to display on the Nagios status screen for the service
• Specify the Nagios Event State (OK, Warning, Critical or Unknown) to return to Nagios for this service
• Click Save New Action
Note
: To notify the central Nagios server of Alerts, NSCA must be enabled under System: Nagios and Nagios must be enabled
for each applicable host or port
7.2.7 Perform Interface Action
• Click on
Perform Interface Action
as the
Add Trigger Action
. Enter a unique
Action Name
and set the
Action Delay
Time
•
Select the Interface
(Modem or VPN service) and the
Action
(Start or Stop Interface) to be taken
Note:
If any IPsec service or OpenVPN tunnel is to be controlled by the Network Interface Event Action, you will need to have
checked the
Control by Auto-Response
box when configuring that service (if selected, the default state for the VPN tunnel /
service will be Down).