rrd monitoring support

This commit is contained in:
Serghey Rodin 2011-10-17 16:58:46 +03:00
commit a45bf7e4bd
10 changed files with 846 additions and 0 deletions

View file

@ -1079,6 +1079,22 @@ v_shell_list() {
done < $conf
}
# Clear listing function
v_clear_list() {
# Reading file line by line
while read line ; do
# Parsing key=value
for key in $line; do
eval ${key%%=*}=${key#*=}
done
# Print result line
eval echo "$fields"
done < $conf
}
usr_json_single_list() {
# Definigng variables
USER="$user" # user