|
Server Monitor Process Threads |
The Omnify Server Monitor can manage 5 separate process threads.
Each process thread calls a different Web Service Method (described below).
Each process thread operates on an "audit cycle".
The audit cycles are controlled by the OmnifyServerMonitor.exe.config file.
The Server Monitor reads this file when the service is started.
The OmnifyServerMonitor.exe.config is an XML file that contains the following sections:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup,
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="OmnifyServerMonitor.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<applicationSettings>
<OmnifyServerMonitor.Properties.Settings>
<setting name="OmnifyServerMonitor_localhost_ServerMonitor"
serializeAs="String">
<value>http://localhost/omnifywebservices/servermonitor.asmx</value>
</setting>
<setting name="SystemAuditFrequent_FrequencySeconds"
serializeAs="String">
<value>60</value>
</setting>
<setting name="SystemAuditNormal_FrequencyMinutes"
serializeAs="String">
<value>0</value>
</setting>
<setting name="SystemAuditOccasional_FrequencyMinutes"
serializeAs="String">
<value>0</value>
</setting>
<setting name="AlertAuditNormal_FrequencyMinutes"
serializeAs="String">
<value>0</value>
</setting>
<setting name="AlertAuditOccasional_FrequencyMinutes"
serializeAs="String">
<value>0</value>
</setting>
</OmnifyServerMonitor.Properties.Settings>
</applicationSettings>
</configuration>
The key tags for the process threads:
SystemAuditFrequent |
SystemAuditFrequent_FrequencySeconds |
Value |
Defines the frequency (in seconds) that the Server Monitor will invoke the thread |
SystemAuditNormal |
SystemAuditNormal_FrequencyMinutes |
Value |
Defines the frequency (in minutes) that the Server Monitor will invoke the thread |
SystemAuditOccasional |
SystemAuditOccasional_FrequencyMinutes |
Value |
Defines the frequency (in minutes) that the Server Monitor will invoke the thread |
AlertAuditNormal |
AlertAuditNormal_FrequencyMinutes |
Value |
Defines the frequency (in minutes) that the Server Monitor will invoke the thread |
AlertAuditOccasional |
AlertAuditOccasional_FrequencyMinutes |
Value |
Defines the frequency (in minutes) that the Server Monitor will invoke the thread |
The [value] tag for each setting defines the frequency that each thread will be invoked.
To disable any thread you can either leave the [value] tag blank or set the [value] tag to 0.
|
|