mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-03-03 13:51:47 -05:00
This plugin connects to an SQL database using libdbi, thus supporting all database backends supported by libdbi. It will then issue the specified SQL query and check the result (the numeric value of the first column of the first row to be precise) against the specified warning/critical ranges. The performance data includes the connection time (µs-resolution as provided by gettimeofday()) and the query result.
92 lines
3.1 KiB
Text
92 lines
3.1 KiB
Text
Nagios Plugin Requirements
|
|
--------------------------
|
|
|
|
Some plugins require that you have additional programs and/or
|
|
libraries installed on your system before they can be used. Plugins
|
|
that are dependent on other programs/libraries that are missing are
|
|
usually not compiled. Requirements for various plugins are listed
|
|
below...
|
|
|
|
check_ldaps, check_http --ssl, check_tcp --ssl, check_smtp --starttls
|
|
- Requires openssl or gnutls libraries for SSL connections
|
|
http://www.openssl.org, http://www.gnu.org/software/gnutls
|
|
|
|
check_fping:
|
|
- Requires the fping utility distributed with SATAN. Either
|
|
download and install SATAN or grab the fping program from
|
|
http://www.fping.com/
|
|
RPM: http://rpmfind.net/linux/rpm2html/search.php?query=fping
|
|
Note that the fping command must be setuid root to function.
|
|
|
|
check_game:
|
|
- Requires the qstat utility available from
|
|
http://sourceforge.net/projects/qstat/
|
|
Last tested on qstat 2.3d BETA
|
|
|
|
check_hpjd:
|
|
- Requires the NET-SNMP package available from
|
|
http://net-snmp.sourceforge.net/
|
|
The snmpget binary is all that is required.
|
|
|
|
check_ldap:
|
|
- Requires the LDAP libraries available from
|
|
http://www.openldap.org/
|
|
Lib: libldap, liblber
|
|
Redhat Source: openldap-1.2.9-6.i386.rpm, openldap-devel-1.2.9-6.i386.rpm
|
|
|
|
check_mysql, check_mysql_query:
|
|
- Requires the MySQL libraries available from
|
|
http://www.mysql.org/
|
|
Lib: libmysql, libmysqlclient
|
|
Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm, mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however)
|
|
RPMS from www.mysql.org work better
|
|
Must have mysql_config in PATH or specified with --with-mysql=DIR for DIR/bin/mysql_config
|
|
|
|
check_pqsql:
|
|
- Requires the PostgreSQL libraries available from
|
|
http://www.postgresql.org/
|
|
|
|
check_dbi:
|
|
- Requires the DBI libraries available from
|
|
http://libdbi.sourceforge.net/
|
|
|
|
check_radius:
|
|
- Requires the radiusclient-ng library available from:
|
|
http://developer.berlios.de/projects/radiusclient-ng/
|
|
- This plugin also works with the original radiusclient library from
|
|
ftp://ftp.cityline.net/pub/radiusclient/
|
|
RPM (rpmfind): radiusclient 0.3.2, radiusclient-devel-0.3.2
|
|
Unless you're using a distro-maintained version of this library you
|
|
probably want to use radiusclient-ng. The original radiusclient library is
|
|
unmaintained and has many known issues, particularly with 64bit systems.
|
|
|
|
check_snmp:
|
|
- Requires the NET-SNMP package available from
|
|
http://net-snmp.sourceforge.net/
|
|
|
|
check_ifstatus/check_ifoperstatus
|
|
- Requires Net::SNMP perl module
|
|
http://www.perl.com/CPAN/modules/by-authors/id/D/DT/DTOWN/
|
|
|
|
check_nwstat:
|
|
- Requires MRTGEXT NLM for Novell Servers
|
|
http://forge.novell.com/modules/xfmod/project/?mrtgext
|
|
|
|
check_nt:
|
|
- Requires NSClient to run on the NT server to monitor
|
|
http://nsclient.ready2run.nl/
|
|
|
|
check_ups:
|
|
- Requires Network UPS Tools (>= 1.4) to run on the server to monitor
|
|
http://www.networkupstools.org/
|
|
|
|
check_ide_smart:
|
|
- Uses the Linux specific SMART interface [http://smartlinux.sourceforge.net/smart/index.php].
|
|
|
|
OS Specific Issues
|
|
------------------
|
|
|
|
HP-UX 11.11
|
|
You need to use the version of gcc provided by HP at version 3.3.3.
|
|
Also, you need GNU make 3.8
|
|
|