<div dir="ltr"><div style>Hi all,</div><div style><br></div><div style>I have a working collectd setup publishing to graphite. I have the default postgresql queries working against a postgres database. I want to add the following query. <a href="https://gist.github.com/ahammond/811b3532f229bc4ec386">https://gist.github.com/ahammond/811b3532f229bc4ec386</a> It doesn't appear to be generating any data. The existing default queries continue working, and I don't get any error messages either in syslog or on the console when I run it there directly.</div>
<div><br></div><div style>I've tested the query in the database and it runs error free. I've tried adding a ; to the end of the Statement string and putting single-quotes (') around the $1 parameter. Neither of these things seem to have any effect.</div>
<div style><br></div><div style>What are my next steps to get this working please?</div><div style><br></div><div style>Andrew</div><div><br></div><div><br></div></div>