Skip to main content

Network/System monitoring plugins for nagios

Project description

Foldback nagios plugins

This module contains base implementations of two kinds of nagios plugin classes for python:

  • foldback.nagios.plugin.NagiosPlugin

    Generic nagios plugin for any kind of command

  • foldback.nagios.plugin.NagiosSNMPPlugin

    Nagios SNMP plugin, extending the base class

Included plugins

Installed to lib/foldback/plugins directory of your install prefix, a couple of ready to use pluings are also available. In sources, see directory data/plugins for the implementations.

Default nagios configuration for these plugins is installed to share/foldback/commands.cfg to be included in nagios.

Agents for net-snmp

Some of the plugins use net-snmp pass_persist script agents. Required agent scripts are in lib/foldback/agents directory with installed package and need to be added to snmpd.conf with correct OID prefix to be used.

Example from a FreeBSD host:

` pass_persist 1.3.6.1.4.1.2021.13.16 /usr/lib/foldback/agents/freebsd-temperatures pass_persist 1.3.6.1.4.1.2021.13.17 /usr/lib/foldback/agents/freebsd-kernel `

See the agent or plugin for expected prefixes to configure in snmpd.conf.

Examples

Using the plugin base classes is described in two examples of the source code tree:

  • examples/check-local

    describes using generic NagiosPlugin

  • examples/check-snmp

    describes using the NagiosSNMPPlugin variant

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
foldback-1.2.14.tar.gz (19.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page