Why trends column always shown with alerts
list John Horne
Hello, Using Xymon 4.3.7 the 'trends' column always seems to be shown on the 'Current non-green Systems' page whenever a client receives a red/yellow status. I can sort of understand this if, for example, the CPU usage suddenly gets very high. That causes a red status, and I guess since the CPU usage is graphed on the 'trends' page so that column is shown as well. However, the 'trends' column also appears if some of our local tests receive a red/yellow status. These tests are not graphed, and so don't appear on the trends page. Any way we can turn off the 'trends' column always appearing? Thanks, John. -- John Horne Tel: +XX (X)XXXX XXXXXX Plymouth University, UK Fax: +XX (X)XXXX XXXXXX
list Tom Moore
Would you want to try the "NOCOLUMNS:trends" option in your hosts.cfg? The man page doesn't necessarily mention it for usage with trends, but it could work. If you put this line at the top it will apply globally: 0.0.0.0 .default. # NOCOLUMNS:trends
▸
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of John Horne
Sent: Monday, July 23, 2012 11:28 AM
To: xymon at xymon.com
Subject: [Xymon] Why trends column always shown with alerts
Hello,
Using Xymon 4.3.7 the 'trends' column always seems to be shown on the
'Current non-green Systems' page whenever a client receives a red/yellow
status. I can sort of understand this if, for example, the CPU usage
suddenly gets very high. That causes a red status, and I guess since the
CPU usage is graphed on the 'trends' page so that column is shown as
well.
However, the 'trends' column also appears if some of our local tests
receive a red/yellow status. These tests are not graphed, and so don't
appear on the trends page.
Any way we can turn off the 'trends' column always appearing?
Thanks,
John.
--
John Horne Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK Fax: +XX (X)XXXX XXXXXX
list John Horne
▸
On Mon, 2012-07-23 at 18:07 +0000, Tom Moore wrote:
Would you want to try the "NOCOLUMNS:trends" option in your hosts.cfg? The man page doesn't necessarily mention it for usage with trends, but it could work. If you put this line at the top it will apply globally: 0.0.0.0 .default. # NOCOLUMNS:trends
Yes, that does work as I used to have it in our hosts.cfg file. However, I don't want to lose the column completely, I just didn't see why it was shown when an alert occurred. Having said that, and looking into a different problem, I noticed that in the code it explicitly states that the 'trends' and 'info' columns will be shown when the non-green page is shown. I assume this is so that if, for example, the CPU hits the roof, then it is possible to look at the trends graphs to see when it started and what else is going on to cause the alert.
▸
John.
--
John Horne Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK Fax: +XX (X)XXXX XXXXXX
list Henrik Størner
▸
On 24-07-2012 11:13, John Horne wrote:
Having said that, and looking into a different problem, I noticed that in the code it explicitly states that the 'trends' and 'info' columns will be shown when the non-green page is shown. I assume this is so that if, for example, the CPU hits the roof, then it is possible to look at the trends graphs to see when it started and what else is going on to cause the alert.
That was the general idea, yes. And the "info" column is there, so you can easily go to the main page where the host is located to see if other hosts are in trouble; or you can easily access the "disable" function to stop the alerts. Regards, Henrik