Read datapoint from graphite programmatically
Hi,
I am trying (also, similarly to older questions) to compute and graph network interface rates from raw counter data (cumulative bytes/pkts) I am getting to a perl script from sflow probes.
Please don't respond with the derivative workaround or URL/webapp functions.
The solution looks like this:
Network Switch (sflow) -> sflow2graphite.pl (TCP socket) -> carbon-cache (port 2003)
Essentially I am using the plaintext protocol to write the counter to graphite via the socket (carbon listening on 2003).
If I could read the last <datapoint,
Is there a way one can use the socket interface to read the last <datapoint,
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Earthlink for more information if necessary.