performance data configuration doubts
ranjib dey
dey.ranjib at gmail.com
Sun Apr 8 18:14:47 CEST 2012
hi andy ,
passive check submissions via nsca can include perf data, theres no
restriction on that.
Though most of the plugins supports perf data, some of them dont. The
example you have mentioned, do return perf data.
/usr/lib/nagios/plugins/check_ping -H 8.8.8.8 -w 15,2% -c 20,5%
PING OK - Packet loss = 0%, RTA = 12.28
ms|rta=12.284000ms;15.000000;20.000000;0.000000 pl=0%;2;5;0
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.
most of the standard plugins(except few) do support perfdata, they can
ignore it, as its not mandatory. For more on the perfdata format
http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201
hope this help,
regards
ranjib
On Sun, Apr 8, 2012 at 8:58 PM, <asmith at dms.cat> wrote:
> Hi,
>
> I'd like to be able to log performance data from Nagios but I have
> a couple of doubts.
>
> First and most fundamental, will I be able to use the normal Nagios
> perfdata support with passive NSCA clients?
>
> Secondly, I have been reading the documentation, ie
> http://nagios.manubulon.com/traduction/docs14en/perfdata.html
>
> And it says that a plugin must return additional data after a pipe "|"
> sign for Nagios to accept any perforamnce data from that plugin. I was
> having a look at the standard plugins and they don't seem to have any
> support for performance data, ie:
>
> # ./check_ping
> check_ping: Could not parse arguments
> Usage:
> check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
> [-p packets] [-t timeout] [-4|-6]
>
> There is no option to enable performance data in the plugin output. Am
> I getting this wrong or do none of the standard plugins allow any
> performance data capture?
>
> thanks in advance! Andy.
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120408/af0873d8/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list