UPSSTATS.CGI(8) NUT Manual UPSSTATS.CGI(8)NAME
upsstats.cgi - Web-based UPS status viewer
SYNOPSIS
upsstats.cgi
Note
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.
DESCRIPTION
upsstats.cgi uses template files to build web pages containing 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 upsimage.cgi(8) for graphical displays of battery charge levels, voltage readings, and the
UPS load.
ACCESS CONTROL
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 first.
TEMPLATES
The web page that is displayed is actually a template containing commands to upsstats which are replaced by status information. The default
file used for the overview is upsstats.html.
When monitoring a single UPS, the file displayed is upsstats-single.html.
The format of these files, including the possible commands, is documented in upsstats.html(5).
FILES hosts.conf(5), upsstats.html(5), upsstats-single.html
SEE ALSO upsimage.cgi(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/22/2012 UPSSTATS.CGI(8)
Check Out this Related Man Page
UPSSTATS.CGI(8) NUT Manual UPSSTATS.CGI(8)NAME
upsstats.cgi - Web-based UPS status viewer
SYNOPSIS
upsstats.cgi
Note
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.
DESCRIPTION
upsstats.cgi uses template files to build web pages containing 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 upsimage.cgi(8) for graphical displays of battery charge levels, voltage readings, and the
UPS load.
ACCESS CONTROL
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 first.
TEMPLATES
The web page that is displayed is actually a template containing commands to upsstats which are replaced by status information. The default
file used for the overview is upsstats.html.
When monitoring a single UPS, the file displayed is upsstats-single.html.
The format of these files, including the possible commands, is documented in upsstats.html(5).
FILES hosts.conf(5), upsstats.html(5), upsstats-single.html
SEE ALSO upsimage.cgi(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/22/2012 UPSSTATS.CGI(8)
AAAHHH!! I've made a perl program that you can run on a web browser. This program needs to be run everyday, and I don't want to have to run it everyday. The problem is when I try running the program from my terminal, all it does is print stuff to the terminal page (the program involves a lot of... (4 Replies)
Hi ,
I have written a csh script which will output file named " myoutput.html " displayed below. I am tried to ftp this html file into a local web server so that it can be displayed to public sharing this server and i would want to add a hyperlink to " XX " , " YY " , " ZZ ". Can this be done... (17 Replies)
Hi All,
I need a basic overview of connecting a HTML web page to Unix
I will give a brief of my exact requirement.
There will be a front end HTML page - a web page which will have certain buttons.
Each button will have certain functionality.
For eg: There is a button for Disk Usage. When the... (1 Reply)
Hi all,
I must create a web page but I have no idea (yet) of writing html or php, so right now I'm lost in a bunch of acronyms and languages, and I don't know which one should I start to learn... so please, could you give me a recommendation?
The visitor to my web page should select an... (2 Replies)
By launching two SQL scripts I get two html files report_1.html and report_2.html with different background and text colors (white/blue for the former and silver/black for the latter) but if I try to concat the two html by using the CAT function on UNIX Server where Oracle is installed (cat... (2 Replies)
Hi guys
I'm relativley new to Perl, and have not touched html before, im trying to write a cgi script that prints all images on a single html page from a given directory. Im using perl to gather stats, rrdtool to update and create graphs now i just need to print these graphs all onto 1 index.cgi... (3 Replies)
Need some idea of what I should charge, per hour or per project, for a 3-4 page site that I design & program (HTML, CSS, & PHP). No databases involved. (1 Reply)
Hi All,
I need to use my script via html web page, already webserv running in my unix box...
Please provide me the sample html files or any web site
Thanks (2 Replies)
Hello,
I need to monitor an html web page for ANY changes and should be able to know if it's modified or not (since last query). I do not need what modifications but just notification is enough.
This is a simple web page and I don't need to parse the links any further.
Is it possible to do... (10 Replies)
Hello,
Does anyone know of a way to list all files related to a single web page and then to download say 4 files at a time simultaneously until the entire web page has been downloaded successfully? I'm essentially trying to mimic a browser.
Thanks. (2 Replies)
Hi
I am trying to make a web program which is command line equivalent. i have done the coding in cgi program in perl and html for basic forms to take inputs. when i ran the program from web application i see permission denied messages. after analyzing i found apache is running as wwwrun which... (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The objective of this project is to learn how to configure the apache web server. The goal is to make cgi work... (4 Replies)
Hi everyone,
I want to kill process through the web, so I create html page with single bottom that run kill command in shell script with CGI.
Here is html code:
<td><form METHOD="GET" action="http://IP:port/cgi_bin/script.cgi" > <input type="submit" value= "Submit" > <INPUT name="q"... (7 Replies)