Spliting tests to different pages.
list 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 [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] user-3fef1df92e88@xymon.invalid<mailto:user-3fef1df92e88@xymon.invalid> [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>
list Fabian Wendlandt
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-bounces at xymon.com> Im Auftrag von Chris Pretorius Gesendet: Montag, 5. November 2018 12:53 An: xymon at 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] user-3fef1df92e88@xymon.invalid<mailto:user-3fef1df92e88@xymon.invalid> [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>;
list Scott Birl
Would the "group-only" option suffice to show only those columns that you want?
▸
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Chris Pretorius Sent: Monday, November 5, 2018 06:53 AM To: xymon at 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] user-3fef1df92e88@xymon.invalid<mailto:user-3fef1df92e88@xymon.invalid> [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>;
list Chris Pretorius
Hi Scott Thanx, I will explore group-only option, Appreciated. Kind regards
▸
From: Scott Birl <user-e9368a101f99@xymon.invalid> Sent: Monday, November 5, 2018 3:43 PM To: 'xymon at xymon.com' <xymon at 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-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> On Behalf Of Chris Pretorius Sent: Monday, November 5, 2018 06:53 AM To: xymon at xymon.com<mailto:xymon at 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] user-3fef1df92e88@xymon.invalid<mailto:user-3fef1df92e88@xymon.invalid> [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>;
list Sebastian Auriol
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 On 5 November 2018 at 11:53, Chris Pretorius <user-832aac18b2a8@xymon.invalid>
▸
wrote:
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] user-3fef1df92e88@xymon.invalid [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>;
list Norbert Kriegenburg
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 <user-832aac18b2a8@xymon.invalid>
To: Scott Birl <user-e9368a101f99@xymon.invalid>, "'xymon at xymon.com'"
<xymon at xymon.com>
Date: 11/05/2018 03:01 PM
Subject: Re: [Xymon] Spliting tests to different pages.
Sent by: "Xymon" <xymon-bounces at xymon.com>
▸
Hi Scott
Thanx, I will explore group-only option,
Appreciated.
Kind regards
From: Scott Birl <user-e9368a101f99@xymon.invalid>
Sent: Monday, November 5, 2018 3:43 PM
To: 'xymon at xymon.com' <xymon at 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-bounces at xymon.com> On Behalf Of Chris Pretorius
Sent: Monday, November 5, 2018 06:53 AM
To: xymon at 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 user-3fef1df92e88@xymon.invalid 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
list Chris Pretorius
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 <user-a63c2f5e765a@xymon.invalid> Sent: Monday, November 5, 2018 3:37 PM To: Chris Pretorius <user-832aac18b2a8@xymon.invalid>; xymon at 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-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> Im Auftrag von Chris Pretorius Gesendet: Montag, 5. November 2018 12:53 An: xymon at xymon.com<mailto:xymon at 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] user-3fef1df92e88@xymon.invalid<mailto:user-3fef1df92e88@xymon.invalid> [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>;
list Fabian Wendlandt
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 <user-832aac18b2a8@xymon.invalid> Gesendet: Donnerstag, 8. November 2018 08:03 An: Fabian Wendlandt <user-a63c2f5e765a@xymon.invalid>; xymon at 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 <user-a63c2f5e765a@xymon.invalid<mailto:user-a63c2f5e765a@xymon.invalid>> Sent: Monday, November 5, 2018 3:37 PM To: Chris Pretorius <user-832aac18b2a8@xymon.invalid<mailto:user-832aac18b2a8@xymon.invalid>>; xymon at xymon.com<mailto:xymon at 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-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> Im Auftrag von Chris Pretorius Gesendet: Montag, 5. November 2018 12:53 An: xymon at xymon.com<mailto:xymon at 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] user-3fef1df92e88@xymon.invalid<mailto:user-3fef1df92e88@xymon.invalid> [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>;
list Chris Pretorius
Thanx Fabian I will most definitely investigate xymongen. I will most likely encounter a similar situation in the future.
▸
Kind regards From: Fabian Wendlandt <user-a63c2f5e765a@xymon.invalid> Sent: Thursday, November 8, 2018 9:13 AM To: Chris Pretorius <user-832aac18b2a8@xymon.invalid>; xymon at 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 <user-832aac18b2a8@xymon.invalid<mailto:user-832aac18b2a8@xymon.invalid>> Gesendet: Donnerstag, 8. November 2018 08:03 An: Fabian Wendlandt <user-a63c2f5e765a@xymon.invalid<mailto:user-a63c2f5e765a@xymon.invalid>>; xymon at xymon.com<mailto:xymon at 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 <user-a63c2f5e765a@xymon.invalid<mailto:user-a63c2f5e765a@xymon.invalid>> Sent: Monday, November 5, 2018 3:37 PM To: Chris Pretorius <user-832aac18b2a8@xymon.invalid<mailto:user-832aac18b2a8@xymon.invalid>>; xymon at xymon.com<mailto:xymon at 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-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> Im Auftrag von Chris Pretorius Gesendet: Montag, 5. November 2018 12:53 An: xymon at xymon.com<mailto:xymon at 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] user-3fef1df92e88@xymon.invalid<mailto:user-3fef1df92e88@xymon.invalid> [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>;