update
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
				
			|||||||
<!DOCTYPE PLUGIN [
 | 
					<!DOCTYPE PLUGIN [
 | 
				
			||||||
<!ENTITY name      "ipmi">
 | 
					<!ENTITY name      "ipmi">
 | 
				
			||||||
<!ENTITY author    "dmacias72">
 | 
					<!ENTITY author    "dmacias72">
 | 
				
			||||||
<!ENTITY version   "2016.04.28">
 | 
					<!ENTITY version   "2016.05.10">
 | 
				
			||||||
<!ENTITY launch    "Settings/IPMI">
 | 
					<!ENTITY launch    "Settings/IPMI">
 | 
				
			||||||
<!ENTITY gitURL    "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
 | 
					<!ENTITY gitURL    "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
 | 
				
			||||||
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
 | 
					<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
 | 
				
			||||||
@@ -16,11 +16,25 @@
 | 
				
			|||||||
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
 | 
					<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<CHANGES>
 | 
					<CHANGES>
 | 
				
			||||||
###2016.04.28
 | 
					###2016.05.10
 | 
				
			||||||
- fix: empty archive
 | 
					- add: ability to use any fan or temp sensor in footer
 | 
				
			||||||
 | 
					- add: settings and readings tabs to Settings and Tools menu
 | 
				
			||||||
 | 
					- add: ipmi sensors configuration to readings page
 | 
				
			||||||
 | 
					- add: ipmi system configuration editor to settings page
 | 
				
			||||||
 | 
					- add: ability to edit, save and load on boot ipmi sensor configuration e.g. sensor thresholds
 | 
				
			||||||
 | 
					- add: help button text
 | 
				
			||||||
 | 
					- add: Dynamix plugin update API
 | 
				
			||||||
 | 
					- add: ipmi fan control for ASRock boards only
 | 
				
			||||||
 | 
					- (based on fans being named: CPU_FAN1, CPU_FAN2, REAR_FAN1, REAR_FAN2, FRNT_FAN1, FRNT_FAN2)
 | 
				
			||||||
 | 
					- add: select fan control ip address
 | 
				
			||||||
 | 
					- add: advanced view for fan control options
 | 
				
			||||||
 | 
					- fix: show separate status on each settings page
 | 
				
			||||||
 | 
					- add: highest array hard drive temp as a sensor
 | 
				
			||||||
 | 
					- add: abbreviated units to readings, change units column to type column
 | 
				
			||||||
 | 
					- fix: reduce footer footprint
 | 
				
			||||||
 | 
					- fix: network options
 | 
				
			||||||
 | 
					###2016.04.27
 | 
				
			||||||
- fix: network timeout
 | 
					- fix: network timeout
 | 
				
			||||||
###2016.04.06
 | 
					 | 
				
			||||||
- fix: ipmi local connection check
 | 
					 | 
				
			||||||
###2016.03.27
 | 
					###2016.03.27
 | 
				
			||||||
- fix: add check for valid date
 | 
					- fix: add check for valid date
 | 
				
			||||||
###2016.03.26
 | 
					###2016.03.26
 | 
				
			||||||
@@ -130,27 +144,49 @@ This plugin uses freeipmi to display sensor readings
 | 
				
			|||||||
<MD5>f9df6ccd8c231e937ac4a8459ae91330</MD5>
 | 
					<MD5>f9df6ccd8c231e937ac4a8459ae91330</MD5>
 | 
				
			||||||
</FILE>
 | 
					</FILE>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!--
 | 
				
			||||||
 | 
					The 'plugin' config file.
 | 
				
			||||||
 | 
					-->
 | 
				
			||||||
<FILE Name="&plgPATH;/&name;.cfg">
 | 
					<FILE Name="&plgPATH;/&name;.cfg">
 | 
				
			||||||
<INLINE>
 | 
					<INLINE>
 | 
				
			||||||
<![CDATA[
 | 
					<![CDATA[
 | 
				
			||||||
SERVICE="disable"
 | 
					IPMISELD="disable"
 | 
				
			||||||
IPMIPOLL="disable"
 | 
					IPMIPOLL="60"
 | 
				
			||||||
NETWORK="disable"
 | 
					NETWORK="disable"
 | 
				
			||||||
LOCAL="disable"
 | 
					LOCAL="disable"
 | 
				
			||||||
IPADDR=""
 | 
					IPADDR=""
 | 
				
			||||||
USER=""
 | 
					USER=""
 | 
				
			||||||
PASSWORD="="
 | 
					PASSWORD=""
 | 
				
			||||||
IPMISELD="disable"
 | 
					DISP_SENSOR1="0"
 | 
				
			||||||
DISP_TEMP1="0"
 | 
					DISP_SENSOR2="0"
 | 
				
			||||||
DISP_TEMP2="0"
 | 
					DISP_SENSOR1="0"
 | 
				
			||||||
DISP_FAN1="0"
 | 
					DISP_SENSOR2="0"
 | 
				
			||||||
DISP_FAN2="0"
 | 
					LOADCFG="disable"
 | 
				
			||||||
IPMIFAN="disable"
 | 
					]]>
 | 
				
			||||||
 | 
					</INLINE>
 | 
				
			||||||
 | 
					</FILE>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!--
 | 
				
			||||||
 | 
					The 'plugin' fan config file.
 | 
				
			||||||
 | 
					-->
 | 
				
			||||||
 | 
					<FILE Name="&plgPATH;/fan.cfg">
 | 
				
			||||||
 | 
					<INLINE>
 | 
				
			||||||
 | 
					<![CDATA[
 | 
				
			||||||
 | 
					FANCONTROL="disable"
 | 
				
			||||||
 | 
					FANPOLL="3"
 | 
				
			||||||
 | 
					FANIP=""
 | 
				
			||||||
IPMIBOARD=""
 | 
					IPMIBOARD=""
 | 
				
			||||||
]]>
 | 
					]]>
 | 
				
			||||||
</INLINE>
 | 
					</INLINE>
 | 
				
			||||||
</FILE>
 | 
					</FILE>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!--
 | 
				
			||||||
 | 
					The 'boards' json file.
 | 
				
			||||||
 | 
					-->
 | 
				
			||||||
 | 
					<FILE Name="&plgPATH;/boards.json">
 | 
				
			||||||
 | 
					<URL>&gitURL;/plugins/boards.json</URL>
 | 
				
			||||||
 | 
					</FILE>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!--
 | 
					<!--
 | 
				
			||||||
The 'plugin' package file.
 | 
					The 'plugin' package file.
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
@@ -190,29 +226,38 @@ if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
 | 
				
			|||||||
else
 | 
					else
 | 
				
			||||||
	if [[ $VER == 6.1 ]]; then
 | 
						if [[ $VER == 6.1 ]]; then
 | 
				
			||||||
		echo "\nInstalling dependencies for unRAID 6.1"
 | 
							echo "\nInstalling dependencies for unRAID 6.1"
 | 
				
			||||||
 | 
							rm &plgPATH;/freeipmi-1.5.1-x86_64-1.txz
 | 
				
			||||||
		upgradepkg --install-new &plgPATH;/freeipmi-1.4.11-x86_64-3.txz
 | 
							upgradepkg --install-new &plgPATH;/freeipmi-1.4.11-x86_64-3.txz
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if [[ $VER == 6.2 ]]; then
 | 
						if [[ $VER == 6.2 ]]; then
 | 
				
			||||||
		echo "\nInstalling dependencies for unRAID 6.2"
 | 
							echo "\nInstalling dependencies for unRAID 6.2"
 | 
				
			||||||
 | 
							rm &plgPATH;/freeipmi-1.4.11-x86_64-3.txz
 | 
				
			||||||
		upgradepkg --install-new &plgPATH;/freeipmi-1.5.1-x86_64-1.txz
 | 
							upgradepkg --install-new &plgPATH;/freeipmi-1.5.1-x86_64-1.txz
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	upgradepkg --install-new &plgPATH;/&plgNAME;.txz
 | 
						upgradepkg --install-new &plgPATH;/&plgNAME;.txz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Load impi drivers
 | 
						# Load impi drivers
 | 
				
			||||||
	echo "loading ipmi drivers..."
 | 
						echo "checking ipmi drivers..."
 | 
				
			||||||
	modprobe ipmi_si
 | 
						for module in ipmi_msghandler ipmi_devintf ipmi_si; do
 | 
				
			||||||
	modprobe ipmi_devintf
 | 
							modprobe $module
 | 
				
			||||||
 | 
						done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Start scripts if enabled
 | 
						# Start scripts if enabled
 | 
				
			||||||
	<![CDATA[
 | 
						<![CDATA[
 | 
				
			||||||
	echo "starting ipmiseld..."
 | 
						echo "checking ipmi event monitor..."
 | 
				
			||||||
	/etc/rc.d/rc.ipmiseld start >/dev/null 2>&1 < /dev/null &
 | 
						/etc/rc.d/rc.ipmiseld start >/dev/null 2>&1 < /dev/null &
 | 
				
			||||||
	sleep 1
 | 
						sleep 1
 | 
				
			||||||
	echo "starting ipmitail..."
 | 
						echo "checking ipmi system log tail..."
 | 
				
			||||||
	setsid /etc/rc.d/rc.ipmitail start >/dev/null 2>&1 < /dev/null &
 | 
						setsid /etc/rc.d/rc.ipmitail start >/dev/null 2>&1 < /dev/null &
 | 
				
			||||||
	sleep 1
 | 
						sleep 1
 | 
				
			||||||
 | 
						echo "checking ipmi fan control..."
 | 
				
			||||||
 | 
						setsid /usr/sbin/ipmifan --daemon &
 | 
				
			||||||
 | 
						sleep 1
 | 
				
			||||||
 | 
						echo "checking ipmi sensors configuration..."
 | 
				
			||||||
 | 
						setsid /etc/rc.d/rc.ipmicfg commit &
 | 
				
			||||||
 | 
						sleep 1
 | 
				
			||||||
	]]>
 | 
						]]>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Cleaning old source files
 | 
						# Cleaning old source files
 | 
				
			||||||
@@ -242,6 +287,10 @@ The 'remove' script.
 | 
				
			|||||||
sleep 1
 | 
					sleep 1
 | 
				
			||||||
/etc/rc.d/rc.ipmitail stop
 | 
					/etc/rc.d/rc.ipmitail stop
 | 
				
			||||||
sleep 1
 | 
					sleep 1
 | 
				
			||||||
 | 
					echo "stopping ipmi fan control..."
 | 
				
			||||||
 | 
					sleep 1
 | 
				
			||||||
 | 
					/usr/sbin/ipmifan --quit
 | 
				
			||||||
 | 
					sleep 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rm -rf &plgPATH;/libgcrypt*.txz
 | 
					rm -rf &plgPATH;/libgcrypt*.txz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -252,9 +301,9 @@ rm -f &plgPATH;/*.txz \
 | 
				
			|||||||
   
 | 
					   
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "unloading ipmi drivers..."
 | 
					echo "unloading ipmi drivers..."
 | 
				
			||||||
modprobe -r ipmi_si
 | 
					for module in ipmi_msghandler ipmi_devintf ipmi_si; do
 | 
				
			||||||
modprobe -r ipmi_devintf
 | 
						modprobe -r $module
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
echo ""
 | 
					echo ""
 | 
				
			||||||
echo "-----------------------------------------------------------"
 | 
					echo "-----------------------------------------------------------"
 | 
				
			||||||
echo " &name; has been removed."
 | 
					echo " &name; has been removed."
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,13 +11,27 @@ The ipmi plugin allows you to view your system sensors and events using your ipm
 | 
				
			|||||||
</Description>
 | 
					</Description>
 | 
				
			||||||
<Support>http://lime-technology.com/forum/index.php?topic=39787.0</Support>
 | 
					<Support>http://lime-technology.com/forum/index.php?topic=39787.0</Support>
 | 
				
			||||||
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/ipmi.png</Icon>
 | 
					<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/ipmi.png</Icon>
 | 
				
			||||||
<Date>2016-04-28</Date>
 | 
					<Date>2016-05-10</Date>
 | 
				
			||||||
<Changes>
 | 
					<Changes>
 | 
				
			||||||
###2016.04.28
 | 
					###2016.05.10
 | 
				
			||||||
- fix: empty archive
 | 
					- add: ability to use any fan or temp sensor in footer
 | 
				
			||||||
 | 
					- add: settings and readings tabs to Settings and Tools menu
 | 
				
			||||||
 | 
					- add: ipmi sensors configuration to readings page
 | 
				
			||||||
 | 
					- add: ipmi system configuration editor to settings page
 | 
				
			||||||
 | 
					- add: ability to edit, save and load on boot ipmi sensor configuration e.g. sensor thresholds
 | 
				
			||||||
 | 
					- add: help button text
 | 
				
			||||||
 | 
					- add: Dynamix plugin update API
 | 
				
			||||||
 | 
					- add: ipmi fan control for ASRock boards only
 | 
				
			||||||
 | 
					- (based on fans being named: CPU_FAN1, CPU_FAN2, REAR_FAN1, REAR_FAN2, FRNT_FAN1, FRNT_FAN2)
 | 
				
			||||||
 | 
					- add: select fan control ip address
 | 
				
			||||||
 | 
					- add: advanced view for fan control options
 | 
				
			||||||
 | 
					- fix: show separate status on each settings page
 | 
				
			||||||
 | 
					- add: highest array hard drive temp as a sensor
 | 
				
			||||||
 | 
					- add: abbreviated units to readings, change units column to type column
 | 
				
			||||||
 | 
					- fix: reduce footer footprint
 | 
				
			||||||
 | 
					- fix: network options
 | 
				
			||||||
 | 
					###2016.04.27
 | 
				
			||||||
- fix: network timeout
 | 
					- fix: network timeout
 | 
				
			||||||
###2016.04.06
 | 
					 | 
				
			||||||
- fix: ipmi local connection check
 | 
					 | 
				
			||||||
###2016.03.27
 | 
					###2016.03.27
 | 
				
			||||||
- fix: add check for valid date
 | 
					- fix: add check for valid date
 | 
				
			||||||
###2016.03.26
 | 
					###2016.03.26
 | 
				
			||||||
@@ -25,6 +39,7 @@ The ipmi plugin allows you to view your system sensors and events using your ipm
 | 
				
			|||||||
###2016.03.25
 | 
					###2016.03.25
 | 
				
			||||||
- fix: archived events page update on event delete
 | 
					- fix: archived events page update on event delete
 | 
				
			||||||
- fix: archived events with same timestamp
 | 
					- fix: archived events with same timestamp
 | 
				
			||||||
 | 
					- fix: archived events tablesorter pager
 | 
				
			||||||
###2016.03.24
 | 
					###2016.03.24
 | 
				
			||||||
- update for 6.2 to freeipmi 1.5.1
 | 
					- update for 6.2 to freeipmi 1.5.1
 | 
				
			||||||
- new installs on 6.2 will work fine
 | 
					- new installs on 6.2 will work fine
 | 
				
			||||||
@@ -32,8 +47,8 @@ The ipmi plugin allows you to view your system sensors and events using your ipm
 | 
				
			|||||||
- libgcrypt-1.6.5 is included with unRAID 6.2 and previous versions downgraded it to 1.5.5 to use freeipmi 1.4.11
 | 
					- libgcrypt-1.6.5 is included with unRAID 6.2 and previous versions downgraded it to 1.5.5 to use freeipmi 1.4.11
 | 
				
			||||||
- http://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/n/libgcrypt-1.6.5-x86_64-1.txz
 | 
					- http://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/n/libgcrypt-1.6.5-x86_64-1.txz
 | 
				
			||||||
- fix: bug local ipmi timeout webgui to wait for ipmi (only affected systems without local ipmi)
 | 
					- fix: bug local ipmi timeout webgui to wait for ipmi (only affected systems without local ipmi)
 | 
				
			||||||
- changed backup events to archive events
 | 
					- changed backup events to archived events
 | 
				
			||||||
- add archive event page and switch
 | 
					- add archived event page and switch
 | 
				
			||||||
###2016.03.14
 | 
					###2016.03.14
 | 
				
			||||||
- update freeipmi package
 | 
					- update freeipmi package
 | 
				
			||||||
- fix virtual machines not auto starting due to /etc/init.d directory created by freeipmi package
 | 
					- fix virtual machines not auto starting due to /etc/init.d directory created by freeipmi package
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user