[Xymon] [PATCH] - xymonserver - all ok message - part 1

John Horne john.horne at plymouth.ac.uk
Wed Oct 23 16:23:14 CEST 2019


Hello,

This is the first of two sets of patches, both of which are based on the
Terabithia 4.3.30 RPMs.

Currently when all the clients/hosts report green a message on the 'All non-
green view' page is displayed saying 'All Monitored Systems OK'. This message
is defined by the XYMONALLOKTEXT variable in the xymonserver.cfg file.

However, this variable is also used when all the clients/hosts on the 'Critical
systems' page report green.

This patch simply separates the two messages into two variables - one for the
non-green page (as before - XYMONALLOKTEXT) and one for the Critical systems
page (XYMONALLOKCRIT). They are both initialized to the current default, but
the patch allows the user to use a different message for each page. (The need
for this will become clearer in the next set of patches.)

The variable XYMONALLOKTEXT was not previously described in the xymonserver
html/man pages. Both variables are now described in those files.

Although there are four patch files, they are small and typically only change
one or two lines.



John.

--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>

This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: criticalview.c.patch
Type: text/x-patch
Size: 363 bytes
Desc: criticalview.c.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191023/1cfdec21/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: environ.c.patch
Type: text/x-patch
Size: 559 bytes
Desc: environ.c.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191023/1cfdec21/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymonserver.cfg.5.patch
Type: text/x-patch
Size: 795 bytes
Desc: xymonserver.cfg.5.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191023/1cfdec21/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymonserver.cfg.DIST.patch
Type: text/x-patch
Size: 679 bytes
Desc: xymonserver.cfg.DIST.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191023/1cfdec21/attachment-0003.bin>


More information about the Xymon mailing list