• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Watchdog for Mango and it's data sources

    Mango Automation general Discussion
    4
    4
    3.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TheReelDill
      last edited by

      Hi,
      Has anyone created of a good method to monitor if Mango is healthy? I.e. A system that sends notification in the event that Mango's core modules or data sources become non-responsive?

      Was thinking of creating process events (heartbeats) from data source activity that is used by an external monitoring system for notification.

      1 Reply Last reply Reply Quote 0
      • hussamH
        hussam
        last edited by

        Mango have already provided the datasource event to watchdog itself, you can use the datasource events.

        1 Reply Last reply Reply Quote 0
        • jeremyhJ
          jeremyh
          last edited by jeremyh

          Interesting question. I would also like to find a good solution.

          At the moment I am using statuscake.com to monitor the external availability of my mango server, though it will really only verify that the web-server is running.

          I also use LibreNMS to chart my server stats - memory, disk, CPU, and have been meaning to set up alerts for these.

          Perhaps something like a randomly changing watchdog value - which is posted to a remote server using the HTTP Publisher module, then a PHP or python listener script on the remote server alerts you if the value doesn't change in a while.

          Or, set up a separate Mango server (on a VPS or something, which should be only a few dollars a month) and use the Persistent TCP publisher and listener modules to send a random number etc. across. You could make the generation of the random number quite complicated (using virtual data sources, meta points, point links, etc.) so that if any sub-system of mango breaks it will stop the value changing. On your remote mango server you could just set up a 'no change' alarm to email you.

          1 Reply Last reply Reply Quote 1
          • JoelHaggarJ
            JoelHaggar
            last edited by

            Using the Mango Persistent TCP data source and publisher is pretty ideal for this. There are a number of things you can publish to a central Mango for monitoring such as a random or incrementing value. Also the Internal data source values such as JVM memory usage, and task lists. There is also a little known data source called the Log4J Data Source which allows you to turn system log messages into Alphanumeric data points. You can have an Error level and a Warning level data point publishing to the monitoring Mango. You can then have a change event detector on this so if there are any Errors that show up in the log file they will be sent to the main server and you will be notified.

            It's also our longer term plan to offer a hosted solution specifically for doing this monitoring and alarming and we'll probably package these features up into a simple to install and configure module so you don't need to do much for set up.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post