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 am currently doing a project to remove the dependency on a web server of dansguardian if anyone has any tips or points either on sections of code I need to modify or about how to build a very very simple web server. I would be very appreciative
Thanks.. (4 Replies)
Hello!
My web host has the public_html permission on my account set to 750.
1. Does this setting permit the world to use my submission forms
(contained within contact.html and purchase_order.html)?
2. The "0" entry looks like it blocks the public from conducting all activity
on my site.... (6 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 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)
I'm trying to upgrade a whole bunch of pages on my site to a new design.
I thought one way of doing it would be to enclose the content in special comment tags and then use some form of script to wrap the new html around it. Like this:
<!-- content start -->
<h1>Blah blah blah</h1>
yada yada... (9 Replies)
I would like to know the methods or concept of how localization as made in regards to Web pages. I mean generally web servers render pages in different language but the content are same. How the translation are made?
Thanks in advance (2 Replies)
is there any way to auto update html page.
I created html page entry.html, whenever i change in html script i need to refresh my page.
If not in html, can we do this in any other language and how? (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)
Hi,
I am trying to implement a server monitoring dashboard using cgi scripting. I am planning to run the necessary unix scripts from the web page using cgi. This method works fine for standard unix commands but I am unable to run some external unix commands (like swadm show_processes, swadm... (9 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)
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)