Hello friend!
The beta release of Open iT version 10.1 is now available!
Try it out and help us enhance your Open iT experience. Contact support@openit.com to get started.
#
Configuring Freezemonitor Self-Terminate Function
The self-terminate function checks whether freezemonitor can keep running as a daemon based on user configuration.
This is for Unix only.
These are the steps to configure its behavior.
In an Open iT client, open
freezemonitor.xml
in the Components directory, which is by default in/var/opt/openit/etc/Components
.Locate node object
self-terminate
and set it totrue
to enable the self-terminate behavior.freezemonitor.xml106| <Object> 107| <Name>self-terminate</Name> 108| <Description>Enable self-termination</Description> 109| <Value type="Bool">true</Value>
By default, freezemonitor does not perform the task during its first startup, you can change this by setting the
skip-on-startup
object tofalse
.Locate the node object
task
and determine the factor to help decide when the freezemonitor will self-terminate. Choose among thetasks
subobjects,bind
,tail
, anddisplay
.Example: freezemonitor.xml111| <Object> 112| <Name>task</Name> 113| <Description>Criterion for self-termination. Options ( bind, tail or display )</Description> 114| <Value type="String">tail</Value>
- If you choose the bind task, locate the node object
bind
and list (comma-separated) executables that should not run for freezemonitor to self-terminate.Example: bind task128| <Object> 129| <Name>bind</Name> 130| <Description>Returns true when none of the listed executables are running. Ex: *femfat.tcl*,*a4_linux64*</Description> 131| <Value type="String">*a4_linux64*</Value>
- If you choose the tail task, locate the node object tail and list patterns that the user processes need to match. If all running user processes match a pattern, freezemonitor will self-terminate.
Example: tail task
133| <Object> 134| <Name>tail</Name> 135| <Description>Returns true when all the user's processes match any of the patterns below</Description> 136| <Value type="String">*openit_*,sshd*,bash,*sftp-server*,*ps *</Value>
- If you choose the display task, freezemonitor will self-terminate if it can no longer connect to the user display.
freezemonitor.xml
138| <Object> 139| <Name>display</Name> 140| <Description>Returns true if freezemon cannot connect to the user's display</Description> 141| <Value type="String"></Value>
- If you choose the bind task, locate the node object
Save the changes.
Go to the bin directory, which is by default in
/var/opt/openit/bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd /var/opt/openit/bin
Update the configuration file, run the command:
Command Syntax./openit_confbuilder --client