...
If the UEM Server does not detect the presence of uemtest.dat before the inactive time elapses, the event will be set to an expired state. Again, because no handler information is given for this state, no further action will be taken by the UEM Server.
Panel | |
---|---|
Html bobswift | uem -host uemhost -event_type file -filespec uemtest.dat
-inact_date_time +10 -userid uemuser -pwd uemusers_password
-triggered -script /UEMScripts/h_001.txt
-handler_opts "parm1 parm2 parm3 >uemtest.log 2>&1"
</pre>
|
Command Line Options
Anchor | ||||
---|---|---|---|---|
|
...
:
...
...
style | background-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 108pt; |
---|
...
Option |
---|
...
...
Description |
---|
...
...
...
...
List of one or more hosts upon which a command may run. |
...
...
...
...
Type of event to monitor. |
...
style | border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top; |
---|
...
...
...
Name or pattern of the file whose creation should be detected and tracked for completion. |
...
style | border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top; |
---|
...
...
...
Date and time at which the state of the monitored event should be made inactive. |
...
...
...
...
...
style | border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top; |
---|
ID of a remote user account that the UEM Server uses to establish the security context in which event monitoring is performed. |
...
...
...
Password associated with -userid. |
...
...
...
Event state that, when encountered, will result in the execution of the associated event handler. |
...
style | border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top; |
---|
...
...
Complete path to a local script file that contains one or more system commands that should be executed on behalf of the event handler. |
...
style | border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top; |
---|
...
...
...
Options that are passed as command line arguments to any process executed on behalf of an event handler. |
Contents of Sample Script File
The following figure illustrates the contents of the /UEMScripts/h_001.txt file.
Panel | |
---|---|
Html bobswift | :: Sample script h_001.txt
@echo off
:: Program variables
set parmCtr=1
:: Loop through parameter list
:: **** Start of loop ****
:BeginLoop
if ""%1""=="""" goto EndLoop
:DisplayParm
echo Parm %parmCtr%: %1
:: Shift the next parm
shift
set /a parmCtr+=1
:: Go back to the top
goto BeginLoop
:: **** End of loop ****
:EndLoop
</pre>
|
Components
Anchor | ||||
---|---|---|---|---|
|
...