On Thu, Jun 4, 2009 at 9:21 AM, Brother Railgun of Reason <[email protected]> wrote: > On Wed, Jun 03, 2009 at 09:27:10PM -0400, Charles Lepple wrote: >> On Wed, May 27, 2009 at 9:58 PM, Brother Railgun of Reason >> <[email protected]> wrote: >> > 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 with. >> >> Are you still seeing this issue? >> >> If you can use 'upsc' to query the UPS from your webserver, then it >> might be a configuration issue. In particular, you will be interested >> in the man page for hosts.conf. > > Oh, I'm almost certain it's a configuration issue. The very brief > hosts.conf man page (which contains no information not found in > hosts.conf.sample) only documents one available directive, which in my > case is as follows: > > MONITOR toka...@localhost "HP R3000 XR (Server rack)" > > upsc does indeed work. upsstats.cgi doesn't. upsstats.cgi(8) isn't > really useful either.
Odd - upsc uses the same library as upsstats.cgi, so I would expect the same error from both. What happens if you run upsstats.cgi from the command line? -- - Charles Lepple _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

