Rev 2219 | Rev 2221 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2219 | Rev 2220 | ||
|---|---|---|---|
| Line 56... | Line 56... | ||
| 56 | } else { |
56 | } else { |
| 57 | names += ":"+label; |
57 | names += ":"+label; |
| 58 | } |
58 | } |
| 59 | if (typeof data[RRD_Tool_StoredData[name]["rrdNames"][label]["data"]]["value"] == "string") |
59 | if (typeof data[RRD_Tool_StoredData[name]["rrdNames"][label]["data"]]["value"] == "string") |
| 60 | { |
60 | { |
| 61 | values += ":"+data[RRD_Tool_StoredData[name]["rrdNames"][label]["data"]]["value"] |
61 | values += ":"+data[RRD_Tool_StoredData[name]["rrdNames"][label]["data"]]["value"]; |
| 62 | } |
62 | } |
| 63 | else |
63 | else |
| 64 | { |
64 | { |
| 65 | values += ":"+data[RRD_Tool_StoredData[name]["rrdNames"][label]["data"]]["value"][RRD_Tool_StoredData[name]["rrdNames"][label]["value"]] |
65 | values += ":"+data[RRD_Tool_StoredData[name]["rrdNames"][label]["data"]]["value"][RRD_Tool_StoredData[name]["rrdNames"][label]["value"]]; |
| 66 | } |
66 | } |
| 67 | cmd += names + " "+RRD_Tool_StoredData[name]["rrd"]["file"]+" "+values; |
67 | cmd += names + " "+RRD_Tool_StoredData[name]["rrd"]["file"]+" "+values; |
| 68 | //Log("Command: "+cmd); |
68 | //Log("Command: "+cmd); |
| 69 | Execute(cmd); |
69 | Execute(cmd); |
| 70 | break; |
70 | break; |