You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In some Linux / Unix / Solaris configurations, you may notice that the up.time 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 from it's services by default.

In the case of the up.time 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 up.time agent service, there are a couple of different approaches to take.  The option to use depends on the platform's OS, and how it's xinetd/inetd/syslogd settings are configured.  So please make sure you are using the appropriate option for your environment.
  1. 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 deamon mode).

  2. 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).

  3. Edit the /etc/xinetd.d/uptimeagent file, and change the the log_type to FILE, and either log to an up.time 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).

  • No labels