CA SystemEDGE User Guide › Process and Service Monitoring › Process Monitor Table › Sample Process Monitor Table Entry
Sample Process Monitor Table Entry
This section provides a sample Process Monitor table entry that instructs the agent to monitor the httpd process to make sure it is up and running.
Index
|
Desc
|
Interval
|
SampleType
|
Attribute
|
21
|
"Monitor httpd"
|
60
|
absoluteValue
|
procAlive
|
NumTraps
|
LastCall
|
Value
|
Oper
|
CurrVal
|
0
|
0d 22:40:00
|
4
|
=
|
3
|
LastTrap
|
RowStatus
|
Action
|
Flags
|
RegExpr
|
0
|
active
|
""
|
0x00000100
|
httpd
|
ObjClass
|
ObjInstance
|
ObjAttribute
|
Severity
|
CurrState
|
Process
|
httpd
|
procAlive
|
warning
|
ok
|
This sample entry provides the following information:
- This entry in this example is the 21st row in the Process Monitor table.
- It instructs the agent to monitor the Web server daemon (httpd) every 60 seconds.
- The attribute being monitored is the status of the process (procAlive).
- The current value of 3 indicates the process is running normally (as far as the operating system is concerned). If the process status goes to 4, or if the process stops running, the agent sets the current state to warning and sends a state change trap if this monitor represents the worst state for the corresponding managed object in the Aggregate State table.
- The RowStatus column shows that this entry is active.
- The Action column is null (''), which indicates that the agent invokes no action when the process stops running or starts again.
- The Flags value (0x00000100) instructs the agent to monitor the parent httpd daemon, instead of child processes. For more information about flags, see Process Monitor Table Flags.
- The class, instance, and attribute values establish this process monitor entry as a part of the managed object with these values in the Aggregate State table. You can define other process monitor entries with these same values to monitor for different severities, or you can aggregate this entry with other related objects and even with self monitors (such as monitoring other attributes of the same process).
Copyright © 2013 CA.
All rights reserved.
|
|