Xymon Mailing List Archive search

How to retrieve the global state of Xymon?

list Wim Nelis
Sun, 18 Feb 2024 11:56:33 +0100
Message-Id: <user-8d3ca7c22e7b@xymon.invalid>

Thanks for the quick replies.

In the initial version of this (small) project, only the global status (colour) is of interest. An idea for a next version is to encode the 'life time' of the current status roughly in the blinking frequency of the traffic light. In this case the 'life time' will be defined as the time elapsed since the (currently) last test entering the current colour state. The latter function is almost certain not doable within the limited resources of the micro controller.

As for the initial version: trying to retrieve the global status on such a small machine (probably using a regular expression to find and extract the state) is part of the fun. The non-green page will probably be the shortest of the pages which contain the global status of Xymon and thus the best candidate for retrieval of the status.

Kind regards,
  Wim Nelis.


On 2024.02.18 05:30, Jeremy Laidman wrote:
It's also possible to get the colour from the