APC SU1400XLT User Manual Page 45

  • Download
  • Add to my manuals
  • Print
  • Page
    / 115
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 44
./multimon.cgi
If everything is set up correctly, it will print a bunch of HTML with the values of the machines that you have
put in the hosts.conf file. It should look something like the following (note, only a small portion of the
output is reproduced here):
Content-type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>Multimon: UPS Status Page</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF">
<TABLE BGCOLOR="#50A0A0" ALIGN=CENTER>
<TR><TD>
<TABLE CELLPADDING=5>
<TR>
<TH COLSPAN=10 BGCOLOR="#60B0B0">
<FONT SIZE="+2">APCUPSD UPS Network Monitor</FONT>
<BR>Sun Jan 16 12:07:27 CET 2000</TH>
</TR>
<TR BGCOLOR="#60B0B0">
<TH COLSPAN=1>System</TH>
<TH COLSPAN=1>Model</TH>
<TH COLSPAN=1>Status</TH>
...
If you do not get similar output, check the permissions of the /etc/apcupsd directory and of those of
/etc/apcupsd/hosts.conf to ensure that your web server can access it. At many sites, the Apache server is
not running as root, so you must be careful to ensure that that /etc/apcupsd/hosts.conf and
/etc/apcupsd/multimon.conf are world readable.
To invoke multimon in your Web browser, enter:
http://your-site/cgi-bin/multimon.cgi
You should get something similar to the screen shot shown below.
If you wish additional control over the colors, type faces, and sizes of the multimon output, you may simply
edit the apcupsd.css file to specify the styles you prefer.
Using the CGI Programs on Windows
The CGI programs compiled for Windows are included in the Windows package starting with
apcupsd-3.14.7.
The CGI programs included with the Windows package are intended to be run on Windows. If your web
server is running on Linux or another operating system, you will need to obtain binary packages for that
platform (or build them from source) instead. The windows build of the CGI programs has been tested with
the Apache web server for Win32. They should also work with MS Internet Information Server (IIS).
To use the programs, copy the contents of the cgi/ directory from your apcupsd installation directory to
the cgi-bin/ directory of your web server. Consult your web server's documentation for how to enable
CGI programs to be executed. Sometimes special security settings are required.
Configure the hosts.conf file as described above. The programs expect to find the hosts.conf file and
the apcupsd.css file in the directory \apcupsd\etc\apcupsd on the same drive letter as the web
server's cgi-bin directory. If you installed apcupsd into C:\apcupsd (the default) and your web
server's cgi-bin/ directory is also located on the C: drive, no further changes are necessary. If you
installed apcupsd into a different directory or your web server cgi-bin is on another drive, you will need
Page view 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 114 115

Comments to this Manuals

No comments