EasyManuals Logo

Opengear CM7100 User Manual

Opengear CM7100
246 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #137 background imageLoading...
Page #137 background image
User Manual
6.2.10 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:
1. Click on Custom Check as the Check Condition
2. Create an executable trigger check script file e.g. /etc/config/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
fi
touch /etc/config/customscript.0
exit 1
See online FAQ for a sample web page html check and other script file templates
3. Enter the Script Executable file name (e.g. /etc/config/test.sh)
4. 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)
5. Specify the Successful Return Code. An Auto-Response is triggered if the return code from
the script is not this value
6. 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)
7. Check Save Auto-Response

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Opengear CM7100 and is the answer not in the manual?

Opengear CM7100 Specifications

General IconGeneral
BrandOpengear
ModelCM7100
CategoryServer
LanguageEnglish

Related product manuals