Compare commits
	
		
			5 Commits
		
	
	
		
			v2020.10.3
			...
			1d982b26d2
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1d982b26d2 | |||
| 81b295f4a3 | |||
| 71e652c94f | |||
| 3259126b5f | |||
| 6f4dc0fead | 
| @@ -19,6 +19,8 @@ AllowKey=vfs.fs.*[*] | |||||||
| AllowKey=vm.memory.size[*] | AllowKey=vm.memory.size[*] | ||||||
| AllowKey=unraid.* | AllowKey=unraid.* | ||||||
| AllowKey=unraid.*[*] | AllowKey=unraid.*[*] | ||||||
|  | AllowKey=custom.* | ||||||
|  | AllowKey=custom.*[*] | ||||||
|  |  | ||||||
| DenyKey=* | DenyKey=* | ||||||
|  |  | ||||||
| @@ -29,3 +31,5 @@ UserParameter=unraid.qemu.discovery,/usr/local/emhttp/plugins/zabbix_agent/scrip | |||||||
| UserParameter=unraid.qemu[*],/usr/local/emhttp/plugins/zabbix_agent/scripts/qemu.sh "$1" | UserParameter=unraid.qemu[*],/usr/local/emhttp/plugins/zabbix_agent/scripts/qemu.sh "$1" | ||||||
| UserParameter=unraid.temperatures,/usr/local/emhttp/plugins/zabbix_agent/scripts/temperatures.sh | UserParameter=unraid.temperatures,/usr/local/emhttp/plugins/zabbix_agent/scripts/temperatures.sh | ||||||
| UserParameter=unraid.ups,/usr/local/emhttp/plugins/zabbix_agent/scripts/ups.sh | UserParameter=unraid.ups,/usr/local/emhttp/plugins/zabbix_agent/scripts/ups.sh | ||||||
|  |  | ||||||
|  | Include=/boot/config/plugins/zabbix_agent/*.custom.conf | ||||||
|   | |||||||
| @@ -57,5 +57,9 @@ if [ $found = 0 ]; then | |||||||
| 	exit 1 | 	exit 1 | ||||||
| fi | fi | ||||||
|  |  | ||||||
| read bytes_read bytes_written _ < <(grep $device"=" /var/local/emhttp/diskload.ini | cut -d"=" -f2) | if [ -e /var/local/emhttp/diskload.ini ]; then | ||||||
| echo '"bytes_reading":'$bytes_read', "bytes_writing":'$bytes_written'}' | 	read bytes_read bytes_written _ < <(grep $device"=" /var/local/emhttp/diskload.ini | cut -d"=" -f2) | ||||||
|  | 	echo '"bytes_reading":'$bytes_read', "bytes_writing":'$bytes_written'}' | ||||||
|  | else | ||||||
|  | 	echo '"diskload_missing":1}' | ||||||
|  | fi | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								zabbix_agent-2024.12.19.1-x86_64-1.txz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								zabbix_agent-2024.12.19.1-x86_64-1.txz
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -6,10 +6,10 @@ | |||||||
| <!ENTITY plgauthor           "fabianonline"> | <!ENTITY plgauthor           "fabianonline"> | ||||||
| <!ENTITY baseURL             "https://git.schle.nz/fabian/unraid-zabbix_agent/raw/branch/stable"> | <!ENTITY baseURL             "https://git.schle.nz/fabian/unraid-zabbix_agent/raw/branch/stable"> | ||||||
| <!ENTITY pluginURL           "&baseURL;/zabbix_agent.plg"> | <!ENTITY pluginURL           "&baseURL;/zabbix_agent.plg"> | ||||||
| <!ENTITY version             "2020.10.31.1"> | <!ENTITY version             "2024.12.19.1"> | ||||||
| <!ENTITY packageName         "zabbix_agent-&version;-x86_64-1.txz"> | <!ENTITY packageName         "zabbix_agent-&version;-x86_64-1.txz"> | ||||||
| <!ENTITY packageURL          "&baseURL;/&packageName;"> | <!ENTITY packageURL          "&baseURL;/&packageName;"> | ||||||
| <!ENTITY packageMD5          "33d8467dcd13471cc08e0f56e4b611df"> | <!ENTITY packageMD5          "6e3a4e4b7712ec531a6da1ff946cf0a2"> | ||||||
| ]> | ]> | ||||||
|  |  | ||||||
| <PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" packageMD5="&packageMD5;"> | <PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" packageMD5="&packageMD5;"> | ||||||
| @@ -17,7 +17,19 @@ | |||||||
| <CHANGES> | <CHANGES> | ||||||
| ## &name; | ## &name; | ||||||
|  |  | ||||||
| ### 2010.10.31.1 | ### 2024.12.19.1 | ||||||
|  | - Sometimes, diskload.ini is not available (at least in Unraid 6.12.6). In that case we now skip omitting disk load data | ||||||
|  |   in order to still omit valid JSON. | ||||||
|  |  | ||||||
|  | ### 2020.11.25.1 | ||||||
|  | - You can now add a custom zabbix agent configuration file at /boot/config/plugins/zabbix_agent/zabbix_agentd.custom.conf. | ||||||
|  |   It won't be overwritten by a future update of this plugin. Please note that the list of usable keys is heavily restricted | ||||||
|  |   in zabbix_agentd.conf. To have your custom UserParameters accessible, you can either: | ||||||
|  |   - Name them custom.$whatever. | ||||||
|  |   - Add the key to the whitelist via AllowKey. | ||||||
|  | - Updated zabbix_agentd from 5.0.3 to 5.2.1. | ||||||
|  |  | ||||||
|  | ### 2020.10.31.1 | ||||||
| - Updated zabbix_agentd from 5.0.2 to 5.0.3 | - Updated zabbix_agentd from 5.0.2 to 5.0.3 | ||||||
| - Download updated plugins from stable instead of main. | - Download updated plugins from stable instead of main. | ||||||
| - Fixed removal of old plugin packages during updates. | - Fixed removal of old plugin packages during updates. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user