$ upsc smart1000i@localhost [ данные есть ] $ /var/www/cgi-bin/upsstats.cgi 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> <title> Network UPS Tools upsstats 2.0.0 : UPS Status </title> </head> <body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"> <table BGCOLOR="#50A0A0" ALIGN="CENTER"> <tr><td> <table CELLPADDING="5"> <tr> <th COLSPAN="8" BGCOLOR="#60B0B0"> <font SIZE="+2">Network UPS Tools upsstats 2.0.0 </font> <br> Tue Jan 25 10:32:09 EET 2005 </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</th> <th COLSPAN="1">Output</th> <th COLSPAN="1">Load</th> <th COLSPAN="1">UPS<br>Temp</th> </tr> Segmentation fault
А что в /etc/nut/hosts.conf?
Кроме комментариев ничего.
Проявляется только в случае, когда в /etc/nut/hosts.conf не сконфигурировано ни одного монитора. Исправлено в nut-cgi-2.0.1-alt1