Compare commits
4 Commits
cfbcdb0869
...
7f0033742c
Author | SHA1 | Date |
---|---|---|
Fabian Schlenz | 7f0033742c | |
Fabian Schlenz | 55b487627b | |
Fabian Schlenz | 44865c93ba | |
Fabian Schlenz | 838e80fa22 |
5
build.sh
5
build.sh
|
@ -5,19 +5,22 @@ echo "Version in plugin file: $VERSION"
|
|||
echo "Generated file will be: $FILE"
|
||||
|
||||
if [ -e "$FILE" ]; then
|
||||
echo
|
||||
echo "File already exists."
|
||||
|
||||
givenMD5=`xpath -q -e 'string(//PLUGIN/@packageMD5)' zabbix_agent.plg`
|
||||
read currentMD5 _ < <(md5sum "$FILE")
|
||||
|
||||
if [ "$givenMD5" = "$currentMD5" ]; then
|
||||
echo "MD5 value matches."
|
||||
echo "MD5 value is OK."
|
||||
else
|
||||
echo "MD5 value does not match!"
|
||||
echo "unraid_zabbix.plg: $givenMD5"
|
||||
echo "$FILE: $currentMD5"
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
if [ "$1" != "--force" ]; then
|
||||
echo "Stopping now. Call '$0 --force' to force recreating the file."
|
||||
exit 1
|
||||
|
|
|
@ -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:
|
Binary file not shown.
Binary file not shown.
|
@ -6,10 +6,10 @@
|
|||
<!ENTITY plgauthor "fabianonline">
|
||||
<!ENTITY baseURL "https://git.schle.nz/fabian/unraid-zabbix_agent/raw/branch/main">
|
||||
<!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 packageURL "&baseURL;/&packageName;">
|
||||
<!ENTITY packageMD5 "5eedea739129f638ac5098945039d43b">
|
||||
<!ENTITY packageMD5 "1aae2b12fb6827c934d1e70c9c7ab15a">
|
||||
]>
|
||||
|
||||
<PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" packageMD5="&packageMD5;">
|
||||
|
|
Loading…
Reference in New Issue