Re: Need usb troubleshoting tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 02 January 2010, g wrote:
>Gene Heskett wrote:
>> Thanks, I hadn't tried that exact strategy yet, duh...  However, nothing
>> that looks applicable seems to appear.
>
>in meantime of my reply post and getting back into f-12, i opened "yumex"
>and ran a filter of 'monitor' to see what was there. none of which stated
>specifically 'usb', but several stated 'i/o' and 'protocol'.
>[would be nice if yumex had a boolean search feature]
>
>> Little gotcha's like that need to be pointed out in the README's that go
>> with these programs.  It would have saved me a week.
>
>consider this when it comes to usb, if it is critical, it should be on it's
>own controller. then hopefully it will get priority it needs.
>
>you could also try 'nice', but i do not know how that would work.
>
>>> not 'locked the ups for its own use', but has more like *locked out*
>>> ups.
>>
>> In fairness, the error message did say that occasionally.
>
>ok.
>
>> AI just now found that executing upsstats..cgi from a shell is very
>> noisy, but the data from the ups does seem to be in this noise.  But I've
>> no clue how to get firefox to run it instead of downloading it.
>
>what do you mean by upsstats.cgi is very noisy?
>
>just for fun of it run "/var/www/apcupsd/upsstats.cgi|less" to see just
>exactly what is going on.

Attached.

>you do not run a '.cgi' from a shell. run "man 8 upsstats.cgi" to see what
>it is for.
>
>you should have a "/usr/share/man/man8/upsstats.cgi.8.gz", which is in
>'nut-cgi package'. no, i did not install 'nut', just looking at file list
>i pulled when i had 'yumex' open.
>
>also, see;  http://en.wikipedia.org/wiki/Common_Gateway_Interface
>
>
>iirc, with 'nut', you need to install both server and client to have it
> work correctly. therefore, you need to install all 'nut' packages, with
> exception of development package; "nut, nut-cgi, nut-client, nut-hal,
> nut-xml". [timbw]
>
>
>later.

All from tarballs since the rpms are too old to deal with this 2+ year old 
ups, with paths corrected well enough it now runs, except for a fail report 
from upsdrvctl when starting the init.d/ups script, which works, but reports 
a FAIL.  And it was configured with all optional pieces, built and installed.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

I Know A Joke!!
Content-type: text/html
Pragma: no-cache

<!-- upsstats template file -->

<!--
	This (upsstats.html) is the default template file which is used
	when upsstats.cgi is loaded with no arguments.

	It usually contains a FOREACHUPS block to iterate through every
	UPS in the hosts.conf.

	See upsstats.html(5) for more information on template files.
-->

<!-- change this to TEMPF if you don't like Celsius. -->





<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
	"http://www.w3.org/TR/REC-html40/loose.dtd";>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
Network UPS Tools upsstats
2.4.1
: UPS Status
</title>
<!-- link rel="stylesheet" type="text/css" href="nut.css" / -->
</head>
<body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B">

<table BGCOLOR="#50A0A0" ALIGN="CENTER">
<tr><td>

<table CELLPADDING="5">
<tr>
<th COLSPAN="10" BGCOLOR="#60B0B0">

<font SIZE="+2">Network UPS Tools upsstats
2.4.1
</font>

<br>
Sat Jan 02 16:47:16 EST 2010
</th>

</tr>

<tr BGCOLOR="#60B0B0">
<th COLSPAN="1">System</th>
<th COLSPAN="1">Model</th>
<th COLSPAN="1">Status</th>
<th COLSPAN="1">Battery</th>
<th COLSPAN="1">Input (VAC)</th>
<th COLSPAN="1">Output (VAC)</th>
<th COLSPAN="1">Load (%)</th>
<th COLSPAN="1">UPS<br>Temp</th>
<th COLSPAN="1">Battery<br>Runtime</th>
<th COLSPAN="1">Data<br>Tree</th>
</tr>



<tr ALIGN=CENTER>
<td BGCOLOR="#00FFFF">
<a href="upsstats.cgi?host=myups@localhost">Belkin Local UPS</a>
</td>

<td BGCOLOR="#00FFFF">
Belkin UPS
</td>

<td BGCOLOR="
#00FF00
">
ONLINE<br>
</td>

<td BGCOLOR="#00FF00">

100
%

</td>

<td BGCOLOR="



#00FF00

">




126.0

</td>

<td BGCOLOR="#00FF00">



125.6

</td>

<td BGCOLOR="#00FF00">



32
%

</td>

<td BGCOLOR="#00FF00">

</td>

<td BGCOLOR="#00FF00">

00:02:00

</td>

<td BGCOLOR="#00FF00">
<a href="upsstats.cgi?host=myups@localhost&amp;treemode">All data</a>
</td>
</tr>



</table>

</td></tr>
</table>

<hr /><div><small>
<a href="http://jigsaw.w3.org/css-validator/check/referer";><img style="float:right" src="http://jigsaw.w3.org/css-validator/images/vcss"; alt="Valid CSS!" height="31" width="88"/></a>
<a href="http://validator.w3.org/check?uri=referer";><img style="float:right"
src="http://www.w3.org/Icons/valid-html40";
alt="Valid HTML 4.0 Transitional" height="31" width="88"></a>
</small></div>

</body></html>
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux