[Nagiosplug-help] Adding stats output

Subhendu Ghosh sghosh at sghosh.org
Fri Jan 24 16:20:05 CET 2003


On Fri, 24 Jan 2003, Ian Stokes-Rees wrote:

> I would like to add a -s option (or -S, or --stats) to all the major Nagios
> plugins to facilitate passing stats back to the server.  I am wondering what
> the best way is to go about doing this so that the source forge versions get
> updated with my patches.
> 
> Cheers,
> 
> Ian.
> 
> 

Actually what you want is to pass perfdata (all data after current output 
separated by a | )

This way nagios knows that it is stats and can pass it off to the perfdata 
handler..

-- 

-sg





More information about the Help mailing list