<?xml version="1.0" encoding="utf-8" ?> <packagegui> <title>Services: NUT</title> <name>nut</name> <version>2.0.5</version> <savetext>Change</savetext> <include_file>/usr/local/pkg/nut.inc</include_file> <aftersaveredirect>/status_nut.php</aftersaveredirect> <menu> <name>NUT</name> <tooltiptext>Set Network UPS Tools settings.</tooltiptext> <section>Services</section> <url>/status_nut.php</url> </menu> <additional_files_needed> <item>http://www.pfsense.com/packages/config/nut/nut.inc</item> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>http://www.pfsense.com/packages/config/nut/status_nut.php</item> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> </additional_files_needed> <service> <name>nut</name> <rcfile>nut.sh</rcfile> <executable>upsmon</executable> </service> <tabs> <tab> <text>NUT Status</text> <url>/status_nut.php</url> </tab> <tab> <text>NUT Settings</text> <url>/pkg_edit.php?xml=nut.xml&id=0</url> <active/> </tab> </tabs> <fields> <field> <fielddescr>UPS Monitoring</fielddescr> <fieldname>monitor</fieldname> <type>select</type> <required/> <options> <option> <name>Disabled</name> <value></value> </option> <option> <name>Local UPS</name> <value>local</value> </option> <option> <name>Remote UPS</name> <value>remote</value> </option> </options> </field> <field> <fielddescr><strong>Local UPS Name</strong></fielddescr> <fieldname>name</fieldname> <type>input</type> </field> <field> <fielddescr><strong>Local UPS Model</strong></fielddescr> <fieldname>driver</fieldname> <type>select</type> <description>If generic or cable specified in parenthesis you need to select the appropriate option below.</description> <options> <option> <name>APC Back-UPS (Generic)</name> <value>genericups00</value> </option> <option> <name>APC Back-UPS RS (Generic)</name> <value>genericups02</value> </option> <option> <name>APC Back-UPS Pro (Cable)</name> <value>apcsmart00</value> </option> <option> <name>APC Smart-UPS (Cable)</name> <value>apcsmart01</value> </option> <option> <name>APC Matrix-UPS</name> <value>apcsmart02</value> </option> <option> <name>APC Masterswitch (Generic)</name> <value>genericups01</value> </option> <option> <name>APC Back-UPS USB</name> <value>newhidups03</value> </option> <option> <name>APC Back-UPS LS USB</name> <value>newhidups00</value> </option> <option> <name>APC Back-UPS ES USB</name> <value>newhidups01</value> </option> <option> <name>APC Back-UPS Pro USB</name> <value>newhidups02</value> </option> <option> <name>APC Smart-UPS USB</name> <value>newhidups03</value> </option> <option> <name>Belkin Regulator Pro</name> <value>belkin00</value> </option> <option> <name>Belkin Universal UPS</name> <value>belkinunv00</value> </option> <option> <name>Belkin Universal UPS USB</name> <value>newhidups04</value> </option> <option> <name>Best Power Fortress</name> <value>bestups00</value> </option> <option> <name>Best Power Fortress Telecom</name> <value>bestups01</value> </option> <option> <name>Best Power Axxium Rackmount</name> <value>bestups02</value> </option> <option> <name>Best Power Patriot Pro</name> <value>bestups03</value> </option> <option> <name>Best Power Patriot (Generic/Cable)</name> <value>genericups03</value> </option> <option> <name>Best Power Micro-Ferrups</name> <value>bestuferrups00</value> </option> <option> <name>Best Power Fortress/Ferrups</name> <value>bestfcom00</value> </option> <option> <name>Cyber Power Systems 320AVR</name> <value>cyberpower00</value> </option> <option> <name>Cyber Power Systems 500AVR</name> <value>cyberpower01</value> </option> <option> <name>Cyber Power Systems 650AVR</name> <value>cyberpower02</value> </option> <option> <name>Cyber Power Systems 700AVR</name> <value>cyberpower03</value> </option> <option> <name>Cyber Power Systems 800AVR</name> <value>cyberpower04</value> </option> <option> <name>Cyber Power Systems 850AVR</name> <value>cyberpower05</value> </option> <option> <name>Cyber Power Systems 900AVR</name> <value>cyberpower06</value> </option> <option> <name>Cyber Power Systems 1250AVR</name> <value>cyberpower07</value> </option> <option> <name>Cyber Power Systems 1500AVR</name> <value>cyberpower08</value> </option> <option> <name>Inform GUARD Line Interactive</name> <value>powercom00</value> </option> <option> <name>Meta System HF Line</name> <value>metasys00</value> </option> <option> <name>Meta System HF Millennium</name> <value>metasys01</value> </option> <option> <name>Meta System HF TOP Line</name> <value>metasys02</value> </option> <option> <name>Meta System ECO Network</name> <value>metasys03</value> </option> <option> <name>Meta System ECO</name> <value>metasys04</value> </option> <option> <name>Meta System ally HF</name> <value>metasys05</value> </option> <option> <name>Meta System Megaline</name> <value>metasys06</value> </option> <option> <name>MGE UPS SYSTEMS NOVA AVR</name> <value>mge-shut00</value> </option> <option> <name>MGE UPS SYSTEMS Pulsar Ellipse</name> <value>mge-shut01</value> </option> <option> <name>MGE UPS SYSTEMS Ellipse Office</name> <value>mge-shut02</value> </option> <option> <name>MGE UPS SYSTEMS Pulsar EXtreme</name> <value>mge-shut03</value> </option> <option> <name>MGE UPS SYSTEMS Comet</name> <value>mge-shut04</value> </option> <option> <name>MGE UPS SYSTEMS Pulsar Esprit</name> <value>mge-shut05</value> </option> <option> <name>MGE UPS SYSTEMS Evolution</name> <value>mge-shut06</value> </option> <option> <name>MGE UPS SYSTEMS Comet USB</name> <value>newhidups05</value> </option> <option> <name>MGE UPS SYSTEMS Protection Center USB</name> <value>newhidups06</value> </option> <option> <name>MGE UPS SYSTEMS NOVA AVR USB</name> <value>newhidups07</value> </option> <option> <name>MGE UPS SYSTEMS Pulsar Ellipse USB</name> <value>newhidups08</value> </option> <option> <name>MGE UPS SYSTEMS Ellipse Office USB</name> <value>newhidups09</value> </option> <option> <name>MGE UPS SYSTEMS Pulsar Evolution USB</name> <value>newhidups10</value> </option> <option> <name>MGE UPS SYSTEMS Evolution USB</name> <value>newhidups11</value> </option> <option> <name>MGE UPS SYSTEMS Pulsar USB</name> <value>newhidups12</value> </option> <option> <name>MicroDowell B.Box BP</name> <value>cpsups00</value> </option> <option> <name>Microsol Solis</name> <value>solis00</value> </option> <option> <name>Microsol Rhino</name> <value>rhino00</value> </option> <option> <name>Mustek Various</name> <value>megatec00</value> </option> <option> <name>Mustek Powermust</name> <value>megatec01</value> </option> <option> <name>Mustek Powermust USB</name> <value>megatec02</value> </option> <option> <name>Powercom SMK</name> <value>megatec03</value> </option> <option> <name>Powercom ULT</name> <value>megatec04</value> </option> <option> <name>Powercom Trust</name> <value>powercom01</value> </option> <option> <name>Powercom Various</name> <value>powercom02</value> </option> <option> <name>Tripp-Lite SmartUPS</name> <value>tripplite00</value> </option> <option> <name>Tripp-Lite SmartOnline</name> <value>tripplitesu00</value> </option> <option> <name>Tripp-Lite AVR USB</name> <value>newhidups13</value> </option> <option> <name>Tripp-Lite OMNI USB</name> <value>newhidups14</value> </option> <option> <name>Tripp-Lite OMNIVUS USB</name> <value>tripplite_usb00</value> </option> <option> <name>Tripp-Lite SMART USB</name> <value>tripplite_usb01</value> </option> </options> </field> <field> <fielddescr><strong>Local UPS Port</strong></fielddescr> <fieldname>port</fieldname> <type>select</type> <options> <option> <name>auto (USB only)</name> <value>auto</value> </option> </options> </field> <field> <fielddescr>Local UPS Generic Type</fielddescr> <fieldname>upstype</fieldname> <type>select</type> <options> <option> <value></value> <name></name> </option> <option> <value>1 00</value> <name>1 (APC Back-UPS using 940-0095A/C cables)</name> </option> <option> <value>2 00</value> <name>2 (APC Back-UPS using 940-0020B/C cables)</name> </option> <option> <value>9 00</value> <name>9 (APC Back-UPS using 940-0023A cable)</name> </option> <option> <value>12 00</value> <name>12 (APC Back-UPS Office using 940-0119A cable)</name> </option> <option> <value>12 01</value> <name>12 (APC Masterswitch using 940-0020 cable)</name> </option> <option> <value>20 00</value> <name>20 (APC Back-UPS RS)</name> </option> <option> <value>6 00</value> <name>6 (Best Power Patriot using INT51 cable)</name> </option> </options> </field> <field> <fielddescr>Local UPS Cable Type</fielddescr> <fieldname>cable</fieldname> <type>select</type> <options> <option> <value></value> <name></name> </option> <option> <value>940-0095B 00</value> <name>940-0095B (Gray Cable)</name> </option> <option> <value>940-0024C 00</value> <name>940-0024C (Black Cable)</name> </option> </options> </field> <field> <fielddescr>Local Remote Access Address <br>(ex: 192.168.1.0/24)</fielddescr> <fieldname>allowaddr</fieldname> <type>input</type> </field> <field> <fielddescr>Local Remote Access User</fielddescr> <fieldname>allowuser</fieldname> <type>input</type> </field> <field> <fielddescr>Local Remote Acces Password</fielddescr> <fieldname>allowpass</fieldname> <type>password</type> </field> <field> <fielddescr><strong>Remote UPS Name</strong></fielddescr> <fieldname>remotename</fieldname> <type>input</type> </field> <field> <fielddescr><strong>Remote UPS Address</strong> <br>(ex: 192.168.1.10)</fielddescr> <fieldname>remoteaddr</fieldname> <type>input</type> </field> <field> <fielddescr><strong>Remote UPS User</strong></fielddescr> <fieldname>remoteuser</fieldname> <type>input</type> </field> <field> <fielddescr><strong>Remote UPS Password</strong></fielddescr> <fieldname>remotepass</fieldname> <type>password</type> </field> </fields> <custom_php_command_before_form> before_form_nut(&$pkg); </custom_php_command_before_form> <custom_php_validation_command> validate_form_nut($_POST, &$input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_nut(); </custom_php_resync_config_command> <custom_php_deinstall_command> deinstall_package_nut(); </custom_php_deinstall_command> </packagegui>