similar to: Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)

Displaying 20 results from an estimated 1000 matches similar to: "Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)"

2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
Dan Grostick via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes: > When Apache starts is complains about not finding the fully qualified domain name. That seems normal > In the past, upsstats.cgi would just load. I didn?t have to do any Apache2 configuration. I don?t know what has changed. in general this does need configuration. read the apache config file. read the
2023 Jun 14
1
Accessing: upsstats.cgi Error: no hosts to monitor (check hosts.conf)
Not fully true about example configs in docs: man pages for CGI bits have some :) https://github.com/networkupstools/nut/blob/master/docs/man/upsset.conf.txt https://github.com/networkupstools/nut/blob/master/docs/man/upsstats.cgi.txt https://github.com/networkupstools/nut/blob/master/docs/man/hosts.conf.txt etc. Other than that, check permissions - e.g. OTOH if Apache user may read your
2013 Feb 01
1
Question for Dev's on NUT's upsstats.cgi
Hey guys, New user to NUT and was playing with the upsstats.cgi. On my website, I have everything going through a wrapper script that frames the pages. So my web files are actually truncated since the wrapper installs all my headers for me. When using the upsstats.cgi, it works fine embedding it into my pages and then editing the .html template EXCEPT, I can't get rid of: Content-type:
2009 May 28
1
NUT upsstats.cgi problem
I seem to have NUT all working with my R3000XR, except for the CGIs. The webserver's all properly configured and upsstats.cgi *runs*, but doesn't yield any useful output - no values are displayed, every value is replaced by [error: Invalid argument]. Apache is not logging any resulting errors, and there doesn't seem to be a lot of useful documentation on the CGIs to troubleshoot
2023 Nov 29
1
NUT 'upsstats' Battery Meter Question
Hello, I am using Nut 2.8.0 (2.8.0-7 packages) Debian 'Bookworm' in it's Devuan form 'Daedalus'. When I look at my Eaton (ex-MGE Powerware) E5115 UPS boxes in NUT 'upsstats" I am confused by the battery readings. Under the 'System' column I can click on the link and obtain a GUI with a few meters. The NUT 'upsstats' battery voltage meter for these
2023 Nov 30
1
NUT 'upsstats' Battery Meter Question
Hello Jeff, `upsstats` by itself only relays and renders the information provided by a NUT data server (upsd) and the NUT driver for the device. So you can revise the specific reported values with e.g. `upsc` command-line client to be sure. What I think happens here is that the driver uses a `battery.voltage.low/nominal/high` group of readings which does not match the hardware circumstances
2016 Aug 12
1
CGI: multiple web pages
Hi, I'm using the CGI program upsstats.cgi to view the status of UPS's on a web browser. I'd want to do something like that: /var/www/nut-cgi-bin-group-A/upsstats.cgi /var/www/nut-cgi-bin-group-B/upsstats.cgi /var/www/nut-cgi-bin-group-C/upsstats.cgi In that way using .htaccess I allow only certains IPs access to UPS from group A. How could I do that? Thanks in advance" --
2009 Feb 05
2
Adding a 'refresh' value to the upsstats web page
I'd like to have the UPS status web page automatically refreshed. I've found a reference to using @REFRESH@ in the upsstats.html page, but as far as I can tell in looking at the code, somewhere I need to provide a value to the refreshdelay variable, and I see no way to do that other than changing the source code. I'm using nut 2.2.
2006 Feb 06
1
upsimage/upsstats: 3phase support
The attached patch is a first stab at adding 3phase support to upsstats/upsimage. I got a little carried away, so bare with me. This patch adds 3phase awareness to upsstats/upsimage and the template files, and in additional to the obvious 3phase variables: - upsstats: * Adds IF/ELSE-awareness, and since the parser logic is rather limited this means that we now have IF, ELSE IF etc since all
2008 Jul 24
2
Nut-cgi error
Hello all, I have succefully configure a trust 1200v ups with nut-2.2.2 on an ubuntu 6.06 LTS by follow this instructions : http://www.networkupstools.org/doc/2.2.0/INSTALL.html I have the nut-cgi 2.0.3-4 from the ubuntu repos installed Now, I have problems to configure the nut-cgi in my web browser and I have this when i tried to http://localhost/cgi-bin/nut/upsstats.cgi. Error: can't
2013 Dec 14
2
cgi graphs text unreadable (black-on-black)
Guys, This is probably known, but since I working on nut tonight, I thought I would make sure. This is with the latest built from git. The cgi-bin script that shows the graph of upsstats has text that is unreadable. The text is black and the background is black. Here is a screenshot: http://www.3111skyline.com/dl/bugs/nut/cgi-black-text.jpg Here is the same page with the text selected with
2013 Jul 31
2
nut package with Riello UPS support
I'll test it. I'm a bit confused with cgi-bin. I have made a lot of hosts.conf copies and didn't understand where does upsstats trying to find hosts.conf # ps -aux | grep ups _ups 13934 0.0 0.0 484 920 ?? Ss 5:41PM 0:01.53 /usr/local/bin/riello_ser -a senpro _ups 9171 0.0 0.1 532 1168 ?? Ss 5:41PM 0:00.13 /usr/local/sbin/upsd _ups 16906 0.0 0.1
2009 Jul 09
1
Premature end of script headers: upsimage.cgi
hi- i'm using version 2.4.1, courtesy of debian testing, and noticed that in the web interface, the image for the battery voltage bar graph wasn't displaying. the other images (change, input, output, load) seem to be fine. the browser reports "500 internal server error", and apache reports "Premature end of script headers: upsimage.cgi, referer:
2013 Dec 14
0
cgi graphs text unreadable (black-on-black)
On Dec 14, 2013, at 5:13 AM, David C. Rankin wrote: > This is probably known, but since I working on nut tonight, I thought I would > make sure. This is with the latest built from git. The cgi-bin script that shows > the graph of upsstats has text that is unreadable. The text is black and the > background is black. Here is a screenshot: That's odd. I'll admit that I
2023 Jun 16
1
Dummy-ups cycles between online and onbatt every 5 minutes. (Nut 2.8.0)
Now that upsstats.cgi works, I've noticed that dummy-ups changes state every 5 minutes between OL and OB (probably when the 300 second timer expires). The UPS state stays online. Also "online" and "onbatt" are broadcast to the console probably via WALL. (The state changes don't seem to be form the ups as upsshed-cmd doesn't run). Upssched-cmd does run when the UPS
2008 Mar 04
1
battery.temperature vs ups.temperature
The (2.2.1) upshid-ups driver reports battery.temperature rather than ups.temperature. Here's a quick patch to have it show up in the status page... --- clients/upsstats.c.DIST 2008-03-04 09:15:40.000000000 +0000 +++ clients/upsstats.c 2008-03-04 09:16:20.000000000 +0000 @@ -787,6 +787,11 @@ return 1; } + if (!strcmp(cmd, "BATTTEMP")) { +
2014 Feb 18
1
User defined variables in upsstats.html
Hello Is there any way to set and consume user defined variables in upsstats.html I would like to set lower thresholds for temperature than are set in the UPSes for my web page but I cannot figure out how to pass a value that is not a variable into IFBETWEEN. Is there a way to say: @IFBETWEEN 15 25 ambient.temperature@ <td BGCOLOR="#00FF00"> @ELSE@ <td
2014 Apr 15
3
CyberPower CP1500PFCLCD and NUT upsset.cgi
Since there is apparently no immediate solution to upsstats.cgi not reading the output voltage correctly, I have moved on to trying to use upsset.cgi. To recap the UPS is a CyberPower CyberPower CP1500PFCLCD UPS running on a headless server running Slackware 14.1 with the 3.10.7 kernel. The version of NUT is 2.71 and I am using usbhid-ups for communication with the UPS The problem is that when
2006 Jun 07
1
RPM spec file
Hi, To to build an RPM from the nut 2.0.3 source I've corrected the old nut.spec.in file. Please find a copy of the slightly updated spec file attached. The changes are documented at the bottom of the spec file. Regards, Will -------------- next part -------------- # don't know how different I can do this %define majorver 2.0 %define version 2.0.3 %define relver 1 %define nutuser
2014 Aug 14
2
NUT proxy?
Hi, I want to use nut-cgi from a centralized machine. There are two firewalls which run upsmon. upsmon connected to the real upsd which run two machines behind the firewall. So upsmon is using LAN for communicating to upsd. First problem: I can't connect to upsmon with upsstats.cgi because upsmon not listen on TCP port. Second problem: How can I check more upsd with upsmon? All upsd are