04-18-2010
You will have to write some glue-logic yourself. Use the CGI-interface of your web server (according to
Barry Rosenberg Korn Shell is a phantastic tool for that) and write some wrapper script(s) to steer nmon, resp. redirect its output and HTML-ize it.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I built my website based on Dreamweaver, on Windows platform. My server uses Unix, and the page doesn't look too good. Is there any way to solve this problem without too much of a headache? (1 Reply)
Discussion started by: PCL
1 Replies
2. UNIX for Dummies Questions & Answers
Hey im new to unix!
I am tryin to create a web page in unix and have done it all but when i try and load it it says permission denied!?>
i have chmod a+rx for folder and file to make sure but still permissions wont let me?!
any ideas can anyone do a quick run through of how to make a web page... (4 Replies)
Discussion started by: shashora
4 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page.
Thanks
Imtiaz (3 Replies)
Discussion started by: Imtiaz
3 Replies
4. UNIX for Dummies Questions & Answers
hey uhh this is my first post and i was wondering
how do i make a web page for like a small business or something
anything will help
thanks (3 Replies)
Discussion started by: Neil Peart
3 Replies
5. UNIX for Dummies Questions & Answers
I'm 13 years of age and I am into computers. I am trying to learn how to make a webpage.
I could use the help and I would greatly appriciate it. (1 Reply)
Discussion started by: lydia98
1 Replies
6. Programming
Hello,
I'm a total newbie to HTTP commands, so I'm not sure how to do this. What I'd like is to write a C program to fetch the contents of a html page of a given address.
Could someone help with this?
Thanks in advance! (4 Replies)
Discussion started by: rayne
4 Replies
7. Shell Programming and Scripting
Hi all,
I am having an XML file.
And as per requirement I need to map fields of this file with various field of web page.
So how can I use wput command into it ?
Regards,
gander_ss (3 Replies)
Discussion started by: gander_ss
3 Replies
8. UNIX Desktop Questions & Answers
Is there a way we can get a web page through CLI on a unix machine? Please help! (3 Replies)
Discussion started by: Pouchie1
3 Replies
9. Shell Programming and Scripting
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a project for school using wget and egrep to locate pattern locations on a web page.
One of the things we have to do is handle an "access denied" exception.
Here is the problem, I can not think of/find any web pages that give me an access denied error to play with, can anyone suggest... (1 Reply)
Discussion started by: njmiano
1 Replies
LEARN ABOUT PHP
upsstats.cgi
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)