nagios

Check_mk

Check_mk adopts a new a approach for collecting data from operating systems and network components. It obsoletes NRPE, check_by_ssh, NSClient and check_snmp. It has many benefits, the most important of which are: significant reduction of CPU usage on the Nagios host and automatic inventory of items to be checked on hosts.

Client installation

cd /extra/src
wget http://mathias-kettner.de/download/check_mk-agent-1.1.3-1.noarch.rpm

Technology:

PNP4Nagios

PNP is an addon to Nagios which analyzes performance data provided by plugins and stores them automatically into RRD-databases

Prerequisites

  • RRDtool is the OpenSource industry standard, high performance data logging and graphing system for time series data. Use it to write your custom monitoring shell scripts or create whole applications using its Perl, Python, Ruby, TCL or PHP bindings.
    Our CentOS server needed a few devel libraries installed for RRDtool:

    yum -y install cairo-devel glib2-devel pango-devel

    Download the latest source for RRDtool

Technology:

Lilac

Lilacis a configuration tool for Nagios, the industry standard in open source monitoring. Lilac makes configuration easy with simple to use screens and tools for auto-discovery and importing of existing configurations.

Prerequisites
PDO MySQL requires libtool:

yum install libtool-ltdl-devel

Then compile PHP with PDO MySQL and Process Control by adding these options to your ./configure:

--with-pdo-mysql=/usr/local/mysql \
--enable-pcntl

In order to use the Auto Discovery feature of Lilac, install Nmap

yum install nmap

Technology:

Nagios Monitoring

Nagios has many useful plugins for monitoring this qmail server.

Prerequisites for Monitoring With Nagios
These instructions assume that you have a Nagios server already set up similar to the instructions on this site.

Technology:

NagVis

NagVis can be used to visualize Nagios Data, e.g. to display IT processes like a mail system or a network infrastructure.

Key features are:
• Display of single Hosts or Services
• Display the state of a Host dependent on the state of its services (“recognize services”)
• Visualize a complete Host- oder Servicegroup with one icon
• Define Sub-Map icons wich represent a complete NagVis Map of Hosts/Services/Groups in one icon (drill down)
• Visualization of complete IT Processes using self drawn graphics

Prerequisites
The ndoutils must be installed

Technology:

Statusmap Icons

The base install of Nagios doesn't have any fancy icons for use on the statusmap so we'll add some to make a nicer display.

Technology:

Addons

Extra addon's for Nagios

Technology:

check_clam_version

This plugin queries ClamAV and checks if the version is up-to-date or not based on the value. Information on the plugin can be found here.

cd /usr/local/nagios/libexec
wget http://fupps.com/code/sundry/clamnag.pl
chmod ug+x clamnag.pl
chown nagios:nagios clamnag.pl

To add the check plugin to your NRPE config, edit /usr/local/nagios/etc/nrpe.cfg

command[check_clam_version]=/usr/local/nagios/libexec/clamnag.pl

Technology:

check_qmailq

The original plugin is from http://www.openfusion.com.au/labs/nagios/
Download the check plugin:

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

The check command takes the syntax of check_qmailq -w count -c count [-W pre_count] [-C pre_count] [-q /path/to/qmail-qstat]. The warning and critical message counts can be adjusted to your preference. Edit /usr/local/nagios/etc/nrpe.cfg and add entries for the services you want to check, such as:

Technology:

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:

Pages

Subscribe to RSS - nagios

Recent Updates

  • 2 years 3 days ago
  • 2 years 3 days ago
  • 2 years 5 days ago
    php 8.x
  • 2 years 1 week ago
    10.6.7
  • 2 years 1 week ago
    Drop Centos 5/6 stuff