EasyManua.ls Logo

Tripp Lite B092-016 - Custom Check; SMS Command

Tripp Lite B092-016
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
116
Chapter 7: Alerts, Automated Response and Logging
7.1.8 Custom Check
ThischeckallowsuserstorunanominatedcustomscriptwithnominatedargumentswhosereturnvalueisusedasanAuto-Response
trigger event:
• ClickonCustomCheckastheCheckCondition
• Createanexecutabletriggercheckscriptlee.g./etc/cong/test.sh
#!/bin/sh
logger “A test script”
logger Argument1 = $1
logger Argument2 = $2
logger Argument3 = $3
logger Argument4 = $4
if [ -f /etc/config/customscript.0 ]; then
rm /etc/config/customscript.0
exit 7
touch /etc/config/customscript.0
exit 1
• EntertheScriptExecutablelename(e.g./etc/cong/test.sh)
• SettheCheckFrequency(i.e.thetimeinsecondsbetweenre-runningthescript)andtheScriptTimeout(i.e.the
maximumrun-timeforthescript)
• SpecifytheSuccessfulReturnCode.AnAuto-Responseistriggeredifthereturncodefromthescriptisnotthisvalue
• EnterArgumentsthataretobepassedtothescript(e.g.withawebpagehtmlcheckscript,theseArgumentsmight
specifythewebpageaddress/DNSanduserlogins)
• CheckSaveAuto-Response
7.1.9 SMS Command
AnincomingSMScommandfromanominatedcallercantriggeranAuto-Response:
• ClickonSMSCommandastheCheckCondition
• SpecifywhichPhoneNumber(ininternationalformat)ofthephonesendingtheSMSmessage
• SettheIncomingMessagePattern(PCREregularexpression)tomatchtocreatetriggerevent
Note: The SMS command trigger condition can only be set if there is an external USB cellular modem detected

Table of Contents

Other manuals for Tripp Lite B092-016

Related product manuals