func (r *Redis) Start() error {
	return nil
}
Start - XXX
package redis
import (
	"encoding/json"
	"strings"
	log "github.com/Sirupsen/logrus"
	"github.com/mitchellh/mapstructure"
	"gopkg.in/redis.v3"
	"github.com/amonapp/amonagent/plugins"
)
func (p PerformanceStruct) String() string {
	s, _ := json.Marshal(p)
	return string(s)
}
type PerformanceStruct struct {
	Gauges map[string]interface{} `json:"gauges"`
}
var RedisPerformanceFields = map[string]string{
	"aof_last_rewrite_time_sec": "aof.last_rewrite_time",
	"aof_rewrite_in_progress":   "aof.rewrite",
	"aof_current_size":          "aof.size",
	"aof_buffer_length":         "aof.buffer_length",
	"connected_clients":    "net.clients",
	"connected_slaves":     "net.slaves",
	"rejected_connections": "net.rejected",
	"blocked_clients":            "clients.blocked",
	"client_biggest_input_buf":   "clients.biggest_input_buf",
	"client_longest_output_list": "clients.longest_output_list",
	"evicted_keys": "keys.evicted",
	"expired_keys": "keys.expired",
	"keyspace_hits":    "stats.keyspace_hits",
	"keyspace_misses":  "stats.keyspace_misses",
	"latest_fork_usec": "perf.latest_fork_usec",
	"pubsub_channels": "pubsub.channels",
	"pubsub_patterns": "pubsub.patterns",
	"rdb_bgsave_in_progress":      "rdb.bgsave",
	"rdb_changes_since_last_save": "rdb.changes_since_last",
	"rdb_last_bgsave_time_sec":    "rdb.last_bgsave_time",
	"mem_fragmentation_ratio": "mem.fragmentation_ratio",
	"used_memory":             "mem.used",
	"used_memory_lua":         "mem.lua",
	"used_memory_peak":        "mem.peak",
	"used_memory_rss":         "mem.rss",
	"master_last_io_seconds_ago": "replication.last_io_seconds_ago",
	"master_sync_in_progress":    "replication.sync",
	"master_sync_left_bytes":     "replication.sync_left_bytes",
}
type Config struct {
	Host     string
	DB       int64
	Password string
}
var sampleConfig = `
#   Available config options for Redis plugin:
#
#  host: [protocol: 
#
#  If the config file is empty, fallback to the following default options:
#
#    {"host": "tcp://localhost:6379", "db": 0, "password": ""}
#
# Config location: /etc/opt/amonagent/plugins-enabled/redis.conf
`
func (r *Redis) SampleConfig() string {
	return sampleConfig
}