Update build files for new git tree

This commit is contained in:
patvdv 2019-03-26 11:50:55 +01:00
parent e2b47db3c6
commit 2ad4cf6f1c
20 changed files with 150 additions and 128 deletions

View File

@ -27,16 +27,16 @@ rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata
cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_logs.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_logs.sh cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_logs.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_logs.sh
cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_services.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_services.sh cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_services.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_services.sh
cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_share_replication.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_replication.sh cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_share_replication.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_replication.sh
cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_share_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_usage.sh cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_share_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_usage.sh
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc
cp ../SOURCES/etc/check_exadata_zfs_logs.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_logs.conf.dist cp ../SOURCES/etc/opt/hc/check_exadata_zfs_logs.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_logs.conf.dist
cp ../SOURCES/etc/check_exadata_zfs_services.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_services.conf.dist cp ../SOURCES/etc/opt/hc/check_exadata_zfs_services.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_services.conf.dist
cp ../SOURCES/etc/check_exadata_zfs_share_replication.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_replication.conf.dist cp ../SOURCES/etc/opt/hc/check_exadata_zfs_share_replication.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_replication.conf.dist
cp ../SOURCES/etc/check_exadata_zfs_share_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_usage.conf.dist cp ../SOURCES/etc/opt/hc/check_exadata_zfs_share_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_usage.conf.dist
%post %post
@ -86,5 +86,7 @@ echo "INFO: finished post-uninstall script"
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Mon Feb 18 2019 <patrick@kudos.be> - 0.0.1 * Mon Feb 18 2019 <patrick@kudos.be> - 0.0.1
- Initial build - Initial build

View File

@ -58,7 +58,7 @@ This is the core CSV display plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 display_csv.sh file -m 755 display_csv.sh
end end
end end

View File

@ -58,7 +58,7 @@ This is the core INIT display plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 display_init.sh file -m 755 display_init.sh
end end
end end

View File

@ -58,7 +58,7 @@ This is the core JSON display plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 display_json.sh file -m 755 display_json.sh
end end
end end

View File

@ -58,7 +58,7 @@ This is the core TERSE display plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 display_terse.sh file -m 755 display_terse.sh
end end
end end

View File

@ -58,7 +58,7 @@ This is the core ZENOSS display plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 display_zenoss.sh file -m 755 display_zenoss.sh
end end
end end

View File

@ -4,7 +4,7 @@ depot
# Vendor definition: # Vendor definition:
vendor vendor
tag KUDOS tag KUDOS
title "KUDOS BVBA - http://www.kudos.be" title "KUDOS BVBA - http://www.kudos.be"
end end
@ -28,9 +28,9 @@ product
category_title Tools category_title Tools
title "The Health Checker (HC) for UNIX" title "The Health Checker (HC) for UNIX"
description "The Health Checker is collection of scripts (plugins) description "The Health Checker is collection of scripts (plugins)
designed to perform regular - but not intensive - health checks on designed to perform regular - but not intensive - health checks on
UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as
well customer specific checks. Checks may include topics such file well customer specific checks. Checks may include topics such file
system mounts, process checks, file consistency etc." system mounts, process checks, file consistency etc."
architecture S700/S800_HP-UX_10/HP-UX_11/IA64_HP-UX_11 architecture S700/S800_HP-UX_10/HP-UX_11/IA64_HP-UX_11
machine_type 9000/7*|9000/8*|ia64* machine_type 9000/7*|9000/8*|ia64*
@ -43,7 +43,7 @@ system mounts, process checks, file consistency etc."
postinstall scripts/hc_hpux.postinstall postinstall scripts/hc_hpux.postinstall
postremove scripts/hc_hpux.postremove postremove scripts/hc_hpux.postremove
# Fileset definitions: # Fileset definitions:
fileset fileset
tag scripts tag scripts
@ -55,10 +55,10 @@ system mounts, process checks, file consistency etc."
is_patch false is_patch false
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/bin=/opt/hc/bin directory ../../opt/hc/bin=/opt/hc/bin
file -m 755 check_health.sh file -m 755 check_health.sh
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 include_core.sh file -m 755 include_core.sh
file -m 755 include_data.sh file -m 755 include_data.sh
file -m 755 include_os.sh file -m 755 include_os.sh
@ -74,12 +74,12 @@ system mounts, process checks, file consistency etc."
is_patch false is_patch false
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 notify_mail.sh file -m 755 notify_mail.sh
file -m 755 report_std.sh file -m 755 report_std.sh
end end
fileset fileset
tag config tag config
title UX Health Checker (configuration) title UX Health Checker (configuration)
@ -88,16 +88,16 @@ system mounts, process checks, file consistency etc."
is_reboot false is_reboot false
is_sparse false is_sparse false
is_patch false is_patch false
prerequisite HC-HPUX-MAIN.scripts prerequisite HC-HPUX-MAIN.scripts
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../configs/etc/core=/etc/opt/hc/core directory ../../etc/opt/hc/core=/etc/opt/hc/core
file -m 644 check_health.conf.dist file -m 644 check_health.conf.dist
directory ../../configs/etc=/etc/opt/hc directory ../../etc/opt/hc=/etc/opt/hc
file -m 644 check_host.conf.dist file -m 644 check_host.conf.dist
end end
fileset fileset
tag templates tag templates
title UX Health Checker (templates) title UX Health Checker (templates)
@ -106,11 +106,11 @@ system mounts, process checks, file consistency etc."
is_reboot false is_reboot false
is_sparse false is_sparse false
is_patch false is_patch false
prerequisite HC-HPUX-MAIN.scripts prerequisite HC-HPUX-MAIN.scripts
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../configs/etc/core/templates=/etc/opt/hc/core/templates directory ../../etc/opt/hc/core/templates=/etc/opt/hc/core/templates
file -m 644 mail_info.tpl file -m 644 mail_info.tpl
file -m 644 mail_header.tpl file -m 644 mail_header.tpl
file -m 644 mail_body.tpl file -m 644 mail_body.tpl

