Re: [Nagios-devel] performance data not written when lacking
Posted: Tue Aug 16, 2011 8:56 am
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, [email protected] 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 [email protected]
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.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
>
> On 15 Aug 2011, at 14:28, Andreas Ericsson wrote:
>
>> On 08/15/2011 10:36 AM, [email protected] 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 [email protected]
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.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]