[Xymon] Make red only the default for critical page (Terabithia RPM)

Neil Simmonds Neil.Simmonds at studio.co.uk
Tue Nov 22 09:49:14 CET 2022


Hi folks,

I'm currently building a new Xymon server to move away from our old 4.3.4 server running on Centos 5.

The new one is running version  Xymon 4.3.30-1.el8.terabithia on RHEL 8

On the previous version, the person who built it made a change to criticalview.c  to change the following

/*static int mincolor = COL_YELLOW;*/
static int mincolor = COL_RED;

This means that the default for the critical view is red only which is what we want.

However, because we have now taken the decision to use the Terabithia RPM's for ease of upgrade in future I can't make the same change as I can't be sure that the criticalview.c that I could download from the normal source is the same as the one in the Terabithia RPM and it also complicates the ease of upgrade bit.

I've found the XYMONGENOPTS in xymonserver.cfg and a suggestion on the web that looked like adding -critical-reds-only to the options would give me what I want but it doesn't seem to work.

Does anyone know if there is a way of doing this with minimal change so it's something I can script for future upgrades?

Kind Regards,

Neil.

Neil Simmonds
Senior Platform & Middleware Engineer (Unix).


Studio is a trading name of Studio Retail Ltd which is authorised and regulated by the Financial Conduct Authority for consumer credit and general insurance. Studio Retail Ltd are members of the Finance and Leasing Association (FLA). Registered in England. No: 718151. Registered Office: Church Bridge House, Henry Street, Accrington, BB5 4EE NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information or data included is solely for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Studio Retail Ltd and the recipient will refrain from utilising the information for any purpose other than that indicated and upon request will destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Studio Retail Ltd. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments. No liability is accepted for any consequences arising from it. Studio Retail Ltd reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error, please notify our careline on +44(0) 371 200 0378.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20221122/84d50f41/attachment.htm>


More information about the Xymon mailing list