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 they are associated with
> when that service is being checked (i.e. they make no sense, as they
> haven't been determined yet). "
>
> So when the plugin is executed, these macros are empty. How can I
> retrieve these data. I would like to avoid using temporaries files.
>
> Any idea ?
>

You can setup a memcached to hold the last status information for all
services, and a perfdata command or whatever wrapper to input data to
memcache.

Cheers,
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to