Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use the following steps to reduce the number of messages recorded in var/log/messages files on Red Hat Linux agents:

Code Block
languagesql
Edit the uptimeagent or uptmagnt file under /etc/xinetd.d and add the following lines between the {} characters: 
log_on_success -= PID

...


log_on_success -= EXIT 
log_on_success -= HOST DURATION 
log_on_failure -= HOST

...



Restart the xinetd process.

To test if the agent is still logging messages, run a tail -f on messages and then poll the Agent from the Uptime Infrastructure Monitor user interface to see if this action logs a new message.