ilmdaiwtki is a suite of two programs and a pile of ugly wrapper scripts.
installation is very simple, download the latest ilmdaiwtki_bundle-x.y.z.tar.gz file, and untar it, and do the configure, make, make install dance. (if you're upgrading you need to uninstall the old version before make install)
[root@artemis bar]# wget http://www.madingley.org/james/resources/ilmdaiwtki/fil es/ilmdaiwtki_bundle-1.0.14.tar.gz --19:09:58-- http://www.madingley.org/james/resources/ilmdaiwtki/files/ilmdaiwt ki_bundle-1.0.14.tar.gz => `ilmdaiwtki_bundle-1.0.14.tar.gz' Resolving www.madingley.org... 131.111.64.221 Connecting to www.madingley.org[131.111.64.221]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3,412,088 [application/x-gzip] 100%[====================================>] 3,412,088 99.97K/s ETA 00:00 19:10:33 (95.98 KB/s) - `ilmdaiwtki_bundle-1.0.14.tar.gz' saved [3,412,088/3,412 ,088] [root@artemis bar]# tar xzf ilmdaiwtki_bundle-1.0.14.tar.gz [root@artemis bar]# cd ilmdaiwtki_bundle-1.0.14Set prefix to where you would like the software installed. The package contains precompiled versions of smartctl, smartd and tw_cli that you can run. They are placed in ${prefix}/bin.
[root@artemis ilmdaiwtki_bundle-1.0.14]# ./configure --prefix=/software checking for gcc... gcc [...] config.status: creating scripts/tw_check config.status: executing depfiles commands config.status: executing default commands [root@artemis ilmdaiwtki_bundle-1.0.14]# make Making all in scripts [...] make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/root/bar/ilmdaiwtki_bundle-1.0.14'Uninstall the old version if present where ${prefix} is the value of prefix above
[root@artemis ilmdaiwtki_bundle-1.0.14]# ${prefix}/bin/ilmdaiwtkid_install -u killall /software/lib/ilmdaiwtki_bundle/bin/ia32/ilmdaiwtkid -- OK [...] killall /software/lib/ilmdaiwtki_bundle/bin/ia32/smartd -- OKNow make install
[root@artemis ilmdaiwtki_bundle-1.0.14]# make install Making install in scripts [...] make[1]: Leaving directory `/root/bar/ilmdaiwtki_bundle-1.0.14' [root@artemis ilmdaiwtki_bundle-1.0.14]#Finally run the installer - this will add an entry in /etc/inittab and start up the monitoring. Replace myemail@address with the address you want reports to be sent to. (replace ${prefix} with the value of prefix above)
[root@artemis ilmdaiwtki_bundle-1.0.14]# ${prefix}/bin/ilmdaiwtkid_install myemail@address
[root@artemis ilmdaiwtki_bundle-1.0.14]# mkdir /tmp/deploy [root@artemis ilmdaiwtki_bundle-1.0.14]# make DESTDIR=/tmp/deploy install Making install in scripts [...] make[1]: Leaving directory `/root/bar/ilmdaiwtki_bundle-1.0.14' [root@artemis ilmdaiwtki_bundle-1.0.14]#Now tar up your installation image
[root@artemis ilmdaiwtki_bundle-1.0.14]# tar czfC ilmdaiwtki-image.tar.gz /tmp/deploy .Now for each machine you want to install on copy the ilmdaiwtki-image.tar.gz file to /tmp and run. (The first step uninstalls an old version)
[root@artemis tmp]# ${prefix}/bin/ilmdaiwtkid_install -u killall /software/lib/ilmdaiwtki_bundle/bin/ia32/ilmdaiwtkid -- OK [...] killall /software/lib/ilmdaiwtki_bundle/bin/ia32/smartd -- OK [root@artemis tmp]# tar xzfC ilmdaiwtki-image.tar.gz / [root@artemis tmp]# ${prefix}/bin/ilmdaiwtkid_install myemail@addressThat's it
[root@artemis ~]# ps -ax 1 ? S 0:01 init [5] [...] 5283 ? Ss 0:00 ilmdaiwktid: sleeping 5305 ? Ss 0:03 ilmdaiwktid: /dev/sdb verifying 5307 ? Ss 0:03 ilmdaiwktid: /dev/sdc verifying 5308 ? Ss 0:03 ilmdaiwktid: /dev/sdd verifying 5309 ? Ss 0:03 ilmdaiwktid: /dev/sde verifying 5311 ? S 0:00 perl /software/bin/tw_check 0 smart@madingley.org 5337 ? S 0:00 /software/lib/ilmdaiwtki_bundle/bin/x86_64/smartd -c /software/etc/smartd.conf [...] 5457 pts/1 Ss 0:00 -bash 5490 pts/1 R+ 0:00 ps -ax [root@artemis ~]#Take me to the files