HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/bin/smartctl_log/smartctl_log.cmd
:: SS, 23/12/2014 Smartctl log of primary and secondary drives
:: SS, 24/12/2014 removed separate -a and -H options, -x seems to have it all
d:
cd d:\bin\smartctl_log

set smartctl_prog="C:\Program Files\smartmontools\bin\smartctl.exe"
set emailto=purchases@itpartnership.com

%smartctl_prog% -x /dev/sda >log_sda.txt
%smartctl_prog% -x /dev/sdb >log_sdb.txt

itpSendEmail low %emailto% smartctl@itpartnership.com "SMART Log Primary Drive (Fasthosts Windows 2008 Server) (DSVR016373)" log_sda.txt
itpSendEmail low %emailto% smartctl@itpartnership.com "SMART Log Secondary Drive (Fasthosts Windows 2008 Server) (DSVR016373)" log_sdb.txt