cpqupsd(1M) cpqupsd(1M)
NAME
cpqupsd - Compaq Insight Manager (CIM) UPS Agent
SYNOPSIS
cpqupsd [-p time] -f file [-i] [-s OK | NOTOK] [-t OK | NOTOK]
DESCRIPTION
cpqupsd is the Compaq Insight Manager (CIM) UPS monitoring and
data collection agent. It monitors a UPS device for AC line
failure information, and populates status information for the
CIM MIB registered by cpqsmuxd(1M). By default, cpqupsd is
started by init using the script /etc/rc2.d/S99cpqups.
cpqupsd supports the following options:
-p time specifies the time, in seconds, between
updates of the MIB variables. If not
specified, time defaults to 30 seconds.
-f file specifies the full path of the UPS
configuration file.
-i tells cpqupsd to ignore stop indication
from the cpqsmuxd process. If this
option is not used, when a stop
indication is received from cpqsmuxd, the
agent terminates.
-t OK | NOTOK enables or disables the ability to send
SNMP traps. If OK is specified, cpqupsd
will issue SNMP traps.
-s OK | NOTOK enables or disables set operations on
this agent's MIB variables. A user at a
management station may attempt to set MIB
variables managed by this agent. If OK
is specified, the agent will allow set
operations.
Communication with the Compaq UPS is over a serial line. If a
line failure occurs, and the UPS batteries deplete, cpqupsd
will shut the system down gracefully.
Configuration file
The UPS configuration file contains the following tunable
entries:
Copyright 1994 Novell, Inc. Page 1
cpqupsd(1M) cpqupsd(1M)
OS_SHUTDOWN_TIME=num
num is the amount of time, in minutes,
estimated to shut down the system. When
available battery time on the UPS reaches
this value, the shutdown process is
initiated. If not specified, num
defaults to 5 minutes.
OS_SHUTDOWN_COMMAND="cmd"
cmd is the command line executed to shut
down the system when UPS batteries are
below OS_SHUTDOWN_TIME. If not
specified, cmd defaults to the following:
/bin/su root -c "/etc/shutdown -y -g1"
SERIAL_PORT="special-file"
special-file is the serial port device
which connects the UPS and the system.
The default is "" (a null string).
UPS_SHUTDOWN=flag
flag is used to allow system shutdown if
the AC line fails and the UPS batteries
deplete. A flag of 1 is the default, and
allows system shutdown. If this flag is
set to 0, the system will not be shut
down.
REFERENCES
cpqsmuxd(1M), shutdown(1M)
NOTICES
This command is only supported on applicable Compaq systems.
Copyright 1994 Novell, Inc. Page 2