Skip to main content

Python libraries used in various Linuxfabrik projects, including the 'Linuxfabrik Monitoring Plugins' project.

Project description

Linuxfabrik's Python Libraries

These Python libraries are used in various projects of Linuxfabrik, including the Linuxfabrik Monitoring Plugins project.

List of libraries:

  • args.py: Extends argparse by new input argument data types on demand.
  • base.py: Provides very common every-day functions.
  • cache.py: Simple Cache in the form of a Key-Value Store (KVS) like Redis, based on SQLite, optionally supporting expiration of keys. No detailed error handling here. If the cache does not work, we (currently) don't report the reason and simply return False.
  • db_mysql.py: Library for accessing MySQL/MariaDB servers.
  • db_sqlite.py: Library for accessing SQLite databases.
  • disk.py: Offers file and disk related functions, like getting a list of partitions, grepping a file, etc.
  • distro.py: Provides information about the Linux distribution it runs on, such as a reliable machine-readable distro ID and "os_family" (known from Ansible).
  • dmidecode.py: Library for parsing information from dmidecode. Have a look at man dmidecode for details about dmidecode.
  • endoflifedate.py: This library stores information from https://endoflife.date/api/ for offline usage and therefore needs to be updated periodically when version checks don't have access to the Internet.
  • feedparser.py: Parse Atom and RSS feeds in Python.
  • globals.py: This library defines the global plugin states, based on the POSIX spec of returning a positive value and just like in monitoring-plugins/plugins-scripts/utils.sh.in, except that we do not make use of STATE_DEPENDENT.
  • grassfish.py: Provides functions using the Grassfish REST-API.
  • huawei.py: This library collects some Huawei related functions that are needed by Huawei check plugins.
  • human.py: Functions to convert raw numbers, times etc. to a human readable representation (and sometimes back).
  • icinga.py: This module tries to make accessing the Icinga2 API easier.
  • infomaniak.py: Provides functions using the Infomanik REST-API.
  • jitsi.py: This library collects some Jitsi related functions that are needed by more than one Jitsi plugin.
  • librenms.py: This library collects some LibreNMS related functions that are needed by LibreNMS check plugins.
  • net.py: Provides network related functions and variables.
  • nodebb.py: This library collects some NodeBB related functions that are needed by more than one NodeBB plugin.
  • powershell.py: This library collects some Microsoft PowerShell related functions.
  • psutil.py: Wrapper library for functions from psutil.
  • redfish.py: This library parses data returned from the Redfish API.
  • rocket.py: This library collects some Rocket.Chat related functions that are needed by more than one Rocket.Chat plugin.
  • shell.py: Communicates with the Shell.
  • smb.py: Provides functions to establish native SMB connections.
  • test.py: Provides test functions for unit tests.
  • time.py: Provides datetime functions.
  • txt.py: A collection of text functions.
  • url.py: Get for example HTML or JSON from an URL.
  • veeam.py: This library interacts with the Veeam Enterprise Manager API.
  • version.py: Provides functions for handling software versions.
  • wildfly.py: This library collects some WildFly/JBoss related functions that are needed by more than one WildFly/JBoss plugin.
  • winrm.py: This library collects some Microsoft WinRM related functions.

Project details


Download files

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

Source Distribution

linuxfabrik-lib-2023051201.post1.tar.gz (60.7 kB view details)

Uploaded Source

Built Distribution

linuxfabrik_lib-2023051201.post1-py3-none-any.whl (75.9 kB view details)

Uploaded Python 3

File details

Details for the file linuxfabrik-lib-2023051201.post1.tar.gz.

File metadata

File hashes

Hashes for linuxfabrik-lib-2023051201.post1.tar.gz
Algorithm Hash digest
SHA256 22933bc20135834c2fa3f264f25483f8009b3203f8f0449dbcf7d430175386ec
MD5 9ac54d9d8e347106875b4755a58e9050
BLAKE2b-256 34c4ddb96b527ea50bf6ab66484253d1ff97bf0c849da510b9367fddaef821e3

See more details on using hashes here.

File details

Details for the file linuxfabrik_lib-2023051201.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for linuxfabrik_lib-2023051201.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed243c8c5425c4c9a5fa00c6b6c1a3471daa14e546835fa3f8897f4f4d66982a
MD5 f6cbc3a96f0d3037a958a985cf930a70
BLAKE2b-256 c1cce104afa4a6cf1288cf1c693ed5afa814a5da2453a92906a52a98964ac011

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page