[Check_mk (english)] Modify uptime levels
Antti.Makela at vintor.fi
Mon Apr 9 19:21:00 CEST 2012
I think the idea would be to generate an alert if an uptime is short - that way you can see that a system has rebooted (and act accordingly). If the system reboots fast, you don't get alerts for unreachable.
Anyway, I think this would be easy to modify and include in the existing testing logic. Other possibility is just to check if the uptime as decreased since last reading...
From: checkmk-en-bounces at lists.mathias-kettner.de [checkmk-en-bounces at lists.mathias-kettner.de] on behalf of Steven Nemetz [snemetz at walmartlabs.com]
Sent: Monday, April 09, 2012 19:41
To: Jason Humes; Joaquin Manuel; checkmk-en at lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Modify uptime levels
According to the man page, uptime is always OK and just returns the when the system was last booted and the number of seconds that it has been up. This is for metrics. Why would you want to alert on it? You would be saying something like, alert me if the system has been up for more than a day.
I would guess that you are looking for a different check.
Man page is http://mathias-kettner.de/checkmk_check_uptime.html
More information about the checkmk-en