Re: [Nagios-users] Retain last output

2009-11-21 Thread Flyinvap
Le Thu, 19 Nov 2009 22:10:35 +0100, Flyinvap flyin...@orange.fr a écrit : $SERVICEOUTPUT$ is empty and $SERVICEOUTPUT:myhost:myservice$ would contain the data ? Finally, I was wrong. These 2 macros contain OUTPUT from last check, $SERVICEPERFDATA$ contains last performance data, etc. I define

[Nagios-users] Retain last output

2009-11-19 Thread Flyinvap
Hi, I would like to use last output and last performance data from a service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros contain this but a said in the doc : These macros are not valid for the service they are associated with when that service is being checked (i.e. they make

Re: [Nagios-users] Retain last output

2009-11-19 Thread Marcel
Hi, On Thu, Nov 19, 2009 at 4:15 PM, Flyinvap flyin...@orange.fr wrote: I would like to use last output and last performance data from a service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros contain this but a said in the doc : These macros are not valid for the service

Re: [Nagios-users] Retain last output

2009-11-19 Thread Joerg Linge
Flyinvap schrieb: Hi, I would like to use last output and last performance data from a service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros contain this but a said in the doc : These macros are not valid for the service they are associated with when that service is

Re: [Nagios-users] Retain last output

2009-11-19 Thread Flyinvap
Le Thu, 19 Nov 2009 19:38:49 +0100, Joerg Linge pitchf...@ederdrom.de a écrit : On-Demand Macros should work in this case. $SERVICEOUTPUT$ is empty and $SERVICEOUTPUT:myhost:myservice$ would contain the data ? I'll try. -- Flyinvap