Compare commits

...

4 Commits

6 changed files with 25 additions and 3 deletions

View File

@ -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

19
files/install/slack-desc Normal file
View 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:

View File

Binary file not shown.

View File

@ -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;">