Discussion:
[Xymon] Spliting tests to different pages.
Chris Pretorius
2018-11-05 11:53:22 UTC
Permalink
Good day.

Hope all is well.

I configured yum tests on all my Linux servers. The test works great. Problem is doesn't matter how often you update the server, it wont be long before the yum test changes state.

We look at the non-green view to display current issues(on a large led screen), the non-green view will show all the servers that has a yellow or red alert associated with them, thus all the Linux servers will show.

The yum test is a script running on each server, configured clientlaunch.cfg for each server to run the script every n minites.

My question is if it is possible to configure xymon to display all the yum related info for all servers on a page and exclude the yum tests from the different pages where the servers are configured?

Or if there is a solution out there that I can implement to keep the non-green view to show current related issues, please send link to a guide that can assist me.

Kind Regards

[Loading Image...]



Chris Pretorius

[Loading Image...]

0872367740

[Loading Image...]

***@lightstone.co.za<mailto:***@lightstone.co.za>

[Loading Image...]

www.signio.co.za<http://www.signio.co.za>

[Loading Image...]

Centurion Square, 3rd Floor, cnr Heuwel and Gordon Hood rd, Centurion




This communication is subject to Lightstone's email disclaimer<http://www.lightstone.co.za/portal/content/email-disclaimer.aspx>
SebA
2018-11-05 13:47:08 UTC
Permalink
Yes, there is a way. Search the hosts.cfg man page for 'nopropred'. You
can use that or the yellow equivalent to stop stuff appearing on the
non-green page.

Kind regards,

SebA
Post by Chris Pretorius
Good day.
Hope all is well.
I configured yum tests on all my Linux servers. The test works great.
Problem is doesn’t matter how often you update the server, it wont be long
before the yum test changes state.
We look at the non-green view to display current issues(on a large led
screen), the non-green view will show all the servers that has a yellow or
red alert associated with them, thus all the Linux servers will show.
The yum test is a script running on each server, configured
clientlaunch.cfg for each server to run the script every n minites.
My question is if it is possible to configure xymon to display all the yum
related info for all servers on a page and exclude the yum tests from the
different pages where the servers are configured?
Or if there is a solution out there that I can implement to keep the
non-green view to show current related issues, please send link to a guide
that can assist me.
Kind Regards
[image: https://lsc-assets.scdn1.secure.raxcdn.com/lssig/AUTOlogoW.png]
*Chris Pretorius*
[image: https://lsc-assets.scdn1.secure.raxcdn.com/lssig/phone.png]
0872367740
[image: https://lsc-assets.scdn1.secure.raxcdn.com/lssig/email.png]
[image: https://lsc-assets.scdn1.secure.raxcdn.com/lssig/web.png]
www.signio.co.za
[image: https://lsc-assets.scdn1.secure.raxcdn.com/lssig/address.png]
Centurion Square, 3rd Floor, cnr Heuwel and Gordon Hood rd, Centurion
This communication is subject to Lightstone's email disclaimer
<http://www.lightstone.co.za/portal/content/email-disclaimer.aspx>
_______________________________________________
Xymon mailing list
http://lists.xymon.com/mailman/listinfo/xymon
Chris Pretorius
2018-11-05 13:45:15 UTC
Permalink
Hi Scott

Thanx, I will explore group-only option,

Appreciated.

Kind regards

From: Scott Birl <***@temple.edu>
Sent: Monday, November 5, 2018 3:43 PM
To: '***@xymon.com' <***@xymon.com>
Subject: RE: Spliting tests to different pages.

Would the "group-only" option suffice to show only those columns that you want?



From: Xymon <xymon-***@xymon.com<mailto:xymon-***@xymon.com>> On Behalf Of Chris Pretorius
Sent: Monday, November 5, 2018 06:53 AM
To: ***@xymon.com<mailto:***@xymon.com>
Subject: [Xymon] Spliting tests to different pages.

Good day.

Hope all is well.

I configured yum tests on all my Linux servers. The test works great. Problem is doesn't matter how often you update the server, it wont be long before the yum test changes state.

We look at the non-green view to display current issues(on a large led screen), the non-green view will show all the servers that has a yellow or red alert associated with them, thus all the Linux servers will show.

The yum test is a script running on each server, configured clientlaunch.cfg for each server to run the script every n minites.

My question is if it is possible to configure xymon to display all the yum related info for all servers on a page and exclude the yum tests from the different pages where the servers are configured?

Or if there is a solution out there that I can implement to keep the non-green view to show current related issues, please send link to a guide that can assist me.

Kind Regards

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/AUTOlogoW.png]



Chris Pretorius

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/phone.png]

0872367740

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/email.png]

***@lightstone.co.za<mailto:***@lightstone.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/web.png]

www.signio.co.za<http://www.signio.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/address.png]

Centurion Square, 3rd Floor, cnr Heuwel and Gordon Hood rd, Centurion




This communication is subject to Lightstone's email disclaimer<http://www.lightstone.co.za/portal/content/email-disclaimer.aspx>
Norbert Kriegenburg
2018-11-05 14:35:26 UTC
Permalink
Hi Chris:

to avoid having the yum test polluting your nongreen page you can use the
xymongen option
--nongreen-ignorecolumns=test[,test]
(see man xymongen, define in tasks.cfg)

The group-only recommendation is also ok for all the normal pages, but then
you will lose all the flexibility of the group directive.
For your scenario i would recommend to use the xymongen option
--ignorecolumns=test[,test]
preventing the creation of your yum column et all, and then create a small
script that collects the yum data and create the a yum page (very basic to
get the idea):

xymon localhost "xymondboard test=yum" | xymonpage >
$XYMONWWWDIR/yum_summary_page.html

Norbert




From: Chris Pretorius <***@lightstoneauto.co.za>
To: Scott Birl <***@temple.edu>, "'***@xymon.com'"
<***@xymon.com>
Date: 11/05/2018 03:01 PM
Subject: Re: [Xymon] Spliting tests to different pages.
Sent by: "Xymon" <xymon-***@xymon.com>



Hi Scott

Thanx, I will explore group-only option,

Appreciated.

Kind regards

From: Scott Birl <***@temple.edu>
Sent: Monday, November 5, 2018 3:43 PM
To: '***@xymon.com' <***@xymon.com>
Subject: RE: Spliting tests to different pages.

Would the “group-only” option suffice to show only those columns that you
want?



From: Xymon <xymon-***@xymon.com> On Behalf Of Chris Pretorius
Sent: Monday, November 5, 2018 06:53 AM
To: ***@xymon.com
Subject: [Xymon] Spliting tests to different pages.

Good day.

Hope all is well.

I configured yum tests on all my Linux servers. The test works great.
Problem is doesn’t matter how often you update the server, it wont be
long before the yum test changes state.

We look at the non-green view to display current issues(on a large
led screen), the non-green view will show all the servers that has a
yellow or red alert associated with them, thus all the Linux servers
will show.

The yum test is a script running on each server, configured
clientlaunch.cfg for each server to run the script every n minites.

My question is if it is possible to configure xymon to display all
the yum related info for all servers on a page and exclude the yum
tests from the different pages where the servers are configured?

Or if there is a solution out there that I can implement to keep the
non-green view to show current related issues, please send link to a
guide that can assist me.

Kind Regards




https://lsc-assets.scdn1.secure.raxcdn.com/lssig/AUTOlog
oW.png




Chris Pretorius


https://lsc-assets.scdn1.secure.raxcdn.com/lssig/phone.png


0872367740


https://lsc-assets.scdn1.secure.raxcdn.com/lssig/email.png
***@lightstone.co.za
https://lsc-assets.scdn1.secure.rax
cdn.com/lssig/web.png
www.signio.co.za


https://lsc-assets.scdn1.secure.raxcdn.com/lssig/address.png


Centurion Square, 3rd Floor, cnr Heuwel and Gordon Hood
rd, Centurion











This communication is subject to Lightstone's email
disclaimer




_______________________________________________
Xymon mailing list
***@xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
Fabian Wendlandt
2018-11-05 13:37:01 UTC
Permalink
Hi,

we're just using the yum/apt check as informational status since we are already patching on a regular schedule.
Since we did not want the check to clutter the non-green page, we've just change all occurrences of yellow/red in the perl script to green.
This way the status will always be green, but you can still check available updates by clicking on it.

Best regards,
Fabian

Von: Xymon <xymon-***@xymon.com> Im Auftrag von Chris Pretorius
Gesendet: Montag, 5. November 2018 12:53
An: ***@xymon.com
Betreff: [Xymon] Spliting tests to different pages.

Good day.

Hope all is well.

I configured yum tests on all my Linux servers. The test works great. Problem is doesn't matter how often you update the server, it wont be long before the yum test changes state.

We look at the non-green view to display current issues(on a large led screen), the non-green view will show all the servers that has a yellow or red alert associated with them, thus all the Linux servers will show.

The yum test is a script running on each server, configured clientlaunch.cfg for each server to run the script every n minites.

My question is if it is possible to configure xymon to display all the yum related info for all servers on a page and exclude the yum tests from the different pages where the servers are configured?

Or if there is a solution out there that I can implement to keep the non-green view to show current related issues, please send link to a guide that can assist me.

Kind Regards

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/AUTOlogoW.png]



