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 behavior as xinetd/inetd
is set up to log any connections to its services by default.
In the case of the UIM 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 UIM agent service, there are a few 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.
To disable logging, use one of the following options:
- 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).
For more information, see How to display the NetFlow dashboard using IE, /var/adm/messages kernel: cdrom: open failed, Suppress connection warnings from the agent in /var/adm/messages, and Monitor disk mounting in active / passive cluster nodes.