Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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  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 current  battery
     charge, utility voltage, and UPS load where available.

     The  images  are in PNG format, and are created by linking to Boutell's ex-
     cellent gd library.

     For details about configuring some popular web servers to run NUT CGI  pro-
     grams, please see the upsset.conf(5) page.

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  autho-
     rized", check that file first.

FILES
     hosts.conf(5)

SEE ALSO
     upsd(8), upsstats.cgi(8)

   Internet resources:
     *	 The NUT (Network UPS Tools) home page: https://www.networkupstools.org/

     *	 The gd home page: http://libgd.bitbucket.org

Network UPS Tools 2.8.5.	   08/04/2026			 UPSIMAGE.CGI(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=upsimage.cgi&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help