UPSSET.CONF(5) >>>>>>> NUT UPSSET.CONF(5)
>>> (NAME)
upsset.conf - >>>>>>>> upsset.cgi >> Network UPS
Tools > >>>>>>> >>>>>
>>>>>>>>>> >>>>>> >> >>>>
>>>>>>>>>> CGI >> NUT
>>>>>>> (DESCRIPTION)
>>> >>>> >>>> >> >>>>> >>>>
-- >> >>> >>>>> >>>>>> >>
upsset.cgi(8) >> >>>>>> >>>> >>
>>>>> CGI >>>>> >>> >>> >>>.
>>> >>>>>> >> >>>>> >> >>>
>>>> >>>>>>>> >>>>> >>>>
>>>> >>>>>> >>.
>>>>
>>> NUT >> >>>>>>> >>>>>>
>>>> >>>>>> >>>>>>>>>
>>>>>> >>>>>>>> --with-cgi-uri >>
>> >>> >>>>> >>>>>. >>>
>>>>> >>>>>> >>>>>>>
>>>> >>>>>>>> POSIX >>> /cgi-bin/nut
> >>>> >>>>>>>> >>>>>>
>>> /cgi-nut >>>> >>>>> >>> >>>
>> >>>>> >>>>> >> >>>>>
>>>>>>>> >>>> >>
>>>>>>>>>>> >>>>> >> >>
>>>>>>> >>>>>>> >>>>>>>
>>>. >>> >> >>>>>>> >>>
>>> >>>> >>> >>>>>
>>>>>>>>> >>>> >>>>>
>>>> html/header.html >> >>>>> >>>>
>> >>>>>>>> a href >>>>> >>
>>>>>>>>>> CGI >> >> >>>>
>>> >> >>> >>>>>> (>>>
>>>>> target=mainFrame) >>> >>>>
>>>>> >>>>.
>>>> >>> (IMPORTANT NOTES)
o >>>>>>> >>> >>>> >>>>
>>>>> ASCII >>>> (>>>>>
>>>>>>>> >> >> >>> >>>>>>
>>>>>> >>>>> >> >>>>
>>>>> >>>>>> >>>>>
>>>>>>>).
>>>>>>> >>>>>> (SECURITY REQUIREMENTS)
upsset.cgi(8) >> >>> >>>>> >>>>>>
>> >>>>>>>>> >>> >>>>>> >
>>>>>>> >> >>>>>> >>>>. >>>
>>>>>>>> >> >>>
>>>>>>>>>> (rate limiting) >>>>
>>>>>> >>> >> >>>>>> >> >>
>> >>>>>>> >>>> >>>>>>.
>>>>> >>>>>>>>>> CGI >>>>
>>>.
>>>>>>>>>>>>> >>>>>>>>
>>>> >> >>>> >>>> >>> >>
upsset.cgi >>>>> >>>>>>>>
>>>>>>>> >>>>>> >>>>>
>>>>>> HTTPS >> >>> >>>>>> >>
>>>>>>>>>> >>>>. >>>>>>
>>>> >>> >>>>>>> >>>>>>
>>> >> >>>>> >>>> >>>>> >>
>>>>>> >> (>>>> >>> >>>>>>
> >>>>>>> >>>>> >> LDAP> >>
>>>>> >>>>>>> > >>>>)
>>>>>>> >>>>> >>
>>>>>>>>>>>>> >>>>>>
>>>>> >> >>>>>>> >>>>>>
>>>>>>>>> (<<>>>>> >> >>>>
>>>>>>>) >>>>>>>>>> >>>>>>
>> >>>>>> >> >>>>>>>>>> CGI
>>>>> >> NUT >> >>>>>> >>>
>>>>> >>>>>. >>>>>>> >>>>>
>>> >>> >> >>>>>>>>>>
>>>>>> >> >>>>>>> >>>
>>>>> >>>> > >>>> >> >>>>>
>>> >>> >>>.
>> >>>> >>>>> >>>>>>>
>>>>>>>>>> >>>>>>>> >>
>>>>>> >>>>> NUT >>>> upsd(8)
>>>>>> >>>> >>>>> >>>>
>>>> >>>>>>>>>>>>>> LISTEN >>
>>>> upsd.conf(5) >>>> tcp-wrappers (>>
>>>> >> >>>>> >>>> >>>>>
>>>> NUT) > >> >>>>>> >>>>
>>>>>>> >>>>> >>> >>>> >>
>>>>>>>>>>>>> >>>>>>
>>>>>>.
upsset >>> >>>>>> >> >>> >>>>
>>>>>>> >>>>>>>> upsd >> >>
>>>>>>> >>>>>> >> >>
>>>>>> >> >>>>> >>>>>
>>>>> >>>. upsd >>>>>>>> >>
>>> >>>>> >> >>>> >>>> >>>>
>> >>>>> >>>> >>> >>>. >>
>>>> >>>> >>> >> >>>> >> >>
>>>> >>>>.
>>>>>> >> >>>>> (Apache Web Server)
>> >>>>>> >>>>>>>>> >>
>>>> .htaccess >>>>>>> >>>> >>
>>>>>>>>>>>>> >> >> httpd.conf
>>> >>>> >>>>. >> >>> >>>
.htaccess >>>> >>>>>>>>
>>>>>>>> >>>>>> >>>> >>>>
>> >>> >>>>> >>>:
deny from all
allow from your.network.addresses
>>>>>>>> >>>> AllowOverride Limit >>
>>>> >>> >>>> >> >>>>
>>>>>>>> >>> >>>> >>> >>>
>>>>> >>>>.
>>>>>>>> >>>> >>>>> >> >>>
>>>>>>>> >>>> >>>>>>>>
>>>>> >>>:
ScriptAlias /upsstats.cgi /usr/share/nut/cgi/upsstats.cgi
ScriptAlias /upsset.cgi /usr/share/nut/cgi/upsset.cgi
Options +Includes +ExecCGI
AllowOverride Limit
Require local
Require ip aa.bb.cc.dd/nn
Microsoft IIS
>> >>>>>>>> NUT >>>> >>>>>>>
>>>>>> >>>>>>> >>>>>>>>
>>>>>>>>>> (IIS) >>>>>>>>
>>>>>>>> >>>>>> >> >>>>
>>> >>>>>> >>>> >>>>>>>
>>>>>>>>>> CGI >> NUT >>>>
>>>>>>> >>>> >>>>.
>>>>>
>>>>> >>>> >>>>>>>> NUT
>>>> >>>>>>> >>>
>>>>>>>> >>>> >>>>>>> >>
>>> >>>>> >>>> >>>>>>>>>
> pull request>> >>>> >>>>> >> >
>>>>>>>> >>>>> >>> >>>>
>>>>> >>>> >>>>>>> >>>>
>>>>>>>>.
>>> >> >>>>>>>>> >> >>>>
>>> >>>> >> >>>> >> >>>>>>
>>> >>> >>> >> >>> >>>>>>>
>> >>> >>>>>>>>> >>>> >>>>
>>> (relocatable) >>>>> >>>>>>>>
>>>>>>>> >>>>>>> (> >>
>>>>> >>>>) >> >>>>>>> >>
>> >>>>>>> >> >>>>>> >>>>>
>>>>> >>> >>> > <<>>>> >>>>
>>> >>>>>> >>> >>> >>
>>>>>>>> >>>>>>> >> >>>>
>>>>>>>> > >>>>>> >>>> >>
>>>>>>> NUT >> >>> >>>>> >>>>
>>>> >>>> >> >>>>>>>
>>>>>>>>>>>> >>>> >>>>>
>>>>>>>> POSIX >> >>>>
>>>>>>> >> >>>>>>> >>>
>>>>>> >>>>>>>.
>>>>>>>>>> >>>>>>>>>> >>>
>>> >> >>>>>>> >>>> Windows 10
>>>>> >>> >>>. >>>>>> >
>>>>>>>>> >>>>>>
>>>>>>>>> >> >>>>
>>>>>>>> >>> >>>>>>>>>>
>>>> >>> >>>>>> >>>>>. >>>>
>>>>>> >>>>> >> >>>>>>
>>>>>
https://learn.microsoft.com/en-us/iis/configuration/system.webserver/cgi
>> >>>>>>>>>> >>>>>
https://dotnetblog.asphostportal.com/5-steps-to-run-cgi-program-on-your-iis/
>>>>>> >>>>.
>> >>>>>>> Control Panel >> >>>
>>>> > >> >>>> <> > >>> >> >>> <> >>>>>. >> >>>>> >>>>>>
>>>> > >> >>> <>
>>>>>> >>>>>> >> >>>>>
>>>>> >> >>>>>> >>>>>>>
>>>>>>>> (>>>>> >>>>
>>>>>>>>> >>>> >>>>>>>>
>>>> FTP) >>>> >>>. >>> >> >>>>
<>
>>>> > <> > <> >>
>>>>>> >>>>. >>>> >>> >>>>
>>> >>> >>>>> >>>> >>
>>>>>>>>>> >>>> >>>>>
>>>>.
>>>>
>>> >>>>>>>> >> >>>>>
>>>>> >>>> (>> >> >>>>>
>>>>>>> IIS Manager >> >>>>
>>>>>>>>)> >>>> >>>>>>> IIS
Manager >> >>>>>> >>> >>>>> >>
>>> >>> >>>> >>>>
>>>>>>>> >> >>>> >>>>>>
>>>>> >>>> >>>>>>>>.
>>>>>>> IIS Manager >> >>> >>>> >
>>>>> >>>> >> >>> >>>> >>>>
>>>>>>>>> <> > <>
>>>>.
>> >>>>>>>> IIS> >>>>>>>>>
Default Web Site >> >>>>>> >>>> >> >>
>>>>>>> >>>> >>>>> >>>>
(>>>> >>> >>> >>>>>> >> DNS >>
>>>>>> >> >>>> >>>> >>>>
%SystemRoot%\system32\drivers\etc\hosts >>>>>>
>>>)> > >>>>> >>>>>>> >>
>>> >>> >>> NUT (>>>>>>> >> >>
>>>> >>>> >>>>>>>>>>> etc >
cgi-bin >>>) >>>>> >>>>>>.
>>>>
>>>> >>>>>>> >>>> >>
>>>>>>>>>>> cgi-bin > html >> >>
>> >>>> >>>>>>> >>> >>>>
(>>>> >>>> >>> >>>>
c:\inetpub\wwwroot >> >>>>> >>>>>>>
>>>>>>>>>>)> > >>> >>
>>>>> etc >>>>>>> >> >>
>>>>>>>> >>>>>>>> >
>>>>>> >>>> >>>>>>>>>> CGI
>> >>>>> >> >> >>>> >>>>>
>>>>> NUT_CONFPATH >> >> >>>>>>
>> >>>> >>>>>> >> >>
>>>>> >> <<>>>>>>>
>>>>>>>>>> >>>>>> >>>>
>>>>> >>>. >>>>>>>>>
>>>>>>>>> >>>>>>> >> >>
>>>>> >>>> > <<>>>>>>>>
>>>>>>> (virtual directories) >> IIS >>
>>>>> >>>> >> >>>>> >> cgi-bin
> html >> >>> >>> NUT >>>>>
>>>> >>> -- > >> >>>>>
>>>>> >> >>>> >>>>> >>
>>>>> >>>>.
>> >> >>>>> >>>>>>> >> >>
>> >>>> >>>>> >>>>>> >>>>>
>> >> >> >>> <> >>>>>>
>>>> > >>> >>>>> <> >>>>> >>>> >>>>. >>
>>>> >> <> >>>>>>>
>>>> >>>>>>>>>> upsimage.cgi.exe>
upsset.cgi.exe > upsstats.cgi.exe >> (>> >> >
>>>) >>>> >>>>> >>>> >>
>>>>> >>> >>>>>> <>.
>>> <> >> >>>>
>>>>>>>> cgi-bin >>>>>>> >>>>
>> >>>> <> >> <> > <> >>>> (>>> >>>>> >>>>>
>> >>>>>> >>>>> <>
>> >>>> >>>> > >> >>>>
<> >> >>>>> >>>>>).
>>> >>>>>> (>>>>>) >>
>>>>>>>>>> CGI >> NUT >>>>>>
>>>>> >>>> >>>> >>>
>>>>>>> >> >>>>> <> >>>
>>>> > Behavior/Timeout >> >> >>>
>>>>> >> >>> >>> >>>>>
>>>>> >>>> (> >>>>>>> >> Apply
>>>>)> >> >> >>>> >>>>
>>>>>> >>>>> >>
>>>>>>>>>> CGI >>>>> >> NUT> >>
>> >>>>> >>>> >>>> >>>>> >
>>>>>> >> >>>>>> >>>> >>>
>> >>>. >>>>> >>>>>>> IIS
>>>>> >> >> >>>>> >>>.
o >> >>> >>>> >>>> >>>
>>>>>>> >>>> >>>> >>>> >>
>>> >> >>>>> >>>> >>>>>
(timeouts) >>>> upscli_tryconnect() >> NUT
(>>>>>> >>>>>>> >> >>>>>
>>>> >>>>>>) >> >>>
>>>>>>> >>>>> >>>>
>>>>>> >>>>>>>> >>>
>>>>> >> >>>>>>>>> >>>>>
NUT >> >>> >>>>>>>>>>. >>
>>>> >> >>>> >> >>> >>>>>
>>>>>>>>>>> CGI >>>>> >> upsset
>> upsimage >>>> >>> >> >>>>>
>>>> >>>>> >>>>> >>>> upsstats
>>>> >> >>>>>
>>>>>>>>>>> >> >> hosts.conf(5)
>> MONITOR >>>>> >>>>>>>>>
>>>> >>> >>>>> >>>>>>>
>>>>>> >>>> >>>>> >>>>.
o >>> >>>>> >>>> >>> >>>>>
>> >>>> >>>>>>>>>>
>>>>>>>> >> <<>>>>>>>>
>>>>> >>>>>>> >> >>>>>>>
>>>>>>>>> >> >>> >>>>>>
>>>>> >>>> >> >>> >>>>
>>>>>>> CGI >>>>> >> upsset(8)
>>>> >>>>>>>> >>>>>>
>>>>>>> >>>> >>>>>>
>>>>> NUT >>>> upsd(8) >> >>>>>>
> >>>>>> >>>>>>.
>> >>>>> >>>>>>>> NUT>
>>>>>>>> hosts.conf(5) > upsset.conf >> >>
>>> >>>> >>>>>>>>>>>
>>>>> > (>> >>>> >>>>> >> >>
>>>>> >>>>>>>) >>>
>>>>>>>> upsstats.html.sample >
upsstates-single.html.sample >> >>>> >>>>>
>>>> >> >>>>> .sample >> >>>>>>
>>>>>.
>> >>>>>> >> >>> >>>>>>>>
>>>>>>> >>>>>>>> >> >>>>>
http://localhost/html/ >>>>>> >>>>>>> >>
>>>> >> >> >>> NUT >
>>>>>>>>> >> >> >>>>> >>
>>>>> > >>>>>>>> >>>> >>
>>>>> >> >>> >>>>> >>>>
>>>>>>. >>> >>>> >>>>>> >>
>> >>> >>>>>>>>>>
>>>>>>>>> >>>>> >>>>>> >>
>>>>> >>>>: >>> >>>>> >>>>
>>>>>> >>>>> >>>> >>
>>>>>>>> upsstats.html > upsstats-single.html
>>>>>>> URI >>>>>> >>>> UPSSTATSPATH
> UPSIMAGEPATH >> >> >>>>> .exe >>>>>
>>>> >>>>>.
>>>>> >>>>>>>>>> CGI (Completing the CGI
setup)
>>> >>> >>>>> >>>>>>>
>>>>> >>>>> >>>>>> >>
>>>>> >>>> > >>> >>>>>> >>
>> >>> >>> >>> >>>>. >> >>
>>> >>> >>>>>>>>> >>>> >>
>>>>> >> >> >>>> >>>>>
>>>>>.
>> >>> >>>>> >>>> >>>>> >>>
>> >>>>> >>>>>>>> > >>>>>>
>>> >>>>>> (>> >> >>>>>>
>>>>!)> >>>>> >>>>>>>> -- >>>
>> >>>>>> >> >>>>>>>>>>>
>>>>> >> >>>>>>> NUT >> >>
>>>>> >>>>> >>>>> >>>>>>.
>>> >>>>> >> >>> >>>>>>>>>
>>>>>>>>> >> >>>>>> >>>> (>
>>> >> >>>>> >>>>>>> >>
>>>>> >> >>>>>>>>>>>
>>>>>> >>>>> >> >>>>>
>>>>>>>>)> >>>>>>>>>
>>>>>>>>>> >>> >> >> >>>
>>>> >>>>> >>>> >> >>>>>>
>>>>>> >>>>>> >> >>>>
>>>>>> >>> >>>:
I_HAVE_SECURED_MY_CGI_DIRECTORY
>>> >> >>>>>> >>>> >>>>>> >
>>>> >> >>>> >>>>>> >> >>>
>> upsd >>>> >>>>> >>> >>>>>
>>>>>.
>>>>>> >>>>>> (SEE ALSO)
upsset.cgi(8)
>>>>> >>>>>>>>:
>>>>> >>>>> NUT (Network UPS Tools):
https://www.networkupstools.org/historic/v2.8.5/
Network UPS Tools 2.8.5 06/21/2026 UPSSET.CONF(5)