← Back to team overview

graphite-dev team mailing list archive

[Question #244597]: Metric Path Okay, Metric Data Null

 

New question #244597 on Graphite:
https://answers.launchpad.net/graphite/+question/244597

Hi

I will send Data with PHP/Shell to Carbon. But it don't work.
The Metric path exmp. "domain_net.hostname.group.device.servcie" are correctly in the Graphite GUI.
But no Data are in the Graph.

Command:
shell_exec("printf \"domain_net.hostname.group.device.servcie 4072109813 1392595202\n\" | nc 127.0.0.1 2003");
When I change "| nc ..." to "> debug.txt", I see in the File that the Output are correct. examp:
domain_net.hostname.group.device.servcie 4072109813 1392595202

Value:
When I set in a Graph-Image URL the "rawData=true" on the End, I see that all Values are "None".

Carbon works fine with Icinga witch is on the same system.
For Icinga I use a awk/shell Script. That sends with:
awk:
"print "Icinga"test2"."$4"."name" "value" "$2"
sh:
carbon_host=127.0.0.1
carbon_port=2003
"> /dev/tcp/${carbon_host}/${carbon_port}"

can someone help?



-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.