Skip to main content

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

Metadata

Release files for foldback 1.2.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foldback 1.2.14
File Size Uploaded Provenance
foldback-1.2.14.tar.gz 19.7 kB Without provenance Details

Release files / foldback-1.2.14.tar.gz

Download URL foldback-1.2.14.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7333c08d02a17358d55fe116834b79ec011b144d6722c7d540bd139bdf8658b8
BLAKE2b-256 checksum
How to use checksums
8d13a21982603db4fa862ebc3ae46be24160ae0e16e20a0f2a62a9658c17caa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for foldback 1.2.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page