Compare commits
4 Commits
cfbcdb0869
...
7f0033742c
Author | SHA1 | Date | |
---|---|---|---|
7f0033742c | |||
55b487627b | |||
44865c93ba | |||
838e80fa22 |
5
build.sh
5
build.sh
@ -5,19 +5,22 @@ echo "Version in plugin file: $VERSION"
|
|||||||
echo "Generated file will be: $FILE"
|
echo "Generated file will be: $FILE"
|
||||||
|
|
||||||
if [ -e "$FILE" ]; then
|
if [ -e "$FILE" ]; then
|
||||||
|
echo
|
||||||
echo "File already exists."
|
echo "File already exists."
|
||||||
|
|
||||||
givenMD5=`xpath -q -e 'string(//PLUGIN/@packageMD5)' zabbix_agent.plg`
|
givenMD5=`xpath -q -e 'string(//PLUGIN/@packageMD5)' zabbix_agent.plg`
|
||||||
read currentMD5 _ < <(md5sum "$FILE")
|
read currentMD5 _ < <(md5sum "$FILE")
|
||||||
|
|
||||||
if [ "$givenMD5" = "$currentMD5" ]; then
|
if [ "$givenMD5" = "$currentMD5" ]; then
|
||||||
echo "MD5 value matches."
|
echo "MD5 value is OK."
|
||||||
else
|
else
|
||||||
echo "MD5 value does not match!"
|
echo "MD5 value does not match!"
|
||||||
echo "unraid_zabbix.plg: $givenMD5"
|
echo "unraid_zabbix.plg: $givenMD5"
|
||||||
echo "$FILE: $currentMD5"
|
echo "$FILE: $currentMD5"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
if [ "$1" != "--force" ]; then
|
if [ "$1" != "--force" ]; then
|
||||||
echo "Stopping now. Call '$0 --force' to force recreating the file."
|
echo "Stopping now. Call '$0 --force' to force recreating the file."
|
||||||
exit 1
|
exit 1
|
||||||
|
19
files/install/slack-desc
Normal file
19
files/install/slack-desc
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
zabbix_agent: zabbix_agent plugin for UnRAID
|
||||||
|
zabbix_agent:
|
||||||
|
zabbix_agent: zabbix_agent is a open-sorce software that can be queried by a central
|
||||||
|
zabbix_agent: Zabbix server in order to gather metrics and send notifications via
|
||||||
|
zabbix_agent: triggers.
|
||||||
|
zabbix_agent:
|
||||||
|
zabbix_agent:
|
||||||
|
zabbix_agent:
|
||||||
|
zabbix_agent:
|
||||||
|
zabbix_agent:
|
||||||
|
zabbix_agent:
|
0
files/usr/local/emhttp/plugins/zabbix_agent/scripts/temperatures.sh
Normal file → Executable file
0
files/usr/local/emhttp/plugins/zabbix_agent/scripts/temperatures.sh
Normal file → Executable file
Binary file not shown.
BIN
zabbix_agent-2020.08.22.1-x86_64-1.txz
Normal file
BIN
zabbix_agent-2020.08.22.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/main">
|
<!ENTITY baseURL "https://git.schle.nz/fabian/unraid-zabbix_agent/raw/branch/main">
|
||||||
<!ENTITY pluginURL "&baseURL;/zabbix_agent.plg">
|
<!ENTITY pluginURL "&baseURL;/zabbix_agent.plg">
|
||||||
<!ENTITY version "2020.08.11.1">
|
<!ENTITY version "2020.08.22.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 "5eedea739129f638ac5098945039d43b">
|
<!ENTITY packageMD5 "1aae2b12fb6827c934d1e70c9c7ab15a">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
<PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" packageMD5="&packageMD5;">
|
<PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" packageMD5="&packageMD5;">
|
||||||
|
Loading…
Reference in New Issue
Block a user