performance data not written when lacking performance data

Andreas Ericsson ae at op5.se
Tue Aug 16 11:56:42 CEST 2011


On 08/16/2011 10:41 AM, Ton Voon wrote:
> 
> On 15 Aug 2011, at 14:28, Andreas Ericsson wrote:
> 
>> On 08/15/2011 10:36 AM, joe.price at vaisala.com wrote:
>>> So back on 3.2.3 I had a couple of checks with 'output' only, no 
>>> 'performance data'. 'Performance data' was still written to the
>>> file specified, which was then processed by nagiosgraph.
>>> 
>> 
>> If there was no performance data, how could any be written?
> 
> Some performance graphing systems use the output to do regexp parsing
> instead (or in addition) to using the performance data.
> 
> Therefore, I'm inclined to say this is a bug as the behaviour has
> changed.
> 
> Any specific reasons why this was changed? Otherwise I will revert
> this back.
> 

Well, performance data commands containing only the perfdata macro
shouldn't be written, imo, but perfdata commands using both perfdata
and output should definitely print something.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev




More information about the Developers mailing list