check_disk and autofs

Alan McKay alan.mckay at gmail.com
Wed Nov 12 22:06:07 CET 2008


> Please expand on this. What specifically is flipping back and forth?
> What is the service output when this is happening? flip-flop behavior
> is an indicator of accidentally having multiple nagios daemons running
> at the same time.

Right now the screen just refreshed and it's reporting correctly in
the web GUI :

DISK OK - free space: /opt/corp/projects/BCM_CC 64697 MB (73% inode=99%):

Just before the refresh, it had / listed instead of
/opt/corp/projects/BCM_CC, and the stats for / as well.

In the meantime I have not changed the configuration.

I'm thinking that like Hugo said, it could be the response time of the
automounter.  Maybe I have to write a wrapper-script for check_disk
that first cd's to the directory, then sleeps for 1 or 2 seconds, then
calls check_disk.   Anyone ever done that?  Anything special I have to
know to do it?


-- 
"I destroy my enemies when I make them my friends"
                        - Abraham Lincoln

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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