Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

upsimage.cgi(8) [redhat man page]

upsimage.cgi(8) 					      Network UPS Tools (NUT)						   upsimage.cgi(8)

NAME
upsimage.cgi - Image-generating helper for upsstats.cgi SYNOPSIS
upsimage.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 unau- thorized access or spew a PNG at you. DESCRIPTION
upsimage.cgi generates the graphical bars that make up the right side of the page generated by upsstats.cgi(8). These represent the cur- rent battery charge, utility voltage, and UPS load where available. The images are in PNG format, and are created by linking to Boutell's excellent gd library. ACCESS CONTROL
upsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). If it complains about "Access to that host is not authorized", check that file first. FILES
hosts.conf(5) SEE ALSO
upsstats.cgi(8) Internet resources: The gd home page: http://www.boutell.com/gd/ The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/ NUT mailing list archives and information: http://lists.exploits.org/ Wed Oct 16 2002 upsimage.cgi(8)

Check Out this Related Man Page

UPSIMAGE.CGI(8) 						    NUT Manual							   UPSIMAGE.CGI(8)

NAME
upsimage.cgi - Image-generating helper for upsstats.cgi SYNOPSIS
upsimage.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 PNG at you. DESCRIPTION
upsimage.cgi generates the graphical bars that make up the right side of the page generated by upsstats.cgi(8). These represent the current battery charge, utility voltage, and UPS load where available. The images are in PNG format, and are created by linking to Boutell's excellent gd library. ACCESS CONTROL
upsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). If it complains about "Access to that host is not authorized", check that file first. FILES
hosts.conf(5) SEE ALSO
upsd(8), upsstats.cgi(8) Internet resources: The gd home page: http://www.boutell.com/gd/ The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/22/2012 UPSIMAGE.CGI(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/bin/data error

I am getting this email error now from a script (which I have not changed and has bee up for a while) Subject: Cron <aquarank@fish> /home/aquarank/www/cgi-bin/cron/rerank.cgi /bin/date: write error: File too large What file is too large? (9 Replies)
Discussion started by: AquaRank
9 Replies

2. News, Links, Events and Announcements

Happy Holidays and New Year!

To All UNIX Forum Members! Neo has sent you a flash greeting card. You may see it by clicking on the link below: http://www.afreegreetingcard.com/cgi-bin/magiccard.cgi?122920242420332 :) (5 Replies)
Discussion started by: Neo
5 Replies

3. Shell Programming and Scripting

Perls "Referance" question

ok im on chap19 (cgi programming) of learning perl 2nd edition. I am just not understanding how the referances to a class work. i understand the following example: @array1=qw( 1 2 3 4); $aref = \@array1; @array2=qw(5 6 7 8); $aref=\@array2; $# of $aref is now 1 print $aref; #... (2 Replies)
Discussion started by: Optimus_P
2 Replies

4. UNIX for Dummies Questions & Answers

How??

Hi, i have a server, and i would like to upload a .cgi file from my computer. How do i do this? Thanks (4 Replies)
Discussion started by: turbohacker
4 Replies

5. UNIX for Dummies Questions & Answers

Running cgi

I am learning about cgi and having lots of trouble. If I am on a server cs-srv2.(schoolname).edu and I want to run cgi script what would I need to do? By the way, I see $ on the command line when my server opens , if that makes a difference. I created a cgi-bin directory and put it in there. The... (3 Replies)
Discussion started by: CSGUY
3 Replies

6. Linux

nagios cgi and apache

I'm trying to set up a nagios server. I have no problem accessing the home page of my nagios server, but can not get into any cgi page. I've checked the rights, and checked the .htacces file in the /usr/lib/nagios/cgi directory I've checked all conf files for apache, but i unvariably get:... (2 Replies)
Discussion started by: penguin-friend
2 Replies

7. Shell Programming and Scripting

stuck in perl cgi to upload a file to server

hi, i m working on a perl cgi script which uploads a file to the server. i m stuck. i hav written the errors. plz help. Sachin Kaw ______________________________________________________________________ #!/usr/bin/perl -w use CGI; use CGI qw(:standard); use strict; use POSIX... (4 Replies)
Discussion started by: sachin_kaw
4 Replies

8. Shell Programming and Scripting

finding the web page on server

Wish you all a very happy new year. I have a web url "http://marabou.mis.amat.com/cgi-bin/iman?IMAN_server_report=full" where marabou.mis.amat.com is my server name. the page content is below. ********************************************************* TcEng Web server report Thu Jan 4... (4 Replies)
Discussion started by: Krrishv
4 Replies

9. Programming

Programming Forum - Check it out!

To anyone who is really into programming, and not so much just unix/linux, you may want to check out the following site: http://www.cprogramming.com/cgi-bin/cboard/index.php It is a new forum with the same format as this one. It actually nearly looks the same. (6 Replies)
Discussion started by: ober5861
6 Replies

10. Solaris

executing cgi programs in solaris(B89) needed urgent help,pls!

Hi all, I am trying to execute cgi scripts on solaris, but everytime i get a internal server error... The syntax of my .cgi script is correct as ive checked.. Steps i followed 1.started apache 2.The UNIX and Linux Forums - Learn UNIX and Linux from Experts (in opera) 3.places my cgi scripts... (7 Replies)
Discussion started by: wrapster
7 Replies

11. Web Development

Need help with cgi and so on

Hello all, i`m new here and new in programming with cgi. But i need it for my running project. I`ve googled half a week with no success. All i need is to run an .sh-file via cgi. My file is stored in /home/bots/ but if i try #!/bin/sh echo 'Content-type: text/html' echo echo... (5 Replies)
Discussion started by: cryp0r
5 Replies

12. Web Development

Apache, cgi script run twice when ssl, once when not ssl

I have interesting problem. https:/host/some/x.cgi - this script has run twice when I call this url But http:/host/some/x.cgi work fine, only once. Output is text/plain. If I change output format to the Content-type text/html, then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies

13. Web Development

cgi script and external UNIX commands (like swadm)

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)
Discussion started by: jofinjoseph
9 Replies

14. Shell Programming and Scripting

Not able to copy the file in perl cgi script

Hello experts, I am facing an very typical problem and hope the issue can be solved. I have a page download.cgi in /cgi-bin folder. use CGI; use CGI::Carp qw ( fatalsToBrowser ); use File::Copy copy("C:\\Program Files\\Apache Software... (8 Replies)
Discussion started by: scriptscript
8 Replies

15. Shell Programming and Scripting

Help with copying from one drive to another with cgi & ksh script

Hi I was hoping some one could help me with a problem I have with a .cgi script I am running in the korn shell. I have created a web form that user fill out to gather information that I use a .cgi and sed script to translate into a xml file which is further processed by another program. All is... (6 Replies)
Discussion started by: Paul Walker
6 Replies