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 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.

On-Demand Macros should work in this case.
http://nagios.sourceforge.net/docs/3_0/macros.html

Joerg

------------------------------------------------------------------------------
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
[email protected]
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