daemontools

check_daemontools_service

OpenFusion has a set of Nagios plugins which include a check_daemontools_plugin. A copy of the specific plugin is also available here.

Installation

Download the plugin:

cd /usr/local/nagios/libexec
wget http://www.productionmonkeys.net/sites/productionmonkeys.net/files/nagios/check_daemontools_service
chmod ugo+x check_daemontools_service
chown nagios:nagios check_daemontools_service

The latest version fo the plugin requires the Nagios::Plugin::Getopt and Nagios::Plugin::Functions modules for Perl be installed:

perl -MCPAN -e shell
install Nagios::Plugin::Getopt
install Nagios::Plugin::Functions
exit

Technology:

Automatic Startup

Control the running of your Nagios server using init scripts or daemontools.

Init Script
If you installed the included startup scripts, add them to the system services and have it automatically start at system boot:

chkconfig --add nagios
chkconfig nagios on

Verify your initial Nagios configuration:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

And if there are no errors, you can control Nagios with:

/etc/rc.d/init.d/nagios {start|stop|restart|reload|force-reload|status}

or

service nagios {start|stop|restart|reload|force-reload|status}

Technology:

check_daemontools_service

OpenFusion has a set of Nagios plugins which include a check_daemontools_plugin for monitoring the status of daemontools services.

A copy of the specific plugin is also available here.

Installation
Download the plugin:

cd /usr/local/nagios/libexec
wget http://www.dwadson.com/files/nagios/check_daemontools_service
chmod ugo+x check_daemontools_service
chown nagios:nagios check_daemontools_service

The latest version fo the plugin requires the Nagios::Plugin::Getopt and Nagios::Plugin::Functions modules for Perl be installed:

perl -MCPAN -e shell
install Nagios::Plugin::Getopt

Technology:

Convert-Multilog

A utility to make the logs generated by multilog and daemontools easier to read and archive.

Convert-Multilog
In order to get some nicer logs from our daemontool services, we'll use some of John Simpson's convert-multilog script to automatically clean them up and put daily log files into "/var/log".

Daemontools

daemontools is a collection of tools for managing UNIX services that was created by Daniel J. Bernstein.

To simplify management of the various daemons on the server, install daemontools. Asides from some other benefits, a really nice thing about daemontools is that gives a consistent means of managing different services rather than a mish-mosh of different init scripts, rc.d scripts, etc.

Installation
Setup a directory to download your source file into:

mkdir -p /package
chmod 1755 /package
cd /package

Technology:

Subscribe to RSS - daemontools

Recent Updates

  • 8 months 2 weeks ago
    1.27.2 update
  • 8 months 3 weeks ago
    Drupal 10/11 config
  • 8 months 3 weeks ago
  • PHP
    8 months 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 8 months 3 weeks ago
    New version of Pound