APC SU1400XLT User Manual Page 36

  • Download
  • Add to my manuals
  • Print
  • Page
    / 115
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 35
Testing Apcupsd
The following testing procedures apply for the most part to SmartUPSes, whether USB or serial. If you
have a dumb voltage-signalling UPS, your testing procedures will be somewhat different, and you should
see the section on Testing Serial UPSes (see Testing Serial-Line UPSes).
Process-Status Test
After you start apcupsd, execute the following command:
ps fax
or the equivalent for your system. You should see something similar to the following output.
632 ? S 0:00 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
841 ? S 0:00 \_ /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
842 ? S 0:00 \_ /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
This indicates that apcupsd is up and running and has started the two standard threads in addition to the
main thread.
If you see only one instance of apcupsd running, don't worry about it as this is normal on most non-Linux
systems, and on Linux 2.6.x kernels.
If you do not find that apcupsd is in the above list, the most likely problem is a configuration file glitch. If no
messages were printed, you should check your system log (normally /var/log/messages) where you
will find one or messages indicating the nature of the problem.
Logging Test
Once you have established that the proper processes are running, do a tail of the system log file, normally
/var/log/messages:
tail /var/log/messages
You should see output that looks similar to the following:
Dec 5 17:01:05 matou apcupsd[5917]: apcupsd 3.7.2 startup succeeded
These messages should also appear in the temporary file (/etc/apcupsd/apcupsd.events) if you are
using the default configuration file. If you have installed the RPM, they will probably be in
/var/log/apcupsd.events.
apcaccess Test
This test consists of running apcaccess to see if apcupsd is properly updating its internal variables.
Please note that you must enable the apcupsd Network Information Server in your configuration file for
apcaccess to work. This is done by setting:
NETSERVER on
NISPORT 3551
in your apcupsd.conf file.
To run the apcaccess test, use the following command:
Page view 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 114 115

Comments to this Manuals

No comments