Chris Pretorius

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/phone.png]

0872367740

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/email.png]

***@lightstone.co.za<mailto:***@lightstone.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/web.png]

www.signio.co.za<http://www.signio.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/address.png]

Centurion Square, 3rd Floor, cnr Heuwel and Gordon Hood rd, Centurion




This communication is subject to Lightstone's email disclaimer<http://www.lightstone.co.za/portal/content/email-disclaimer.aspx>
Chris Pretorius
2018-11-08 07:03:14 UTC
Permalink
Hi Fabian

Thank you, I appreciate your response.

I had to end up following the same route you guys did.

I updated the script to also test for security and cve updates
Added two tests in the script, 'yum list-security', and 'yum updateinfo list cves' which will send alerts for me to action.

I hope this way is efficient, time will tell but the my non green view can be used effectively by our ops teams.

Kind regards

From: Fabian Wendlandt <***@innowerk-it.de>
Sent: Monday, November 5, 2018 3:37 PM
To: Chris Pretorius <***@lightstoneauto.co.za>; ***@xymon.com
Subject: AW: Spliting tests to different pages.

Hi,

we're just using the yum/apt check as informational status since we are already patching on a regular schedule.
Since we did not want the check to clutter the non-green page, we've just change all occurrences of yellow/red in the perl script to green.
This way the status will always be green, but you can still check available updates by clicking on it.

Best regards,
Fabian

Von: Xymon <xymon-***@xymon.com<mailto:xymon-***@xymon.com>> Im Auftrag von Chris Pretorius
Gesendet: Montag, 5. November 2018 12:53
An: ***@xymon.com<mailto:***@xymon.com>
Betreff: [Xymon] Spliting tests to different pages.

Good day.

Hope all is well.

I configured yum tests on all my Linux servers. The test works great. Problem is doesn't matter how often you update the server, it wont be long before the yum test changes state.

We look at the non-green view to display current issues(on a large led screen), the non-green view will show all the servers that has a yellow or red alert associated with them, thus all the Linux servers will show.

The yum test is a script running on each server, configured clientlaunch.cfg for each server to run the script every n minites.

My question is if it is possible to configure xymon to display all the yum related info for all servers on a page and exclude the yum tests from the different pages where the servers are configured?

Or if there is a solution out there that I can implement to keep the non-green view to show current related issues, please send link to a guide that can assist me.

Kind Regards

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/AUTOlogoW.png]



Chris Pretorius

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/phone.png]

0872367740

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/email.png]

***@lightstone.co.za<mailto:***@lightstone.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/web.png]

