Versions Compared

Key

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

Normally the Uptime Infrastructure Monitor agent is setup by default to run under xinetd mode. Which relies on the xinetd super service to be installed at the OS level. Though recent versions of Redhat no longer have this service installed by default. As such the alternative is to run the Uptime Infrastructure Monitor agent under daemon mode.

Enabling Daemon mode

The easiest way to enable the Uptime Infrastructure Monitor agent's daemon mode is via the 'agent-cfg.sh' script normally located at /opt/uptime-agent/bin/

Code Block
languagesql
[]# cd /opt/uptime-agent/bin/
[]# ./agent-cfg.sh daemon on
When changing from modes (xinetd <-> daemon), there is a delay of 60 seconds before it starts
In order for the Uptime agent to start up on boot in daemon mode you will need to symbolic link the startup scripts to the init directory
Example:
ln -s /opt/uptime-agent/bin/upt_daemon.sh /etc/rc.d/rc3.d/S99uptm_daemon
ln -s /opt/uptime-agent/bin/upt_daemon.sh /etc/rc.d/rc3.d/K1uptm_daemon
Starting the daemon.....

Disabling Daemon mode

Disabling the Uptime Infrastructure Monitor agent's daemon mode is done via the same agent-cfg.sh script, which sets the agent to run under xinetd mode again, and removes the above mentioned symlinks:

...