summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-02-22 19:06:45 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-02-22 19:06:45 (GMT)
commit90d58acf74c1ac6d3243081339be68e9dbb2381c (patch)
tree90575d162639a1fe84ee4c92811da662e4026c62 /configure.in
parent613581d8808daba85ad1908f5f05ee11cdb4fab1 (diff)
downloadmonitoring-plugins-90d58acf74c1ac6d3243081339be68e9dbb2381c.tar.gz
Solaris and Unixware labels round the wrong way for swap command
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@354 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 7b3dd08..380307b 100644
--- a/configure.in
+++ b/configure.in
@@ -909,11 +909,11 @@ then
909 elif [swap -l 2>/dev/null | egrep -i "^swapfile +dev +swaplo +blocks +free" >/dev/null] 909 elif [swap -l 2>/dev/null | egrep -i "^swapfile +dev +swaplo +blocks +free" >/dev/null]
910 then 910 then
911 AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output]) 911 AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
912 echo " using UnixWare format" 912 echo " using Solaris format"
913 elif [swap -l 2>/dev/null | egrep -i "^path +dev +swaplo +blocks +free" >/dev/null] 913 elif [swap -l 2>/dev/null | egrep -i "^path +dev +swaplo +blocks +free" >/dev/null]
914 then 914 then
915 AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output]) 915 AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
916 echo " using Solaris format" 916 echo " using Unixware format"
917 fi 917 fi
918 EXTRAS="$EXTRAS check_swap" 918 EXTRAS="$EXTRAS check_swap"
919elif [swapinfo -k 2>&1 | egrep -i "^Device" >/dev/null] 919elif [swapinfo -k 2>&1 | egrep -i "^Device" >/dev/null]