www.signio.co.za<http://www.signio.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/address.png]

Centurion Square, 3rd Floor, cnr Heuwel and Gordon Hood rd, Centurion




This communication is subject to Lightstone's email disclaimer<http://www.lightstone.co.za/portal/content/email-disclaimer.aspx>
Chris Pretorius
2018-11-08 07:35:06 UTC
Permalink
Thanx Fabian

I will most definitely investigate xymongen.

I will most likely encounter a similar situation in the future.

Kind regards

From: Fabian Wendlandt <***@innowerk-it.de>
Sent: Thursday, November 8, 2018 9:13 AM
To: Chris Pretorius <***@lightstoneauto.co.za>; ***@xymon.com
Subject: AW: Spliting tests to different pages.

Hi,

be aware that any update to hobbit-plugins which modifies the apt check will probably overwrite your changes again. (although it doesn't get updated very often)

After seeing this thread I've actually changed the xymongen options to not show apt checks on the non-green page and to not propagate the status, instead of changing the script.

Best regards,
Fabian

Von: Chris Pretorius <***@lightstoneauto.co.za<mailto:***@lightstoneauto.co.za>>
Gesendet: Donnerstag, 8. November 2018 08:03
An: Fabian Wendlandt <***@innowerk-it.de<mailto:***@innowerk-it.de>>; ***@xymon.com<mailto:***@xymon.com>
Betreff: RE: Spliting tests to different pages.

Hi Fabian

Thank you, I appreciate your response.

I had to end up following the same route you guys did.

I updated the script to also test for security and cve updates
Added two tests in the script, 'yum list-security', and 'yum updateinfo list cves' which will send alerts for me to action.

I hope this way is efficient, time will tell but the my non green view can be used effectively by our ops teams.

Kind regards

From: Fabian Wendlandt <***@innowerk-it.de<mailto:***@innowerk-it.de>>
Sent: Monday, November 5, 2018 3:37 PM
To: Chris Pretorius <***@lightstoneauto.co.za<mailto:***@lightstoneauto.co.za>>; ***@xymon.com<mailto:***@xymon.com>
Subject: AW: Spliting tests to different pages.

Hi,

we're just using the yum/apt check as informational status since we are already patching on a regular schedule.
Since we did not want the check to clutter the non-green page, we've just change all occurrences of yellow/red in the perl script to green.
This way the status will always be green, but you can still check available updates by clicking on it.

Best regards,
Fabian

Von: Xymon <xymon-***@xymon.com<mailto:xymon-***@xymon.com>> Im Auftrag von Chris Pretorius
Gesendet: Montag, 5. November 2018 12:53
An: ***@xymon.com<mailto:***@xymon.com>
Betreff: [Xymon] Spliting tests to different pages.

Good day.

Hope all is well.

I configured yum tests on all my Linux servers. The test works great. Problem is doesn't matter how often you update the server, it wont be long before the yum test changes state.

We look at the non-green view to display current issues(on a large led screen), the non-green view will show all the servers that has a yellow or red alert associated with them, thus all the Linux servers will show.

The yum test is a script running on each server, configured clientlaunch.cfg for each server to run the script every n minites.

My question is if it is possible to configure xymon to display all the yum related info for all servers on a page and exclude the yum tests from the different pages where the servers are configured?

Or if there is a solution out there that I can implement to keep the non-green view to show current related issues, please send link to a guide that can assist me.

Kind Regards

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/AUTOlogoW.png]



Chris Pretorius

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/phone.png]

0872367740

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/email.png]

***@lightstone.co.za<mailto:***@lightstone.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/web.png]

www.signio.co.za<http://www.signio.co.za>

[https://lsc-assets.scdn1.secure.raxcdn.com/lssig/address.png]

Centurion Square, 3rd Floor, cnr Heuwel and Gordon Hood rd, Centurion




This communication is subject to Lightstone's email disclaimer<http://www.lightstone.co.za/portal/content/email-disclaimer.aspx>
Continue reading on narkive:
Loading...