diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-02-22 19:06:45 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-02-22 19:06:45 +0000 |
commit | 90d58acf74c1ac6d3243081339be68e9dbb2381c (patch) | |
tree | 90575d162639a1fe84ee4c92811da662e4026c62 | |
parent | 613581d8808daba85ad1908f5f05ee11cdb4fab1 (diff) | |
download | monitoring-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
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 7b3dd082..380307bd 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" |
919 | elif [swapinfo -k 2>&1 | egrep -i "^Device" >/dev/null] | 919 | elif [swapinfo -k 2>&1 | egrep -i "^Device" >/dev/null] |