Services
Location information
IX14 User Guide
387
(config service location geofence test_geofence on_exit
action 0)>
d. Set the type of action:
(config service location geofence test_geofence on_exit action
0)> type
value
(config service location geofence test_geofence on_exit action
0)>
where
value
is either:
l
factory_erase
—Erases the device configuration when the action is triggered.
l
script
—Executes a custom script when the action is triggered.
factory_erase
or
script
.
If
type
is set to
script
:
i. Type or paste the script, closed in quote marks:
(config service location geofence test_geofence on_exit
action 0)> commands "
script
"
(config service location geofence test_geofence on_exit
action 0)>
If the script begins with
#!
, then the proceeding file path will be used to invoke
the script interpreter. If not, then the default shell will be used.
ii. To log the output of the script to the
(config service location geofence test_geofence on_exit
action 0)> syslog_stdout true
(config service location geofence test_geofence on_exit
action 0)>
iii. To log the errors from the script to the
:
(config service location geofence test_geofence on_exit
action 0)> syslog_stderr true
(config service location geofence test_geofence on_exit
action 0)>
iv. (Optional) Set the maximum amount of system memory that will be available
for the script and it spawned processes:
(config service location geofence test_geofence on_exit
action 0)> max_memory
value
(config service location geofence test_geofence on_exit
action 0)>
where
value
is any integer followed by one of the following:
b
|
bytes
|
KB
|
k
|
MB
|
M
|
GB
|
G
|
TB
|
T
.
For example. the allocate one megabyte of memory to the script and its
spawned processes:
Содержание IX14
Страница 1: ...IX14 User Guide Firmware version 22 2 ...
Страница 45: ...Configuration and management Exit the command line interface IX14 User Guide 45 Type q or quit to exit ...
Страница 515: ...Monitoring This chapter contains the following topics intelliFlow 516 Configure NetFlow Probe 523 IX14 User Guide 515 ...
Страница 756: ...Routing Virtual Router Redundancy Protocol VRRP IX14 User Guide 756 ...
Страница 803: ...Command line interface Command line reference IX14 User Guide 803 Parameters None ...
Страница 812: ...Command line interface Command line reference IX14 User Guide 812 reboot Reboot the system Parameters None ...