summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79b2218)
raw | patch | inline | side by side (parent: 79b2218)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Mon, 18 Jun 2007 20:20:56 +0000 (20:20 +0000) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Mon, 18 Jun 2007 20:20:56 +0000 (20:20 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1744 f882894a-f735-0410-b71e-b25c423dba1c
REQUIREMENTS | patch | blob | history | |
configure.in | patch | blob | history | |
plugins/.cvsignore | patch | blob | history |
diff --git a/REQUIREMENTS b/REQUIREMENTS
index ebc495b4866911b07659886d234729b4a544e3a4..67cb8bf2c156f49c3a17b2cd019ec160709cc023 100644 (file)
--- a/REQUIREMENTS
+++ b/REQUIREMENTS
- Requires Network UPS Tools (>= 1.4) to run on the server to monitor
http://www.networkupstools.org/
+check_ide_smart:
+ - Uses the Linux specific SMART interface [http://smartlinux.sourceforge.net/smart/index.php].
+
OS Specific Issues
------------------
diff --git a/configure.in b/configure.in
index 7ce8a92e6f92bef3c0370de5032b494d054571b7..5b5b983b9b603d27512dd8de051d06e28a8ffa15 100644 (file)
--- a/configure.in
+++ b/configure.in
fi
LIBS="$_SAVEDLIBS"
+dnl Check for headers used by check_ide_smart
+AC_CHECK_HEADER(linux/hdreg.h, FOUNDINCLUDE=yes, FOUNDINCLUDE=no)
+if test "$FOUNDINCLUDE" = "yes" ; then
+ AC_CHECK_HEADER(linux/types.h, FOUNDINCLUDE=yes, FOUNDINCLUDE=no)
+fi
+
+if test "$FOUNDINCLUDE" = "yes" ; then
+ EXTRAS="$EXTRAS check_ide_smart"
+else
+ AC_MSG_WARN([Skipping check_ide_smart plugin.])
+ AC_MSG_WARN([check_ide_smart is linux specific. It requires linux/hdreg.h and linux/types.h.])
+fi
+
dnl Check for mysql libraries
np_mysqlclient
if test $with_mysql = "no" ; then
diff --git a/plugins/.cvsignore b/plugins/.cvsignore
index e3db508a4248a8679e31f980d1cbec404ab6a3c6..52dc94fe934a75bea169fbcc71e91c4179af003f 100644 (file)
--- a/plugins/.cvsignore
+++ b/plugins/.cvsignore
check_ftp
check_fping
check_http
+check_ide_smart
check_imap
check_jabber
check_load