xAP Watcher Schema

From XAP Automation
Jump to: navigation, search

PC.Status

Class=PC.Status

Memory
{
TPM=(Total Physical Memory in kb)
-- mandatory
APM=(Available Physical Memory in kb)
-- mandatory
TVM=(Total Virtual Memory in kb)
-- mandatory
AVM=(Available Virtual Memory in kb)
-- mandatory
}
CPU
{
CPU=(Percentage of CPU use at time of message)
-- mandatory
AvCPU=(Average Percentage of CPU use since last message)
-- mandatory
}
Drive.XXX (where XXX is C/D/E etc or hda/hdb/hdc etc)
{
Total=(Total space in kb)
-- mandatory
Free=(Free space in kb)
-- mandatory
Name=(Volume name)
-- optional
}
Alerts
{
CPU=(Percentage limit of average cpu)
-- optional
Memory=(Percentage limit of memory, both physical and virtual)
-- optional
Drive=(Percentage limit of free space left on hard disk)
-- optional
}
Process
{
P.XXX=(name of process, XXX is process number)
-- optional repeating, XXX is unique
}
User
{
UserName=(Name of currently logged on user)
-- optional
Active=Yes/No(Is computer being used)
-- optional
Window=(Title of active window)
-- optional
}

PC.Request

To request a new current reading

Class=PC.Request

status
{
Request=Yes
}

PC.Control

To lock the workstation

Class=PC.Control

Control
{
Lock=Yes
}

To set a memory,CPU or Drive alarm

Class=PC.Alarm

Alarm
{
CPU=(1-100 to set alarm or Off to turn it off)
-- optional
Drive=(1-100 to set alarm or Off to turn it off)
-- optional
Memory=(1-100 to set alarm or Off to turn it off)
-- optional
}