Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
monitors:submqttm [2020/11/13 12:43] – [Installation] wnelis | monitors:submqttm [2020/11/13 12:48] (current) – [Installation] wnelis | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Description ===== | ===== Description ===== | ||
- | NOTE: this page is under construction, | ||
- | |||
Script submqttm.py (short for SUBscribe_to_MQTT_Measurements) is a skeleton for one or more Xymon tests, which receive their measurements via MQTT. An abstract class XymonTest is defined, which handles the receipt of the topics, the detection that all required information is received, and the transmission of the Xymon message to the Xymon server. Per Xymon test a derived class needs to be defined, containing (at least) method BuildMessage, | Script submqttm.py (short for SUBscribe_to_MQTT_Measurements) is a skeleton for one or more Xymon tests, which receive their measurements via MQTT. An abstract class XymonTest is defined, which handles the receipt of the topics, the detection that all required information is received, and the transmission of the Xymon message to the Xymon server. Per Xymon test a derived class needs to be defined, containing (at least) method BuildMessage, | ||
Line 19: | Line 17: | ||
=== Client side === | === Client side === | ||
- | The source modules submqttm.py and watchdog.py shown in the next chapter are to be installed in directory / | + | The source modules submqttm.py and watchdog.py shown in the next chapter are to be installed in directory / |
+ | |||
+ | Script submqttm.py needs to be running continuously, | ||
Service submqttm is defined by creating a file named / | Service submqttm is defined by creating a file named / |