In some Linux / Unix / Solaris configurations, you may notice that the Uptime Infrastructure Monitor Agent is repeatedly logging connection warnings in the /var/adm/messages log. This is usually normal behaviour as xinetd/inetd is set up to log any connections to its services by default.
In the case of the Uptime Infrastructure Monitor Agent, this practice can result in very large log files, as every time the Monitoring Station polls the Agent or runs a Service Monitor, the connection will be logged.
If you want to disable this logging for the Uptime Infrastructure Monitor Agent service, there are a couple of different approaches to take. The option to use depends on the OS, and how the xinetd/inetd/syslogd settings are configured. So please make sure you are using the appropriate option for your environment.
- Disable or suppress warning level messages via the appropriate config file for your Operating System's logging tool, and how your agent is currently running
(i.e. xinet.d, init.d or daemon mode).
OR - Edit the /etc/xinetd.d/uptimeagent file and change the log type to only log EMERG level messages, which will suppress the warning level connection messages
(i.e. log_type = SYSLOG authpriv emerg).
OR - Edit the /etc/xinetd.d/uptimeagent file, and change the the log_type to FILE, and either log to an Uptime Infrastructure Monitor agent only log, or /dev/null to suppress the logging completely
(i.e. log_type = FILE /dev/null or log_type = FILE /var/tmp/uptimeagent.log).