6ee6a614d8
The apcups and snmp plugins were using this to store time in minutes, but nut uses seconds. Upstream wants to make them all use seconds (unlike my first patch to make nut use minutes to be consistent with the others), so all we need to do is fix the maximum. If we were *using* the apcups and snmp plugins, those would probably want fixing to multiply by 60. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@34831 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
447 B
Diff
15 lines
447 B
Diff
Derived from uptream commit d5b09f2b: http://octo.cx/d5b09f2
|
|
|
|
--- a/src/types.db
|
|
+++ b/src/types.db
|
|
@@ -152,7 +152,7 @@ tcp_connections value:GAUGE:0:429496729
|
|
temperature value:GAUGE:-273.15:U
|
|
threads value:GAUGE:0:U
|
|
time_dispersion seconds:GAUGE:-1000000:1000000
|
|
-timeleft timeleft:GAUGE:0:3600
|
|
+timeleft timeleft:GAUGE:0:U
|
|
time_offset seconds:GAUGE:-1000000:1000000
|
|
total_bytes value:DERIVE:0:U
|
|
total_requests value:DERIVE:0:U
|
|
|