How much Performance data should a plugin return? should we

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
wokwok1
Posts: 1
Joined: Thu Feb 17, 2011 7:43 pm

How much Performance data should a plugin return? should we

Post by wokwok1 »

Hey
Most plugins I have seen returned very limited Performance data. Would there be a downside of returning 40K of performance data? Based on the documentation (see below...) this sounds easy.

http://nagios.sourceforge.net/docs/3_0/pluginapi.html:
"Plugin Output Length Restrictions
Nagios will only read the first 4 KB of data that a plugin returns. This is done in order to prevent runaway plugins from dumping megs or gigs of data back to Nagios. This 4 KB output limit is fairly easy to change if you need. Simply edit the value of the MAX_PLUGIN_OUTPUT_LENGTH definition in the include/nagios.h.in file of the source code distribution and recompile Nagios. There's nothing else you need to change!"
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: How much Performance data should a plugin return? should

Post by rdedon »

Resources is the only downside but you can always tweak it if need be as well.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked