[Xymon] [PATCH] - client data link on graphs

John Horne john.horne at plymouth.ac.uk
Thu Oct 24 15:19:42 CEST 2019


Hello,

We are using the Terabithia 4.3.30 RPMs.

For most of the test web pages, a link to the data sent by the client is shown
on the page. This is seen in the 'Client data available' message on the page.

This is something we do not want. The graphs can be seen by our users, but we
do not want details of the clients (servers) being made available. (We have
previously just commented out the relevant bit of code, but this requires
rebuilding the RPMs at each release.)

This patch simply provides a 'xymonserver.cfg' variable ('SHOWCLIENTLINK')
which be can set to true or false. The default value is true, which will cause
the link to be displayed (as before). The patches are all very small, typically
just one or two lines.

The patches do not affect the collecting of the client data in any way.
Instead, just before the link would be displayed, a simple check of the
variable is performed to see if the link should be displayed or not.

Note - it was noticed that the html pages and man pages included the
'CLIENTSVCS' xymonserver.cfg variable. However, looking at the source code,
this variable is not used anywhere. It should be removed from the
documentation.




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: environ.c.patch
Type: text/x-patch
Size: 288 bytes
Desc: environ.c.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191024/ddcf3a21/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: htmllog.c.patch
Type: text/x-patch
Size: 409 bytes
Desc: htmllog.c.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191024/ddcf3a21/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymonserver.cfg.5.patch
Type: text/x-patch
Size: 517 bytes
Desc: xymonserver.cfg.5.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191024/ddcf3a21/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymonserver.cfg.DIST.patch
Type: text/x-patch
Size: 755 bytes
Desc: xymonserver.cfg.DIST.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20191024/ddcf3a21/attachment-0003.bin>


More information about the Xymon mailing list