|
storageMonitor - Monitors sense
errors experienced by storage devices attached to VMware ESX
Server.
storageMonitor
NAME
storageMonitor - Monitors sense errors experienced by storage
devices attached to VMware ESX Server.
SYNOPSIS
storageMonitor OPTIONS
COPYRIGHT
VMware ESX Server is Copyright 2005-2006 VMware, Inc. All
rights reserved.
DESCRIPTION
This application program is used to monitor sense errors of
storage devices connected to VMware ESX Server. It gathers
sense error information by periodically polling the kernel
resident storageMonitor, and ouputs error information either
to standard output or to a file or to the syslog. It formats
error information in a pretty manner before outputting it.
For example, it converts sense error codes to corresponding
text as per SCSI-3 specification. If no config file is specified
this application program parses a default config file '/etc/vmware/storageMonitor.conf'
to filter/allow the types of errors to be displayed. This
application program can be run in interactive mode or in a
daemon mode (use -d option).
OPTIONS
-c CONFIG-FILE
Specify config file to be used. The config file
specifies which type of errors to be allowed and
which ones to be filtered, before displaying, by
this application program. See default config file
for the format of entries.
-d
This option specifies the application program to be run
in daemon mode. When this option is specified all
output goes either to syslog or to LOG-FILE
specified by the user. if -s option is also specified
along with this option, output is also written to standard
out.
-h
Displays help information.
-l LOG-FILE
When this option is specified, output from the
program is written to LOG-FILE. This option is
only valid if -d option is also specified.
-p POLL-INTERVAL
POLL-INTERVAL specifies the interval (in secs) to
poll kernel resident storageMonitor and get
status/errors of the storage devices. If this
option is not used default polling interval of 10
seconds is used.
-s
This option is used if the application program should
also output to standard out. This option is only
valid if this application program is started in daemon
mode (-d option is speficied).
-v
Verbose option. Currently does not have any effect.
EXAMPLES
storageMonitor -p 60
Sets polling interval to 60 seconds. Output from the
application program is sent to standard out, since this
application program is not running in daemon mode. Filters
in the default config file are used before outputting the
errors.
storageMonitor -d -c foo.conf
This application now runs in daemon mode, since -d option
is set.
The config file now used is foo.conf instead of the default
config file. Output is written to syslog. The default log
file
location written by syslog is /var/log/storageMonitor.
storageMonitor -d -l foo.log -s
This application now runs in daemon mode, since -d option
is set.
The ouput is sent to foo.log instead of sending the output
to syslog. Output is also written to standard out since -s
option is specified. Default config file is used.
|