blob: f8bddb96e382d6bfabd6d9931f0a56b4c90e6372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
-- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.sensors", package.seeall)
function rrdargs( graph, plugin, plugin_instance )
return {
{
per_instance = true,
title = "%H: %pi - %di",
vlabel = "\176C",
number_format = "%4.1lf\176C",
data = {
types = { "temperature" },
options = {
temperature__value = {
color = "ff0000",
title = "Temperature"
}
}
}
}
}
end
|