Remote RMM-1400 Version 2.0x Configuration Guide
Configuring Jobs: Configuring a Job with a Job Task
18-10
Configuring a Job with a Job Task
Important:
This procedure assumes that you have obtained a script package from
Kentrox (in this example,
exampleScript-1.0.0.pkg
) and the
procedure
Installing a Script Package on page 18-5
has been completed.
To configure a job with a job task:
1. At the main prompt, create and configure job
echodata
to use script package
examplescript
and script
echo_example
. Define the minimum acceptable
version level for an installed package as
1.0.0
:
config jobs name echodata script examplescript echo_example 1.0.0
2. Create task
new_ip
and assign the task type as
ifconfig
:
config jobs name echodata task new_ip type ifconfig
3. Assign address property value
192.168.0.215
to task
new_ip
:
config jobs name echodata task new_ip property address
192.168.0.215
4. Assign controller property
br_switch
to task
new_ip
:
config jobs name echodata task new_ip property controller
br_switcheth0_1
5. (optional) Verify that the task
new_ip
has been configured properly:
show jobs name echodata task new_ip
The command response appears similar to the following:
6. Create task
server_sock
and assign the task type as
serversocket
:
config jobs name echodata task server_sock type serversocket
In this scenario, you will configure a
job
with a
job task
. The job uses a script that
starts a server, which accepts an incoming socket connection. When a connection
is established, the script listens for data from the connection. When data is sent, the
script determines if it should modify the data based on the value
yes
entered for
job
property
upper_case
and then writes back the changed data in uppercase.
(Dub)>show jobs name echodata task new_ip
Task: new_ip
Position: 1
Type: ifconfig
Properties:
Name Value
address 192.168.0.215
controller br_switch
(Dub)>
Summary of Contents for RMM-1400
Page 14: ...TOC 6 Table of Contents ...
Page 242: ...Glossary 30 Glossary ...
Page 246: ...Copyrights 2 Copyrights and License Statements ...