Limiting size by restricting the number of messages

The /AgentSetup/maxAgentMessageLimit configuration variable determines the number of messages written to the PATROL Agent error log.

Format and type of data

Numeric, messages

Default value

100000

Minimum and maximum

0, none

Dependencies

None

Recommendation

Under normal circumstances, the default value for the number of messages must not be reached. Most of the PATROL Agent messages are a single line long. Only a few messages exceed this size.

The global symbol numAgentMsgs tracks how many messages have been written to the log.

You can limit the number of messages that are written to the agent error log using the agent configuration variable, maxAgentMessageLimit. When the number of messages in agent error log reaches the limit, the agent stops data collection for all the the KM's.

When the limit is reached, the following block is written to the agent error log:

Mon Aug 14 11:45:22 2000 Maximum number of messages (12) logged. >>>NO MORE MESSAGES WILL BE LOGGED<<<
Was this page helpful? Yes No Submitting... Thank you

Comments