[Lustre-discuss] How to probe a Lustre client in Nagios?
Lu Wang
wanglu at ihep.ac.cn
Mon Jan 5 01:15:44 PST 2009
Dear list,
We have right now mount around 100 Lustre clients. Is there any way to probe Lustre clients in Nagios? I have tried this scripe:
#!/bin/bash
OK=0
WARN=1
CRITICAL=2
UNKNOWN=3
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
if [ -e /besfs/offline/testfs ]
then
echo "lustre is OK"
exit $OK
else
echo "lustre:besfs/offline is Warning"
exit $WARN
fi
However, after a recovery of Lustre , the nagios status doesn't recover on some machines. unless execute the scripe on these machines, or restart nagios clients.
Dose Lustre cache some metadata?
--------------
Lu Wang
2009-01-05
More information about the lustre-discuss
mailing list