Description
Uptime will report the amount of time that the system has been
running. The information is displayed in the form "2 days,
4 hours, 7 minutes". Thresholds may also be set comparing
against this amount, and graph data can be saved.
On Linux, the uptime is retrieved through the "/proc/uptime" file.
This file is required in order for uptime to work properly.
On the Solaris OS, uptime is gathered using the "kstat"
programming interface.
All Windows platforms use the Win32 API to gather information.
Thresholds
Thresholds may be set for uptime by comparing the uptime against
various time values. The units "days", "hours", "weeks", "minutes"
and "seconds" may be used, separated by commas. So valid times
would include "2 days", "2 hours, 5 minutes", or "3 seconds".
Here is an example threshold:
# Example threshold for uptime
thresh1.threshold = Uptime.uptime > 1 day
|
History Data
The uptime module will save each uptime in seconds. This data,
using the RSP History Viewer or RSP Web tools, can be used
to create graphs of uptime.