View File

@ -58,7 +58,7 @@ This is the OS/platform plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/platform/hp-ux=/opt/hc/lib/platform/hp-ux directory ../../opt/hc/lib/platform/hp-ux=/opt/hc/lib/platform/hp-ux
file -m 755 check_hpux_autopath.sh file -m 755 check_hpux_autopath.sh
file -m 755 check_hpux_cdsf_cluster.sh file -m 755 check_hpux_cdsf_cluster.sh
file -m 755 check_hpux_cron_status.sh file -m 755 check_hpux_cron_status.sh
@ -106,7 +106,7 @@ This is the OS/platform plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../configs/etc/=/etc/opt/hc directory ../../etc/opt/hc/=/etc/opt/hc
file -m 644 check_hpux_drd_status.conf.dist file -m 644 check_hpux_drd_status.conf.dist
file -m 644 check_hpux_file_age.conf.dist file -m 644 check_hpux_file_age.conf.dist
file -m 644 check_hpux_file_change.conf.dist file -m 644 check_hpux_file_change.conf.dist
@ -141,7 +141,7 @@ This is the OS/platform plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../configs/etc/core/templates=/etc/opt/hc/core/templates directory ../../etc/opt/hc/core/templates=/etc/opt/hc/core/templates
file -m 644 mail_body.tpl-check_hpux_fs_mounts_options file -m 644 mail_body.tpl-check_hpux_fs_mounts_options
file -m 644 mail_body.tpl-check_hpux_ioscan file -m 644 mail_body.tpl-check_hpux_ioscan
file -m 644 mail_body.tpl-check_hpux_ovpa_status file -m 644 mail_body.tpl-check_hpux_ovpa_status

View File

@ -58,7 +58,7 @@ This is the core EIF plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 notify_eif.sh file -m 755 notify_eif.sh
end end
@ -74,7 +74,7 @@ This is the core EIF plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../configs/etc/core/providers=/etc/opt/hc/core/providers directory ../../etc/opt/hc/core/providers=/etc/opt/hc/core/providers
file -m 644 notify_eif.conf.dist file -m 644 notify_eif.conf.dist
end end
end end

View File

@ -58,7 +58,7 @@ This is the core SMS plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../sources/lib/core=/opt/hc/lib/core directory ../../opt/hc/lib/core=/opt/hc/lib/core
file -m 755 notify_sms.sh file -m 755 notify_sms.sh
end end
@ -74,7 +74,7 @@ This is the core SMS plugin package"
file_permissions -u 0222 -o root -g sys file_permissions -u 0222 -o root -g sys
directory ../../configs/etc/core/providers=/etc/opt/hc/core/providers directory ../../etc/opt/hc/core/providers=/etc/opt/hc/core/providers
file -m 644 notify_sms.conf.dist file -m 644 notify_sms.conf.dist
end end
end end

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 core plugins (display). This package contains core plugins (display).
@ -26,7 +26,7 @@ This package contains core plugins (display).
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/display_csv.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_csv.sh cp ../SOURCES/opt/hc/lib/core/display_csv.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_csv.sh
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script"
%attr(755, root, root) /opt/hc/lib/core/display_csv.sh %attr(755, root, root) /opt/hc/lib/core/display_csv.sh
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Sat May 06 2017 <patrick@kudos.be> - 0.0.1 * Sat May 06 2017 <patrick@kudos.be> - 0.0.1
- Initial build - Initial build

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 core plugins (display). This package contains core plugins (display).
@ -26,7 +26,7 @@ This package contains core plugins (display).
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/display_init.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_init.sh cp ../SOURCES/opt/hc/lib/core/display_init.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_init.sh
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script"
%attr(755, root, root) /opt/hc/lib/core/display_init.sh %attr(755, root, root) /opt/hc/lib/core/display_init.sh
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Mon May 08 2017 <patrick@kudos.be> - 0.0.1 * Mon May 08 2017 <patrick@kudos.be> - 0.0.1
- Initial build - Initial build

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 core plugins (display). This package contains core plugins (display).
@ -26,7 +26,7 @@ This package contains core plugins (display).
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/display_json.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_json.sh cp ../SOURCES/opt/hc/lib/core/display_json.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_json.sh
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script"
%attr(755, root, root) /opt/hc/lib/core/display_json.sh %attr(755, root, root) /opt/hc/lib/core/display_json.sh
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Sun May 20 2018 <patrick@kudos.be> - 0.0.1 * Sun May 20 2018 <patrick@kudos.be> - 0.0.1
- Initial build - Initial build

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 core plugins (display). This package contains core plugins (display).
@ -26,7 +26,7 @@ This package contains core plugins (display).
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/display_terse.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_terse.sh cp ../SOURCES/opt/hc/lib/core/display_terse.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_terse.sh
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script"
%attr(755, root, root) /opt/hc/lib/core/display_terse.sh %attr(755, root, root) /opt/hc/lib/core/display_terse.sh
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Sat May 06 2017 <patrick@kudos.be> - 0.0.1 * Sat May 06 2017 <patrick@kudos.be> - 0.0.1
- Initial build - Initial build

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 core plugins (display). This package contains core plugins (display).
@ -26,7 +26,7 @@ This package contains core plugins (display).
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/display_zenoss.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_zenoss.sh cp ../SOURCES/opt/hc/lib/core/display_zenoss.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_zenoss.sh
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script"
%attr(755, root, root) /opt/hc/lib/core/display_zenoss.sh %attr(755, root, root) /opt/hc/lib/core/display_zenoss.sh
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Tue Dec 19 2017 <patrick@kudos.be> - 0.0.1 * Tue Dec 19 2017 <patrick@kudos.be> - 0.0.1
- Initial build - Initial build

View File

@ -27,59 +27,59 @@ rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform/linux install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform/linux
cp ../SOURCES/lib/platform/linux/check_linux_burp_backup.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_backup.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_burp_backup.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_backup.sh
cp ../SOURCES/lib/platform/linux/check_linux_burp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_burp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_es_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_es_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_es_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_es_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_file_age.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_age.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_file_age.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_age.sh
cp ../SOURCES/lib/platform/linux/check_linux_file_change.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_change.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_file_change.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_change.sh
cp ../SOURCES/lib/platform/linux/check_linux_fs_mounts.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_mounts.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_fs_mounts.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_mounts.sh
cp ../SOURCES/lib/platform/linux/check_linux_fs_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_usage.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_fs_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_usage.sh
cp ../SOURCES/lib/platform/linux/check_linux_httpd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_httpd_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_httpd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_httpd_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_mysqld_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_mysqld_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_mysqld_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_mysqld_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_named_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_named_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_named_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_named_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_ntp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_ntp_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_ntp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_ntp_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_postfix_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_postfix_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_postfix_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_postfix_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_samba_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_samba_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_samba_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_samba_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_shorewall_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_shorewall_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_shorewall_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_shorewall_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_sshd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sshd_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sshd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sshd_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_winbind_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_winbind_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_winbind_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_winbind_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_hpasmcli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpasmcli.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hpasmcli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpasmcli.sh
cp ../SOURCES/lib/platform/linux/check_linux_hpacucli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpacucli.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hpacucli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpacucli.sh
cp ../SOURCES/lib/platform/linux/check_linux_hplog.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hplog.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hplog.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hplog.sh
cp ../SOURCES/lib/platform/linux/check_linux_hpssacli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpssacli.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hpssacli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpssacli.sh
cp ../SOURCES/lib/platform/linux/check_linux_process_limits.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_process_limits.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_process_limits.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_process_limits.sh
cp ../SOURCES/lib/platform/linux/check_linux_root_crontab.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_root_crontab.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_root_crontab.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_root_crontab.sh
cp ../SOURCES/lib/platform/linux/check_linux_sg_cluster_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_config.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_cluster_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_config.sh
cp ../SOURCES/lib/platform/linux/check_linux_sg_cluster_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_cluster_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_sg_package_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_config.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_package_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_config.sh
cp ../SOURCES/lib/platform/linux/check_linux_sg_package_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_package_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_sg_qs_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_qs_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_qs_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_qs_status.sh
cp ../SOURCES/lib/platform/linux/check_linux_vz_ct_counters.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_counters.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_vz_ct_counters.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_counters.sh
cp ../SOURCES/lib/platform/linux/check_linux_vz_ct_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_status.sh cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_vz_ct_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_status.sh
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc
cp ../SOURCES/etc/check_linux_burp_backup.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_burp_backup.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_burp_backup.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_burp_backup.conf.dist
cp ../SOURCES/etc/check_linux_es_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_es_status.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_es_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_es_status.conf.dist
cp ../SOURCES/etc/check_linux_file_age.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_age.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_file_age.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_age.conf.dist
cp ../SOURCES/etc/check_linux_file_change.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_change.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_file_change.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_change.conf.dist
cp ../SOURCES/etc/check_linux_fs_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_fs_usage.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_fs_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_fs_usage.conf.dist
cp ../SOURCES/etc/check_linux_hpasmcli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpasmcli.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_hpasmcli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpasmcli.conf.dist
cp ../SOURCES/etc/check_linux_hpacucli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpacucli.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_hpacucli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpacucli.conf.dist
cp ../SOURCES/etc/check_linux_hplog.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hplog.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_hplog.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hplog.conf.dist
cp ../SOURCES/etc/check_linux_hpssacli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpssacli.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_hpssacli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpssacli.conf.dist
cp ../SOURCES/etc/check_linux_mysqld_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_mysqld_status.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_mysqld_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_mysqld_status.conf.dist
cp ../SOURCES/etc/check_linux_ntp_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_ntp_status.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_ntp_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_ntp_status.conf.dist
cp ../SOURCES/etc/check_linux_process_limits.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_process_limits.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_process_limits.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_process_limits.conf.dist
cp ../SOURCES/etc/check_linux_root_crontab.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_root_crontab.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_root_crontab.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_root_crontab.conf.dist
cp ../SOURCES/etc/check_linux_sg_cluster_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_config.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_sg_cluster_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_config.conf.dist
cp ../SOURCES/etc/check_linux_sg_cluster_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_status.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_sg_cluster_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_status.conf.dist
cp ../SOURCES/etc/check_linux_sg_package_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_config.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_sg_package_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_config.conf.dist
cp ../SOURCES/etc/check_linux_sg_package_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_status.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_sg_package_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_status.conf.dist
cp ../SOURCES/etc/check_linux_vz_ct_counters.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_counters.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_vz_ct_counters.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_counters.conf.dist
cp ../SOURCES/etc/check_linux_vz_ct_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_status.conf.dist cp ../SOURCES/etc/opt/hc/check_linux_vz_ct_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_status.conf.dist
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates
cp ../SOURCES/etc/core/templates/mail_body.tpl-check_linux_fs_mounts_options $RPM_BUILD_ROOT/etc/opt/hc/core/templates cp ../SOURCES/etc/opt/hc/core/templates/mail_body.tpl-check_linux_fs_mounts_options $RPM_BUILD_ROOT/etc/opt/hc/core/templates
cp ../SOURCES/etc/core/templates/mail_body.tpl-check_linux_root_crontab $RPM_BUILD_ROOT/etc/opt/hc/core/templates cp ../SOURCES/etc/opt/hc/core/templates/mail_body.tpl-check_linux_root_crontab $RPM_BUILD_ROOT/etc/opt/hc/core/templates
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -171,6 +171,8 @@ echo "INFO: finished post-uninstall script"
%attr(644, root, root) /etc/opt/hc/core/templates/mail_body.tpl-check_linux_root_crontab %attr(644, root, root) /etc/opt/hc/core/templates/mail_body.tpl-check_linux_root_crontab
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.2.0
- New git tree organization
* Sat Mar 09 2019 <patrick@kudos.be> - 0.1.5 * Sat Mar 09 2019 <patrick@kudos.be> - 0.1.5
- Added check_linux_es_status - Added check_linux_es_status
* Sun Feb 10 2019 <patrick@kudos.be> - 0.1.4 * Sun Feb 10 2019 <patrick@kudos.be> - 0.1.4

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 security specific plugins. This package contains security specific plugins.
@ -27,7 +27,7 @@ rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/security install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/security
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/security install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/security
cp ../SOURCES/lib/security/check_all_ssh_controls.sh $RPM_BUILD_ROOT/opt/hc/lib/security/check_all_ssh_controls.sh cp ../SOURCES/opt/hc/lib/security/check_all_ssh_controls.sh $RPM_BUILD_ROOT/opt/hc/lib/security/check_all_ssh_controls.sh
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates
@ -68,5 +68,7 @@ echo "INFO: finished post-install script"
%attr(755, root, root) /opt/hc/lib/security/check_all_ssh_controls.sh %attr(755, root, root) /opt/hc/lib/security/check_all_ssh_controls.sh
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Fri Jan 01 2016 <patrick@kudos.be> - 0.0.1 * Fri Jan 01 2016 <patrick@kudos.be> - 0.0.1
- Initial build - Initial build

View File

@ -25,27 +25,27 @@ The Health Checker is collection of scripts (plugins) designed to perform regula
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc install -d -m 755 $RPM_BUILD_ROOT/opt/hc
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/bin install -d -m 755 $RPM_BUILD_ROOT/opt/hc/bin
cp ../SOURCES/bin/check_health.sh $RPM_BUILD_ROOT/opt/hc/bin cp ../SOURCES/opt/hc/bin/check_health.sh $RPM_BUILD_ROOT/opt/hc/bin
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/include_core.sh $RPM_BUILD_ROOT/opt/hc/lib/core cp ../SOURCES/opt/hc/lib/core/include_core.sh $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/include_data.sh $RPM_BUILD_ROOT/opt/hc/lib/core cp ../SOURCES/opt/hc/lib/core/include_data.sh $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/include_os.sh $RPM_BUILD_ROOT/opt/hc/lib/core cp ../SOURCES/opt/hc/lib/core/include_os.sh $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/notify_mail.sh $RPM_BUILD_ROOT/opt/hc/lib/core cp ../SOURCES/opt/hc/lib/core/notify_mail.sh $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/report_std.sh $RPM_BUILD_ROOT/opt/hc/lib/core cp ../SOURCES/opt/hc/lib/core/report_std.sh $RPM_BUILD_ROOT/opt/hc/lib/core
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc
cp ../SOURCES/etc/check_host.conf.dist $RPM_BUILD_ROOT/etc/opt/hc cp ../SOURCES/etc/opt/hc/check_host.conf.dist $RPM_BUILD_ROOT/etc/opt/hc
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core
cp ../SOURCES/etc/core/check_health.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core cp ../SOURCES/etc/opt/hc/core/check_health.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates
cp ../SOURCES/etc/core/templates/mail_info.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates cp ../SOURCES/etc/opt/hc/core/templates/mail_info.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates
cp ../SOURCES/etc/core/templates/mail_header.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates cp ../SOURCES/etc/opt/hc/core/templates/mail_header.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates
cp ../SOURCES/etc/core/templates/mail_body.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates cp ../SOURCES/etc/opt/hc/core/templates/mail_body.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates
cp ../SOURCES/etc/core/templates/mail_footer.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates cp ../SOURCES/etc/opt/hc/core/templates/mail_footer.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates
install -d -m 755 $RPM_BUILD_ROOT/var/opt/hc install -d -m 755 $RPM_BUILD_ROOT/var/opt/hc
install -d -m 755 $RPM_BUILD_ROOT/etc/logrotate.d install -d -m 755 $RPM_BUILD_ROOT/etc/logrotate.d
cp ../SOURCES/logrotate.d/check_health $RPM_BUILD_ROOT/etc/logrotate.d/check_health cp ../SOURCES/etc/logrotate.d/check_health $RPM_BUILD_ROOT/etc/logrotate.d/check_health
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -160,6 +160,8 @@ fi
%attr(644, root, root) /etc/logrotate.d/check_health %attr(644, root, root) /etc/logrotate.d/check_health
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.2.0
- New git tree organization
* Sat Nov 10 2018 <patrick@kudos.be> - 0.1.0 * Sat Nov 10 2018 <patrick@kudos.be> - 0.1.0
- Added logrotate file - Added logrotate file
* Mon Dec 18 2017 <patrick@kudos.be> - 0.0.9 * Mon Dec 18 2017 <patrick@kudos.be> - 0.0.9

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 core plugins (notify). This package contains core plugins (notify).
@ -26,11 +26,11 @@ This package contains core plugins (notify).
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/notify_eif.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_eif.sh cp ../SOURCES/opt/hc/lib/core/notify_eif.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_eif.sh
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers
cp ../SOURCES/etc/core/providers/notify_eif.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_eif.conf.dist cp ../SOURCES/etc/opt/hc/core/providers/notify_eif.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_eif.conf.dist
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -103,6 +103,8 @@ echo "INFO: finished post-uninstall script"
%attr(644, root, root) /etc/opt/hc/core/providers/notify_eif.conf.dist %attr(644, root, root) /etc/opt/hc/core/providers/notify_eif.conf.dist
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Tue Jun 20 2017 <patrick@kudos.be> - 0.0.2 * Tue Jun 20 2017 <patrick@kudos.be> - 0.0.2
- Made %postun RPM update aware - Made %postun RPM update aware
* Sun Apr 30 2017 <patrick@kudos.be> - 0.0.1 * Sun Apr 30 2017 <patrick@kudos.be> - 0.0.1

View File

@ -13,8 +13,8 @@ URL: http://www.kudos.be
Requires: ksh,hc-linux Requires: ksh,hc-linux
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_topdir}/%{name}-%{version}-root BuildRoot: %{_topdir}/%{name}-%{version}-root
%description %description
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. 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 core plugins (notify). This package contains core plugins (notify).
@ -26,11 +26,11 @@ This package contains core plugins (notify).
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib
install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core
cp ../SOURCES/lib/core/notify_sms.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_sms.sh cp ../SOURCES/opt/hc/lib/core/notify_sms.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_sms.sh
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers
install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers
cp ../SOURCES/etc/core/providers/notify_sms.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_sms.conf.dist cp ../SOURCES/etc/opt/hc/core/providers/notify_sms.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_sms.conf.dist
%post %post
# ------------------------- CONFIGURATION starts here ------------------------- # ------------------------- CONFIGURATION starts here -------------------------
@ -103,6 +103,8 @@ echo "INFO: finished post-uninstall script"
%attr(644, root, root) /etc/opt/hc/core/providers/notify_sms.conf.dist %attr(644, root, root) /etc/opt/hc/core/providers/notify_sms.conf.dist
%changelog %changelog
* Tue Mar 26 2019 <patrick@kudos.be> - 0.1.0
- New git tree organization
* Tue Jun 20 2017 <patrick@kudos.be> - 0.0.2 * Tue Jun 20 2017 <patrick@kudos.be> - 0.0.2
- Made %postun RPM update aware - Made %postun RPM update aware
* Sun Apr 30 2017 <patrick@kudos.be> - 0.0.1 * Sun Apr 30 2017 <patrick@kudos.be> - 0.0.1