From: Zdeněk Šustr Date: Thu, 25 Aug 2011 08:17:32 +0000 (+0000) Subject: - use another default tmpdir X-Git-Tag: glite-lb-nagios_R_1_0_0_0~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=31e67431ed24af318b21858d09488f30d17976bc;p=jra1mw.git - use another default tmpdir - tmpdir configurable - timeout also governs the notification waiting cycle - output modifications --- diff --git a/org.glite.lb.nagios/Makefile b/org.glite.lb.nagios/Makefile index 1ce5411..bcb127a 100644 --- a/org.glite.lb.nagios/Makefile +++ b/org.glite.lb.nagios/Makefile @@ -9,6 +9,7 @@ INSTALL=install -include ${top_srcdir}/project/version.properties install: + mkdir -p ${DESTDIR}${PREFIX}/var/lib/grid-monitoring/emi.lb mkdir -p ${DESTDIR}${PREFIX}${prefix}/libexec/grid-monitoring/probes/emi.lb ${INSTALL} -m 0755 src/LB-probe ${DESTDIR}${PREFIX}${prefix}/libexec/grid-monitoring/probes/emi.lb diff --git a/org.glite.lb.nagios/src/LB-probe b/org.glite.lb.nagios/src/LB-probe index 56d15d6..5bd11a6 100755 --- a/org.glite.lb.nagios/src/LB-probe +++ b/org.glite.lb.nagios/src/LB-probe @@ -24,10 +24,11 @@ cat << EndHelpHeader Nagios probe for testing the status of L&B Tests called: - job registration - notification registration - logging events - receiving notifications + 1. Register job + 2. Register to receive notifications + 3. Log events + 4. Check job state + 5. Receive notifications Return values: 0: Passed @@ -36,21 +37,21 @@ Return values: 3: Unknown Console output: - OK|