We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a0072b commit 2de9990Copy full SHA for 2de9990
bin/v_list_sys_rrd
@@ -10,8 +10,10 @@
10
#----------------------------------------------------------#
11
12
format=${1-shell}
13
+
14
+# Includes
15
+source $VESTA/func/main.sh
16
source $VESTA/conf/vesta.conf
-RRD=$VESTA/web/rrd
17
18
# Define json function
19
json_list_rrd() {
@@ -44,7 +46,9 @@ json_list_rrd() {
44
46
echo -e "\t\"$i\": {"
45
47
echo -e "\t\t\"TYPE\": \"$type\"",
48
echo -e "\t\t\"RRD\": \"$rrd\"",
- echo -e "\t\t\"TITLE\": \"$title\""
49
+ echo -e "\t\t\"TITLE\": \"$title\","
50
+ echo -e "\t\t\"TIME\": \"$TIME\","
51
+ echo -e "\t\t\"DATE\": \"$DATE\""
52
(( ++i))
53
done
54
0 commit comments