Python dispatcher service v2 (#10050)

* Refactor LibreNMS service
add ping

* services ported
remote legacy stats collection

* alerting

* implement unique queues

* update discovery queue manager

* remove message

* more cleanup

* Don't shuffle queue

* clean up imports

* don't try to discover ping only devices

* Fix for discovery not running timer

* Update docs a bit and and add some additional config options.
Intentionally undocumented.

* Wait until the device is marked up by the poller before discovering

* Handle loosing connection to db gracefully

* Attempt to release master after 5 db failures

* Sleep to give other nodes a chance to acquire

* Update docs and rename the doc to Dispatcher Service to more accurately reflect its function.

* add local notification
This commit is contained in:
Tony Murray
2019-05-20 11:35:47 -05:00
committed by GitHub
parent 1e76915af3
commit 604a200891
9 changed files with 653 additions and 522 deletions

View File

@@ -53,10 +53,15 @@
<description>As described previously, Legacy Alert Templates and Transports have been removed. You can find more info here: https://community.librenms.org/t/deprecation-notice-alerting-legacy-transports-and-templates/5915</description>
<pubDate>Fri, 15 Feb 2017 23:00:00 +0000</pubDate>
</item>
<item>
<title>Cisco Temperature Sensor Threshold Values Stored as High Limits</title>
<description>During discovery, some temperature sensors discovered on Cisco devices had their highest temperature value stored as warning high limit. For new discovered devices, this value is now stored as high limit.</description>
<pubDate>Sun, 17 Mar 2019 21:00:00 +0100</pubDate>
</item>
<item>
<title>Cisco Temperature Sensor Threshold Values Stored as High Limits</title>
<description>During discovery, some temperature sensors discovered on Cisco devices had their highest temperature value stored as warning high limit. For new discovered devices, this value is now stored as high limit.</description>
<pubDate>Sun, 17 Mar 2019 21:00:00 +0100</pubDate>
</item>
<item>
<title>LibreNMS Python Dispatcher Service V2 (breaking change)</title>
<description>Version two of the LibreNMS python dispatcher service is merged. This code now requires Redis 5.x and redis-py 3.x to operate (if using distributed polling). If you are using the dispatcher service with Redis and have not updated, polling will stop functioning.</description>
<pubDate>Mon, 20 May 2019 00:00:00 +0000</pubDate>
</item>
</channel>
</rss>