<html><body><div>This appears to be related to the mystery - this code isn't commented at:</div><div><br></div><div>  <a href="https://github.com/collectd/collectd/blob/master/src/utils_cmd_putval.c">https://github.com/collectd/collectd/blob/master/src/utils_cmd_putval.c</a></div><div><br></div><div>What does this do and why am I getting this error?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><table class="highlight tab-size-8 js-file-line-container" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; tab-size: 8; overflow-x: auto; overflow-y: hidden; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 13px; line-height: 18.200000762939453px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><tbody style="box-sizing: border-box;"><tr style="box-sizing: border-box;"><td id="LC162" class="blob-line-code js-file-line" style="box-sizing: border-box; padding: 0px 10px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible;">  <span class="n" style="box-sizing: border-box;">ds</span> <span class="o" style="box-sizing: border-box; font-weight: bold;">=</span> <span class="n" style="box-sizing: border-box;">plugin_get_ds</span> <span class="p" style="box-sizing: border-box;">(</span><span class="n" style="box-sizing: border-box;">type</span><span class="p" style="box-sizing: border-box;">);
</span></td></tr><tr style="box-sizing: border-box;"><td id="L163" class="blob-line-num js-line-number" data-line-number="163" style="box-sizing: border-box; padding: 0px 8px; -webkit-user-select: none; cursor: pointer; width: 37px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(229, 229, 229);"></td><td id="LC163" class="blob-line-code js-file-line" style="box-sizing: border-box; padding: 0px 10px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible;"><span class="k" style="box-sizing: border-box; font-weight: bold;">if</span> <span class="p" style="box-sizing: border-box;">(</span><span class="n" style="box-sizing: border-box;">ds</span> <span class="o" style="box-sizing: border-box; font-weight: bold;">==</span> <span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">NULL</span><span class="p" style="box-sizing: border-box;">)</span> <span class="p" style="box-sizing: border-box;">{</span></td></tr><tr style="box-sizing: border-box;"><td id="L164" class="blob-line-num js-line-number" data-line-number="164" style="box-sizing: border-box; padding: 0px 8px; -webkit-user-select: none; cursor: pointer; width: 37px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(229, 229, 229);"></td><td id="LC164" class="blob-line-code js-file-line" style="box-sizing: border-box; padding: 0px 10px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible;">               <span class="n" style="box-sizing: border-box;">print_to_socket</span> <span class="p" style="box-sizing: border-box;">(</span><span class="n" style="box-sizing: border-box;">fh</span><span class="p" style="box-sizing: border-box;">,</span> <span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">"-1 Type `%s' isn't defined.</span><span class="se" style="box-sizing: border-box; color: rgb(221, 17, 68);">\n</span><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">"</span><span class="p" style="box-sizing: border-box;">,</span> <span class="n" style="box-sizing: border-box;">type</span><span class="p" style="box-sizing: border-box;">);</span></td></tr><tr style="box-sizing: border-box;"><td id="L165" class="blob-line-num js-line-number" data-line-number="165" style="box-sizing: border-box; padding: 0px 8px; -webkit-user-select: none; cursor: pointer; width: 37px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(229, 229, 229);"></td><td id="LC165" class="blob-line-code js-file-line" style="box-sizing: border-box; padding: 0px 10px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible;">               <span class="n" style="box-sizing: border-box;">sfree</span> <span class="p" style="box-sizing: border-box;">(</span><span class="n" style="box-sizing: border-box;">identifier_copy</span><span class="p" style="box-sizing: border-box;">);</span></td></tr><tr style="box-sizing: border-box;"><td id="L166" class="blob-line-num js-line-number" data-line-number="166" style="box-sizing: border-box; padding: 0px 8px; -webkit-user-select: none; cursor: pointer; width: 37px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(229, 229, 229);"></td><td id="LC166" class="blob-line-code js-file-line" style="box-sizing: border-box; padding: 0px 10px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible;">           <span class="k" style="box-sizing: border-box; font-weight: bold;">return</span> <span class="p" style="box-sizing: border-box;">(</span><span class="o" style="box-sizing: border-box; font-weight: bold;">-</span><span class="mi" style="box-sizing: border-box; color: rgb(0, 153, 153);">1</span><span class="p" style="box-sizing: border-box;">);</span></td></tr><tr style="box-sizing: border-box;"><td id="L167" class="blob-line-num js-line-number" data-line-number="167" style="box-sizing: border-box; padding: 0px 8px; -webkit-user-select: none; cursor: pointer; width: 37px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(229, 229, 229);"></td><td id="LC167" class="blob-line-code js-file-line" style="box-sizing: border-box; padding: 0px 10px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible;">        <span class="p" style="box-sizing: border-box;">}


</span></td></tr></tbody></table><br>On Aug 18, 2014, at 06:09 PM, Stuart Cracraft <smcracraft@me.com> wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div>So I have just heard that collectd doesn't output all its error messages</div><div>to logfiles in accessible form, since it gives feedback to the console</div><div>for data collection (I would recommend putting it in /var/log/collectd.log.)</div><div><br></div><div>So I shut it off and ran it with:</div><div><br></div><div>  /usr/sbin/collectd -f -C /etc/collectd/collectd.conf</div><div><br></div><div>on the console, <span style="line-height: 1.5;" data-mce-style="line-height: 1.5;">which gave:</span></div><div><br></div><div><div>  /usr/sbin/collectd -f -C /etc/collectd/collectd.conf</div><div>  Initialising rabbitmq_info</div><div>  ,-1 Type `all' isn't defined.</div><div>  -1 Type `all' isn't defined.</div></div><div><br></div><div>What does the "-1 Type `all' isn't defined" mean?</div><div><br></div><div>It isn't appearing in the standard output of my PUTVAL <span style="line-height: 1.5;" data-mce-style="line-height: 1.5;">exec script</span></div><div><span style="line-height: 1.5;" data-mce-style="line-height: 1.5;">which looks very clean innocent:</span></div><div><span style="line-height: 1.5;" data-mce-style="line-height: 1.5;"><br></span></div><div><div>PUTVAL "some-fully-qualified-name/rabbitmq/more-rabbits" interval=10 N:2</div><div>PUTVAL "some-fully-qualified-name/rabbitmq/more-rabbits" interval=10 N:100</div><div>PUTVAL "some-fully-qualified-name/rabbitmq/more-rabbits" interval=10 N:500000</div><div>:<br>:<br>: </div><div style="line-height: 1.5;" data-mce-style="line-height: 1.5;"><br></div></div><div style="line-height: 1.5;" data-mce-style="line-height: 1.5;">Guidance you give on this will be appreciated!</div><div><br></div><div>--Stuart</div><div><br></div><div><br></div><div><br></div></div></blockquote></div></body></html>