| Server IP : 101.53.144.229 / Your IP : 216.73.216.104 Web Server : Apache System : Linux host.gdigitalindia.in 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : digitalshiksha ( 1179) PHP Version : 5.6.40 Disable Function : eval,show_source,system,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,dl,show_source,curl_multi_exechellcmd, ini_restore,apache_get_modules,get_cfg_var,passthru, exec ,proc_get_status,fpassthru,c999_buff_prepare,c999_sess_put,c99_buff_prepare,c99_sess_put,proc_close,ini_alter,dl,symlink,link,proc_close,ini_alter,dl,symlink,link,mail MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/cwd/c1/1/usr/share/doc/smartmontools-7.0/examplescripts/ |
Upload File : |
# Home page: http://www.smartmontools.org
#
# $Id: README 4760 2018-08-19 18:45:53Z chrfranke $
#
# Copyright (C) 2003-08 Bruce Allen
# Copyright (C) 2009-18 Christian Franke
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
This directory contains executable shell scripts, that are intended for
use with the
-m address -M exec /path/to/an/executable
Directive in /etc/smartd.conf.
Details about how to use this Directive may be found in the man pages for
smartd and smartd.conf.
man 8 smartd
man 5 smartd.conf
should display those pages on your system.
If you wish to contribute additional scripts to this collection,
please email them to <smartmontools-support@listi.jpberlin.de>,
and include a brief description to use below.
The files contained in this directory are:
Example1: Appends values of $SMARTD_* environment variables and the output
of smartctl -a to the normal email message, and sends that
to the email address listed as the argument to the -m
Directive.
Example2: Appends output of smartctl -a to the normal email message
and sends that to the email address listed as the argument
to the -m Directive.
Example3: Uses wall(1) to send a warning message to all users, then powers
down the machine.
Example4: Uses powersave-notify to issue a desktop neutral warning.
(/etc/smartmontools/run.d/10powersave-notify from Debian package)
Example5: Uses run-parts(8) to run scripts from /etc/smartmontools/run.d/.
(/usr/share/smartmontools/smartd-runner from Debian package)
Example6: Sends a warning mail and then notifies the users by direct write
to terminals.
(/usr/libexec/smartmontools/smartdnotify from Fedora package)