.
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]>
Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.nut2.6.5_1 pkg 2.0.1Services: NUTChange/status_nut.php/usr/local/pkg/nut.incnutnut.shupsmonUPS monitoring daemonNUT Status/status_nut.phpNUT Settings/pkg_edit.php?xml=nut.xml&id=0/usr/local/pkg/0755https://packages.pfsense.org/packages/config/nut/nut.inc/usr/local/www/0755https://packages.pfsense.org/packages/config/nut/status_nut.phpenabledGeneral SettingslisttopicUPS MonitoringmonitorselectPower Down Instead of Haltpowerdowncheckboxups.conf optionscustom_upsconfWrite there any custom options for ups.conf. All options must be separated by semi-colons (;).textarea655upsd.conf optionscustom_upsdconfWrite there any custom options for upsd.conf. All options must be separated by semi-colons (;).textarea655upsd.users optionscustom_upsdusersWrite there any custom options for upsd.users. All options must be separated by semi-colons (;).textarea655upsmon.conf optionscustom_upsmonconfWrite there any custom options for upsmon.conf. All options must be separated by semi-colons (;).textarea655Remote Access Settings - Used for Local and SNMP Types to allow accesslisttopicRemote Access Address<strong>NOTE: Previous versions of NUT supported internal ACLs, these no longer work. The new default is to bind to localhost ONLY - you should add NAT rules for the NUT port (3493) to allow remote access. This field no longer has any effect, but was left intact for reference.</strong>allowaddrinputRemote Access UserallowuserinputRemote Acces PasswordallowpasspasswordLocal UPS Settingslisttopic<strong>Local UPS Name</strong>nameinput<strong>Local UPS Model</strong>driverIf generic or cable specified in parenthesis you need
to select the appropriate option below.select<strong>Local UPS Port</strong>portselectLocal UPS Generic TypeupstypeselectLocal UPS Cable TypecableselectRemote SNMP UPS Settingslisttopic<strong>SNMP UPS Name</strong>snmpnameinput<strong>SNMP UPS Address</strong> <br>(ex: 192.168.1.10)snmpaddrinputSNMP UPS Community<br>(Def: public)snmpcommunityinputSNMP UPS Version<br>(Def: v2c)snmpversionselectSNMP UPS MIB<br>(Def: IETF)snmpmibselectSNMP UPS Polling Freq<br>(Def: 30)snmpfreqinputDisable transfer OIDs<br>(use on APCC Symmetras)snmpdisabletransfercheckboxRemote NUT UPS Settingslisttopic<strong>Remote NUT UPS Name</strong>remotenameinput<strong>Remote NUT UPS Address</strong> <br>(ex: 192.168.1.10)remoteaddrinput<strong>Remote NUT UPS User</strong>remoteuserinput<strong>Remote NUT UPS Password</strong>remotepasspassword
before_form_nut($pkg);
validate_form_nut($_POST, $input_errors);
sync_package_nut();
deinstall_package_nut();