Compare commits
No commits in common. "7f0033742c64682fea8ea95d4a71bfe9a1c90540" and "cfbcdb0869ff6663984820b6c6eb8b602c286e93" have entirely different histories.
7f0033742c
...
cfbcdb0869
5
build.sh
5
build.sh
@ -5,22 +5,19 @@ 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 is OK."
|
echo "MD5 value matches."
|
||||||
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
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# 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
Executable file → Normal file
0
files/usr/local/emhttp/plugins/zabbix_agent/scripts/temperatures.sh
Executable file → Normal file
BIN
zabbix_agent-2020.08.11.1-x86_64-1.txz
Normal file
BIN
zabbix_agent-2020.08.11.1-x86_64-1.txz
Normal file
Binary file not shown.
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.22.1">
|
<!ENTITY version "2020.08.11.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 "1aae2b12fb6827c934d1e70c9c7ab15a">
|
<!ENTITY packageMD5 "5eedea739129f638ac5098945039d43b">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
<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