Public Member Functions | |
| __init__ (self, config) | |
| Do not change anything here! | |
| onLoad (self) | |
| Called by import of the plugin. | |
| setup (self) | |
| Called before alarm. | |
| fms (self, bwPacket) | |
| Called on FMS alarm. | |
| pocsag (self, bwPacket) | |
| Called on POCSAG alarm. | |
| zvei (self, bwPacket) | |
| Called on ZVEI alarm. | |
| msg (self, bwPacket) | |
| Called on MSG packet. | |
| teardown (self) | |
| Called after alarm Remove if not implemented. | |
| onUnload (self) | |
| Called by destruction of the plugin Remove if not implemented. | |
Public Member Functions inherited from plugin.pluginBase.PluginBase | |
| parseWildcards (self, msg) | |
| Return the message with parsed wildcards. | |
Data Fields | |
| timer | |
| timeout | |
| url | |
Data Fields inherited from plugin.pluginBase.PluginBase | |
| config | |
Protected Member Functions | |
| _reset_watchdog (self) | |
| _on_timeout (self) | |
| _send_ping (self) | |
Protected Member Functions inherited from plugin.pluginBase.PluginBase | |
| _cleanup (self) | |
| Cleanup routine calls onUnload() directly. | |
| _run (self, bwPacket) | |
| start an complete running turn of an plugin. | |
| _getStatistics (self) | |
| Returns statistical information's from last plugin run. | |
Additional Inherited Members | |
Protected Attributes inherited from plugin.pluginBase.PluginBase | |
| _pluginName | |
| _bwPacket | |
| _sumTime | |
| _cumTime | |
| _setupTime | |
| _alarmTime | |
| _teardownTime | |
| _runCount | |
| _setupErrorCount | |
| _alarmErrorCount | |
| _teardownErrorCount | |
Static Protected Attributes inherited from plugin.pluginBase.PluginBase | |
| list | _pluginsActive = [] |
Überwachung der Log-Aktivität via Healthchecks.io
| plugin.healthcheck_watchdog.BoswatchPlugin.__init__ | ( | self, | |
| config | |||
| ) |
Do not change anything here!
Reimplemented from plugin.pluginBase.PluginBase.
|
protected |
Stoppt den aktuellen Timer und startet einen neuen
|
protected |
Wird aufgerufen, wenn x Sekunden lang kein Paket kam
|
protected |
Sendet den 'Alles OK' Ping an Healthchecks.io
| plugin.healthcheck_watchdog.BoswatchPlugin.onLoad | ( | self | ) |
Called by import of the plugin.
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.setup | ( | self | ) |
Called before alarm.
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.fms | ( | self, | |
| bwPacket | |||
| ) |
Called on FMS alarm.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.pocsag | ( | self, | |
| bwPacket | |||
| ) |
Called on POCSAG alarm.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.zvei | ( | self, | |
| bwPacket | |||
| ) |
Called on ZVEI alarm.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.msg | ( | self, | |
| bwPacket | |||
| ) |
Called on MSG packet.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.teardown | ( | self | ) |
Called after alarm Remove if not implemented.
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.onUnload | ( | self | ) |
Called by destruction of the plugin Remove if not implemented.
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.healthcheck_watchdog.BoswatchPlugin.timer |
| plugin.healthcheck_watchdog.BoswatchPlugin.timeout |
| plugin.healthcheck_watchdog.BoswatchPlugin.url |