Add build files for Debian

This commit is contained in:
patvdv
2019-03-25 20:28:32 +01:00
parent 6b25df930e
commit 350e0439d3
37 changed files with 541 additions and 77 deletions
@@ -0,0 +1,21 @@
/etc/opt/hc/check_linux_burp_backup.conf
/etc/opt/hc/check_linux_es_status.conf
/etc/opt/hc/check_linux_file_age.conf
/etc/opt/hc/check_linux_file_change.conf
/etc/opt/hc/check_linux_fs_usage.conf
/etc/opt/hc/check_linux_hpacucli.conf
/etc/opt/hc/check_linux_hpasmcli.conf
/etc/opt/hc/check_linux_hplog.conf
/etc/opt/hc/check_linux_hpssacli.conf
/etc/opt/hc/check_linux_mysqld_status.conf
/etc/opt/hc/check_linux_ntp_status.conf
/etc/opt/hc/check_linux_process_limits.conf
/etc/opt/hc/check_linux_root_crontab.conf
/etc/opt/hc/check_linux_sg_cluster_config.conf
/etc/opt/hc/check_linux_sg_cluster_status.conf
/etc/opt/hc/check_linux_sg_package_config.conf
/etc/opt/hc/check_linux_sg_package_status.conf
/etc/opt/hc/check_linux_vz_ct_counters.conf
/etc/opt/hc/check_linux_vz_ct_status.conf
/etc/opt/hc/core/templates/mail_body.tpl-check_linux_fs_mounts_options
/etc/opt/hc/core/templates/mail_body.tpl-check_linux_root_crontab
@@ -0,0 +1,11 @@
Package: hc-linux-platform
Version: %BUILD_DATE%
Architecture: all
Maintainer: Patrick Van der Veken <patrick@kudos.be>
Essential: no
Installed-Size: 300
Depends: hc-linux
Section: tools
Priority: extra
Description: The KUDOS Health Checker (HC) for UNIX (platform plugins). The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as
well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains platform/OS specific plugins.
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
# ------------------------- CONFIGURATION starts here -------------------------
# location of check_health.sh
HC_BIN="/opt/hc/bin/check_health.sh"
PATH="$PATH:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin"
# ------------------------- CONFIGURATION ends here ---------------------------
echo "INFO: starting post-install script ..."
# refresh symbolic FPATH links
if [[ -x ${HC_BIN} ]]
then
${HC_BIN} --fix-symlinks
(( $? == 0 )) || echo "WARN: updating symlinks failed"
fi
echo "INFO: finished post-install script"
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
# ------------------------- CONFIGURATION starts here -------------------------
# location of check_health.sh
HC_BIN="/opt/hc/bin/check_health.sh"
PATH="$PATH:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin"
# ------------------------- CONFIGURATION ends here ---------------------------
echo "INFO: starting post-uninstall script ..."
# refresh symbolic FPATH links
if [[ -x ${HC_BIN} ]]
then
${HC_BIN} --fix-symlinks
(( $? == 0 )) || echo "WARN: updating symlinks failed"
fi
echo "INFO: finished post-uninstall script"