SGI Techpubs Library

Freeware (IRIX)  »  Man Pages
find in page



       upsstats.cgi - Web-based	UPS status viewer




       As  a CGI program, this should be invoked through your web
       server.	If you run it from  the	 command  line,	 it  will
       either  complain	about unauthorized access or spew a bunch
       of HTML at you.


       upsstats.cgi uses template files	to build web  pages  con-
       taining	status	information  from  UPS	hardware.  It can
       repeat sections of those	template files to monitor several
       UPSes simultaneously, or	focus on a single UPS.

       These  templates	 can  also  include  references	to upsim-
       age.cgi(8) for graphical	displays of battery  charge  lev-
       els, voltage readings, and the UPS load.


       upsstats	 will only talk	to upsd(8) servers that	have been
       defined in  your	 hosts.conf(5).	  If  it  complains  that
       "Access	to  that host is not authorized", check	that file


       The web page that is displayed is actually a template con-
       taining	commands to upsstats which are replaced	by status
       information.  The default file used for	the  overview  is

       When  monitoring	 a  single  UPS,  the  file  displayed is

       The format of these files,  including  the  possible  com-
       mands, is documented in upsstats.html(5).


       hosts.conf(5) upsstats.html(5)



   Internet resources:
       The     NUT     (Network	   UPS	  Tools)    home    page:

       NUT    mailing	 list	 archives    and     information:

			 Mon Sep  2 2002	  upsstats.cgi(8)

home/search | what's new | help