hi andy , <div>passive check submissions via nsca can include perf data, theres no restriction on that. <br>Though most of the plugins supports perf data, some of them dont. The example you have mentioned, do return perf data. </div>
<div><br></div><div><div>/usr/lib/nagios/plugins/check_ping -H 8.8.8.8 -w 15,2% -c 20,5%</div><div>PING OK - Packet loss = 0%, RTA = 12.28 ms|rta=12.284000ms;15.000000;20.000000;0.000000 pl=0%;2;5;0</div><div><br></div><div>
however this one dont have explicit flags for disabling/enabling perf data, it always returns perfdata (which is fine i think). But some of the plugins do support additional flags to enable/disable perfdata output.</div><div>
<br></div><div><br></div><div>most of the standard plugins(except few) do support perfdata, they can ignore it, as its not mandatory. For more on the perfdata format </div><div><br></div><div><a href="http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201">http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201</a> </div>
<div><br></div><div>hope this help,</div><div>regards</div><div>ranjib</div><div class="gmail_quote">On Sun, Apr 8, 2012 at 8:58 PM,  <span dir="ltr"><<a href="mailto:asmith@dms.cat">asmith@dms.cat</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
   I'd like to be able to log performance data from Nagios but I have<br>
a couple of doubts.<br>
<br>
First and most fundamental, will I be able to use the normal Nagios<br>
perfdata support with passive NSCA clients?<br>
<br>
Secondly, I have been reading the documentation, ie<br>
<a href="http://nagios.manubulon.com/traduction/docs14en/perfdata.html" target="_blank">http://nagios.manubulon.com/traduction/docs14en/perfdata.html</a><br>
<br>
And it says that a plugin must return additional data after a pipe "|"<br>
sign for Nagios to accept any perforamnce data from that plugin. I was<br>
having a look at the standard plugins and they don't seem to have any<br>
support for performance data, ie:<br>
<br>
# ./check_ping<br>
check_ping: Could not parse arguments<br>
Usage:<br>
check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%<br>
  [-p packets] [-t timeout] [-4|-6]<br>
<br>
There is no option to enable performance data in the plugin output. Am<br>
I getting this wrong or do none of the standard plugins allow any<br>
performance data capture?<br>
<br>
thanks in advance! Andy.<br>
<br>
------------------------------------------------------------------------------<br>
For Developers, A Lot Can Happen In A Second.<br>
Boundary is the first to Know...and Tell You.<br>
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!<br>
<a href="http://p.sf.net/sfu/Boundary-d2dvs2" target="_blank">http://p.sf.net/sfu/Boundary-d2dvs2</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br></div>