/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/nagios-ndpf-sensors/scripts/check_glusterfs
ViewVC logotype

Diff of /trunk/nl.nikhef.ndpf.tools/nagios-ndpf-sensors/scripts/check_glusterfs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2602 by ronalds, Thu Feb 21 14:32:25 2013 UTC revision 2603 by ronalds, Fri Feb 22 12:19:44 2013 UTC
# Line 42  TimerOn() Line 42  TimerOn()
42    
43  Int14Vector()  Int14Vector()
44  {  {
45    echo CRITICAL: GlusterFS mount point ${1} does not seem to work. Could not list the contents!    echo CRITICAL: GlusterFS mount point ${1} is not working. Could not list the contents!
46    exit 2    exit 2
47  }  }
48    
# Line 63  TryList ${1} Line 63  TryList ${1}
63  # If we get past this point it means that everything went fine.  # If we get past this point it means that everything went fine.
64    
65  # Return success.  # Return success.
66  echo OK: GlusterFS mount ${1} seems to be working correctly  echo OK: GlusterFS mount ${1} is available
67    
68  # Kill the alarm timer, we do not need it any more. (bash will write to stdout about the process that got killed, redirecting makes no sense here)  # Kill the alarm timer, we do not need it any more. (bash will write to stdout about the process that got killed, redirecting makes no sense here)
69  kill -9 ${!}  kill -9 ${!}

Legend:
Removed from v.2602  
changed lines
  Added in v.2603

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28