performance data configuration doubts

Claudio Kuenzler ck at claudiokuenzler.com
Sun Apr 8 18:16:59 CEST 2012


The performance data can be found in the output of the plugin, if the
plugin supports it.
There are two types of output actually.
The first part before the pipe is handled as "output", this will be shown
in your Nagios UI and in notifications.
The second part behind the pipe is handled as "performance data". With this
data you'll be able to generate graphs.

See here for an example with check_ping:

# ./check_ping -H google.com -w 20,50% -c 50,70%
PING OK - Packet loss = 0%, RTA = 15.99
ms|rta=15.987000ms;20.000000;50.000000;0.000000 pl=0%;50;70;0

Everything behind the pipe is performance data.

On Sun, Apr 8, 2012 at 5:28 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/fe0a05b5/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