Show/Hide Toolbars

MonitorWare Agent

Navigation: Configuring MonitorWare Agent > Services

CPU/Memory Monitor

Scroll Prev Top Next More

The CPU/Memory monitor has two parts of monitoring, a CPU and a Memory part. Both parts are checked frequently in a specified check interval. By default this interval is configured to 60 seconds so a check is done after every 1 minute. Both CPU and memory part can be disabled and enabled. The service becomes useless if you disable both parts.

 

services_121

CPU/Memory Monitor Properties

 

You can see a series of tabs at the top of screen shot above, namely CPU, Total Memory, Physical Memory and Virtual Memory.

 

Check Interval

File Configuration fields:

nSleepTime

Description:

The CPU/Memory Monitor runs periodically. This specifies, how often it should run. Please note that the CPU / Memory Monitor waits the configured amount of time after the current run is finished. The time is the delay in milliseconds.

 

 

CPU

When you click CPU tab, you are shown the options as shown in the screen shot above and explained below:

 

Enable CPU Check

File Configuration fields:

nCPUEnable

Description:

If this option is checked then it allows you to monitor the CPU.

 

CPU usage Alarm level

File Configuration fields:

nCPUUsageAlarmLevel

Description:

If the CPU usage reaches this level, an event is generated internally. Depending on how the occurences value is configured, an Information Unit is generated.

 

Note: this value is in terms of percentage.

 

Occurences until alarm is raised

File Configuration fields:

nCPUOccurences

Description:

Defines how often the CPU usage level has to occur in a row until an event is raised.

 

Also report if CPU level is below the Alarm level

File Configuration fields:

nCPUReportIfBelowAlarm

Description:

If this option is checked it generates an Information Unit during each run whether it is below the alarm level or above. This option is useful for statistics and debugging.

 

For Multiprocessor Systems only: Report for each CPU

File Configuration fields:

nCPUSingle

Description:

This option can only be used if you have a Multiprocessor System. When this option is checked the CPU usage is analyzed for each CPU and for the whole amount of CPU usage.

 

 

Total Memory

 

When you click Total Memory tab, you are shown the options as shown in the screen shot below:

 

services_122

Total Memory Properties

 

 

Enable Memory Check

File Configuration fields:

nMEMEnable

Description:

If this option is checked then it allows you to monitor the memory.

 

Memory usage Alarm level

File Configuration fields:

nMEMUsageAlarmLevel

Description:

Defines the alarm level for the memory usage. Note that virtual and physical memory are calculated together.

 

Note that this value is in terms of percentage.

 

Occurences until alarm is raised

File Configuration fields:

nMEMOccurences

Description:

Defines how often the memory usage has to be over the memory usage alarm level in a row.

 

Also report if Memory level is below the Alarm level

File Configuration fields:

nMEMReportIfBelowAlarm

Description:

This also generates an event if the memory usage is below the alarm level. A useful option for testing and debugging.

 

 

Physical Memory

When you click Physical Memory tab, you are shown the options as shown in the screen shot below:

 

services_123

Physical Memory Properties

 

Enable Physical Memory Check

File Configuration fields:

nMEMPsyEnable

Description:

If this option is checked then it allows you to monitor the physical memory.

 

Physical Memory usage Alarm level

File Configuration fields:

nMEMPsyUsageAlarmLevel

Description:

Defines the alarm level for the physical memory usage.

 

Note that this value is in terms of percentage.

 

Occurences until alarm is raised

File Configuration fields:

nMEMPsyOccurences

Description:

Defines how often the physical memory usage has to be over the physical memory usage alarm level in a row.

 

Also report if Physical Memory level is below the Alarm level

File Configuration fields:

nMEMPsyReportIfBelowAlarm

Description:

This also generates an event if the physical memory usage is below the alarm level. A useful option for testing and debugging.

 

 

Virtual Memory

When you click Virtual Memory tab, you are shown the options as shown in the screen shot below:

 

services_124

Virtual Memory Properties

 

Enable Virtual Memory Check

File Configuration fields:

nMEMVirtEnable

Description:

If this option is checked then it allows you to monitor the virtual memory.

 

Virtual Memory usage Alarm level

File Configuration fields:

nMEMVirtUsageAlarmLevel

Description:

Defines the alarm level for the virtual memory usage.

 

Note that this value is in terms of percentage.

 

Occurences until alarm is raised

File Configuration fields:

nMEMVirtOccurences

Description:

Defines how often the virtual memory usage has to be over the virtual memory usage alarm level in a row.

 

Also report if Virtual Memory level is below the Alarm level

File Configuration fields:

nMEMVirtReportIfBelowAlarm

Description:

This also generates an event if the virtual memory usage is below the alarm level. A useful option for testing and debugging.

 

 

General Values (Common settings for most services)

 

Syslog Facility

File Configuration fields:

nSyslogFacility

Description:

The Syslog facility to be assigned to events created by this service. Most useful if the message is to forward to a Syslog server.

 

Syslog Priority

File Configuration fields:

nSyslogPriority

Description:

The Syslog priority to be assigned to events created by this service. Most useful if the message is to forward to a Syslog server.

 

Resource ID

File Configuration fields:

szResource

Description:

The Resource ID to be assigned to events created by this service. Most useful if the message is to forward to a Syslog server.

 

Syslog Tag Value

File Configuration fields:

szSyslogTagValue

Description:

The Syslog tag value to be assigned to events created by this service. Most useful if the message is to forward to a Syslog server.

 

Rule Set to Use

File Configuration fields:

szRuleSetName

Description:

Name of the rule set to be used for this service. The Rule Set name must be a valid Rule Set.