df hanging will cause xymon-client to hang.
list Andrey Chervonets
Mon, 22 Jun 2015 12:09:53 +0300
Message-Id: <user-3e74bea142c8@xymon.invalid>
I suppose the workaround for the problem can be - rewrite shell script calling df.
1) call df ... command a) in background b) redirecting output to some temp-file c) saving child process PID to variable
2) checking in loop the process still running
if still running (can check with ps command)
then sleep for 1 sec. or so and go to next check iteration
if not running - exit loop and check the output
if count of checks (iterations) more then N (defined in configuration), then end checking - raise the red status for disk
3) df is called twice - for space and for inodes - then implement it as shell function
Best regards,
Andrey Chervonets
SIA CoMinder
http://www.cominder.eu/