Package: health-monitoring-plugins
health monitoring plugins:This is the main readme file for the health montiroing plugins project. In this project we pubish all our plugins we write for icinga / nagios.
The plugins are provided on pypi as python package.All plugins are released under the GPLv2.PluginsA detailed description can be found in the README in the doc folder.check_jenkins_apiMonitor the jobs in the Jenkins job queuecheck_local_cpu_tempCheck the local CPU temperature without the usage of "lm-sensors"check_snmp_fortinetMonitor Fortinet Wifi Controllers via SNMPcheck_snmp_procurveMonitor HP / Aruba procurve switches via SNMPcheck_snmp_apc_upsMonitor an UPS from APC via SNMP.check_snmp_eaton_upsMonitor an UPS from Eaton via SNMP. Requires the built in Eaton network card.check_snmp_lbandCheck the status of the CROSS TECHNOLOGIES redundancy controller 2082-141.
Implemented against MIB 2082-141.mibcheck_meinberg_ntpCheck the Meinberg NTP server LANTIME M300.The plugin checks the current ntp and gps state, shows the current gps position and checks the good satellites.
Tested with firmware version 5.30 and 6.18 (NG).check_moxa_6000Check the status of a Moxa NPORT 6000 RS232 to LAN converter.You can check each port for the CTS, DSR, DTR and Error count.check_snmp_ilo4This plugin checks the health of HP servers with iLo 4 interface via SNMP.check_snmp_janitzaCheck the status of a Janitza 604 device.check_snmp_large_storageCheck the used / free disk space of a device via SNMP (using the HOST-RESOURCES-MIB hrStorageSize).
There are already script doing that likehttp://nagios.manubulon.com/snmp_storage.html. But these check script have a big problem with large storage systems.check_snmp_portCheck the status of a tcp/udp port via SNMP. For TCP ports also the status is checked (e.g listen, established).check_snmp_raritanCheck a Raritan Dominition PX PDU (Power Distribution Unit):outlets (On, Off)inlet (Power, Current, Voltage)connected sensorscheck_snmp_serviceIcinga / Nagios plugin to check if a Windows service is in running state via SNMP.check_snmp_time2This plugin compares the time of the icinga/nagios machine with the time of a remote device.check_snmp_idracThis plugin checks the health of Dell iDRAC.check_snmp_teledyneThis plugin checks the health of Teledyn Paradise Datacom Sattelite Modem.check_snmp_ubiquitiCheck the status of a Ubiquiti airMax device.check_microwavemodemCheck the status of a Microwave Modemcheck_newtecmodemCheck the status of a Newtec Modemcheck_snmp_cambium_ptp700Check the status of a Cambium PTP 700 radiocheck_snmp_eps_plusCheck the status of a ePowerSwitches (8XM+).Installationpip (recommended)The complete plugin package is available atPyPIIf your Linux machine is directly connected to the internet, you can use pip to install the package.
Just run:pip install health_monitoring_pluginsThe plugins will be installed in your PATH. So the scripts can be executed directly.If you are behind a firewall or not connected to the internet, you can download the tar.hz from PyPI and install it withhealth_monitoring_plugins-<version>.tar.gzTo uninstall the package you can run:pip uninstall health_monitoring_pluginssetup.pyYou can download the source package from [PyPI] (https://pypi.python.org/pypi/health_monitoring_plugins) or just clone this repository. To run setup.py you will need the python-setuptools.To install the package from source with setup.py, you can runtar xfvz health_monitoring_plugins-<version>.tar.gz
cd health_monitoring_plugins
python setup.py installRun the unittestsTo run the unittests just execute:python setup.py testThe unittests require pytest. For the unittests we use the testagent fromhaxtibal.TroubleshootingWhen calling the plugin, I receive an error like "ImportError: No module named health_monitoring_plugins.raritan"Seems that you did not install the python package. The plugins can not be called directly. Check the Installation section."Workaround:"PYTHONPATH=~/PycharmProjects/health_monitoring_plugins/ health_monitoring_plugins/check_snmp_raritan/check_snmp_raritan.pyRoadmapVersion 0.3.0Refactoring of Moxa pluginRefactoring of APC pluginMigrate from netsnmp to pysnmp for pluginsRemove obsolete pluginsVersion 1.0.0Python 3 supportRefactoring of tests (remove netsnmp)ChangelogVersion 0.2.1Fixed some exit codes for check_snmo_idrac, check_snmp_ilo, check_snmp_meinberg and check_snmp_procurveFixed issue with multiple inheritance (#20)Version 0.2.0Updated license notices accordinghttps://www.gnu.org/licenses/gpl-howto.htmlPreparations for Python3:Refactored check_snmp_large_storageRefactored check_snmp_serviceRefactored check_snmp_portRefactored check_snmp_time2Refactoring of iLo pluginRefactored check_snmp_procurve.pyRefactored check_snmp_eaton_ups.pyRemoved check that are not compatible with 9SX seriesSmall fixes and PEP 8 improvementsAdded check_snmp_eps_plusAdded check_snmp_cambium_ptp700Improved snmp exception handlingAdded --snmptimeout parameteriDrac plugin shows now "warning" instead of "nonCritical"Version 0.1.0Added check_local_cpu_temp.pycheck_snmp_ilo4:Fixed snmp v2 community 4 (thanks to nb85)Added SNMPv3 support to all plugins for devices supporting SNMPv3Added common test for SNMPv3.PEP8 & general code improvementscheck_snmp_raritan:Fixed exception in check_snmp_raritan if sensor does not return a valid value.Moved units in metrics from UOM to label to avoid conflicts with Graphitecheck_snmp_eaton:Added support of Eaton 9SX seriesChanged threshold options for check_snmp_eaton_upsRefactored check_meinberg_ntp plugincheck_snmp_idrac:RefactoringAdded noPowerRedundancy option (thanks to ironbishop)Fixed snmp v2 communityAdded check_microwavemodemAdded check_newtecmodemMigration from github to codebergVersion 0.0.9Added check_snmp_instadios_csmAdded SNMPv3 support for check_snmp_idracFixed some bugs in check_snmp_idrac (error if sever is powered off or if the power supply is not redundant)Version 0.0.8Added check_snmp_fortinetAdded check_jenkins_apiVersion 0.0.7Added check_snmp_procurveAdded check_snmp_lbandAdded check_snmp_eaton_upsAdded check_snmp_apc_upsSeveral bugfixes and code improvementsVersion 0.0.6Fixed segfault, if there is no route to hostVersion 0.0.5Added check_snmp_teledyne, check_snmp_janitza, check_snmp_ubiquitiSeveral bugfixesVersion 0.0.4Fixed bug in check_snmp_time2Added check_snmp_idracVersion 0.0.3Several bugfixes and code cleanupVersion 0.0.2Several bugfixes and code cleanupVersion 0.0.2Added unittests for all pluginsFixed a bug in check_snmp_raritan Inlet checkCleaned up some parts of the codeBetter package structureVersion 0.0.1The first testing release including all developed check plugins