Changes

From SME Server
Jump to navigationJump to search
19 bytes removed ,  23:09, 25 February 2015
no edit summary
Line 404: Line 404:  
  signal-event reboot
 
  signal-event reboot
   −
=Configure Multimon etc Scripts=
+
=Configure Nut-cgi Monitor Scripts=
    
The nut-cgi rpm contains scripts that can be run via the webserver to monitor the UPS(s).
 
The nut-cgi rpm contains scripts that can be run via the webserver to monitor the UPS(s).
Line 411: Line 411:     
You have to enable the '''[[epel]]''' repositories.
 
You have to enable the '''[[epel]]''' repositories.
  yum install --enablerepo=epel nut-cgi-2.6.5-2.el6.x86_64.rpm
+
  yum install --enablerepo=epel nut-cgi  
    
Edit file /etc/ups/hosts.conf and add.
 
Edit file /etc/ups/hosts.conf and add.
Line 484: Line 484:  
         }   
 
         }   
 
       }
 
       }
       $OUT .= "Alias  /nut  /opt/nutcgi-bin\n";
+
       $OUT .= "Alias  /nut  /opt/nut-cgi-bin\n";
 
       $OUT .= "\n";
 
       $OUT .= "\n";
       $OUT .= "<Directory /opt/nutups>\n";
+
       $OUT .= "<Directory /opt/nut-cgi-bin>\n";
 
       $OUT .= "    DirectoryIndex upsstats.cgi\n";
 
       $OUT .= "    DirectoryIndex upsstats.cgi\n";
 
       $OUT .= "    Options +ExecCGI\n";
 
       $OUT .= "    Options +ExecCGI\n";
Line 515: Line 515:  
  sv t httpd-e-smith
 
  sv t httpd-e-smith
   −
===Usage of Multimon etc Scripts===
+
===Usage of Nut-cgi Scripts===
    
Now go to http://yourdomain.tld/nut to see the statistics and information for the UPS at localhost.
 
Now go to http://yourdomain.tld/nut to see the statistics and information for the UPS at localhost.
66

edits

Navigation menu