Monitoring node sensors down / Nagios



  • Hi,
    I'm looking for a solution to monitor when a node sensor is down (power outage, etc ...).
    Is there a list of node connected to gateway (MQTT gateway) ?

    Ex:
    Nagios script checks MQTT broker (Mosquitto) with special command, Mosquitto forwards this command to MQTT gateway (GatewayW5100MQTTClient) and gateway send a list of available nodes connected.

    it's already exist ?

    thanks in adavance


  • Mod

    I am using check_json to fetch sensor information from Domoticz. Have no experience checking mqtt directly but finding a plugin shouldn't be that hard.



  • Thanks @mfalkvidd
    it's possible to parse many informations from gateway, it's a good new.
    For Nagios plugin, it's no a problem I'm going to develop one 😉

    My question is: when a node sensor is down, my mqtt broker have in own memory the last data and it dont know that sensor is down 😞

    is there a mysensors "ping" like between sensor nodes and gateway ?

    thanks in adavance


  • Hardware Contributor

    Hi!
    Im using LUA in my controller (Domoticz) to check when a node was updated last time. If not updated when expected i get a notification.



  • Thanks @sundberg84,
    I'm already using this method with openhab 😉
    I will be continue to use it.


Log in to reply
 

Suggested Topics

60
Online

11.4k
Users

11.1k
Topics

112.7k
Posts