graphite plain text output from sensu
Hi ,
I need to send plain-text to graphite from sensu.
I have sensu-plugin for cpu check(https:/
"CheckCPU TOTAL OK: total=0.0 user=0.0 nice=0.0 system=0.0 idle=100.0 iowait=0.0 irq=0.0 softirq=0.0 steal=0.0 guest=0.0" which can be seen in Uchiwa.
Now I need to push above output to graphite in plain text format,so it can be viewed in graph .Created json file as below in sensu server:
{
"checks": {
"CpuPlain": {
"command": " /usr/bin/env /etc/sensu/
"handlers": ["graphite"],
"output_
"interval": 30,
"
"default"
]
}
}
}
Issue is :
1. how to provide tree structure in graphite with the above json file
2. how to parse the output to graphite in plaintext
Request to help me out.
Thanks in advance
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: