Seagate ST3655N Bedienungsanleitung Seite 20

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 263
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 19
SANtools® S.M.A.R.T. Disk Monitor (SMARTMon-UX)14
SANTOOLS® is registered in US Patent and Trademark Office No 3,107,854 All rights reserved.
which suspends processing of a script and waits for keyboard input. (The shell script equivalent of PAUSE is read). As
this prevents your script from completing without operator intervention, it suspends SMARTMon-UX as well.
Instructions and sample output for testing the autolaunch program can be found in the Auto-Launching Program
After Predictive Failure Section
You may combine this auto-launch feature with other alerting mechanisms, such as the -M to send out E-Mail alerts
and the -L option that facilitates saving event information in a flat file.
Testing Auto-Launch
Please consult the chapter, Testing Predictive Failure Alerts and Actions .
1.4.4 Running as a Windows Service
Release 1.29 introduced the ability to run the program and be managed as a standard Windows Service. When the
executable is invoked from the command-line prompt, it runs as a foreground application and sends all output to the
screen. When it is invoked from the Service Control Manager plug-in, as shown below, it can be launched as a
service routine. All monitoring information will normally be sent to the windows event log.
Service Management Functions
These functions manage the service routine. These functions should not be combined with other functions. All of
these functions return to the command-line prompt after they are executed.
Command
Description
-servicehelp
Displays help text specific to these functions
-serviceinstall
This both installs the program as a standard system service and launches the application. If the
application is already installed, the service will be started. It will not re-install another executable
as a service. If you need to perform a re-install, you must first issue -servicestop to stop the
service followed by a -serviceuninstall . Then you may install the service.
-
serviceuninstal
l
This stops the service (if running), then uninstalls it.
-
serviceparamete
rs [argument
list]
Use the argument list to define the commands that the service routine will use when it is
launched as a service. This command should be run before you install the service, but it can be
entered at any time. The argument list will only be used when the service starts. If you change
the parameters, you must restart the program. It is important to note that the program does not
perform any syntax checking or validation of parameters when running the -serviceparameters
function. You should enter -servicestatus a few minutes after launching the program to make
sure that it is running.
-servicestop
This stops the service. You must issue the -servicestart to restart (or use the SCM Plugin
to restart the service).
-servicestart
This starts the service and instructs it to use the default parameters defined in the -
serviceparameters function.
-servicestatus
Reports status of the service routine (running, stopped, etc ...).
Step-by-Step - Launching the Service
1.
Decide on the runtime parameters. This example sets parameters to poll all hardware every 5 minutes, suppress
event log entries if no errors are found, and send out an email to [email protected] using the mail server smtp.abc.
com.
2.
Configure authentication and mail server settings using the interactive command, -Mail . Do this by entering
smartmon-ux -Mail and configuring the settings.
3.
Enter smartmon-ux -serviceparameters -F 300 -sq -M [email protected] -N smtp.abc.com
At this point the service will be installed and running. If this is the first time you have used a certain set of parameters,
12
13
11
14
14
14
15
14
9
8
Seitenansicht 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 262 263

Kommentare zu diesen Handbüchern

Keine Kommentare