Date: Fri, 29 Mar 2024 05:40:56 +0000 (UTC) Message-ID: <395853154.5613.1711690856281@ip-10-0-1-161.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5612_1422967745.1711690856278" ------=_Part_5612_1422967745.1711690856278 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Use the following steps to reduce the number of messages recorde= d in var/log/messages files on Red Hat Linux agents:
Edit th= e uptimeagent or uptmagnt file under /etc/xinetd.d and add the following li= nes between the {} characters: log_on_success -=3D PID=20 log_on_success -=3D EXIT=20 log_on_success -=3D HOST DURATION=20 log_on_failure -=3D HOST Restart the xinetd process.
To test if the agent is still logging messages, run a tail -f on message= s and then poll the Agent from the Uptime Infrastructure Monitor user = interface to see if this action logs a new message.