Retain last output
Flyinvap
flyinvap at orange.fr
Sat Nov 21 09:12:57 CET 2009
Le Thu, 19 Nov 2009 22:10:35 +0100,
Flyinvap <Flyinvap at 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 my service like:
define service {
host_name myhostname
use generic-service
service_description output_test
check_command cmd-test!$SERVICEPERFDATA$
}
define command{
command_name cmd-test
command_line $USER2$/test_plugin "$ARG1$"
}
I keep memcached in my mind.
--
Flyinvap
------------------------------------------------------------------------------
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 at 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
More information about the Users
mailing list