diff --git a/debian/Makefile.am b/debian/Makefile.am index 60a30a4..8460cc4 100644 --- a/debian/Makefile.am +++ b/debian/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -## Copyright (c) 2016 Davide Madrisan +## Copyright (c) 2016-2024 Davide Madrisan ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ EXTRA_DIST = changelog compat control copyright rules \ nagios-plugins-linux-paging.install \ nagios-plugins-linux-pressure.install \ nagios-plugins-linux-readonlyfs.install \ + nagios-plugins-linux-selinux.install \ nagios-plugins-linux-swap.install \ nagios-plugins-linux-tcpcount.install \ nagios-plugins-linux-temperature.install \ diff --git a/debian/control b/debian/control index 6eb040c..3a437ed 100644 --- a/debian/control +++ b/debian/control @@ -29,6 +29,7 @@ Depends: ${misc:Depends}, nagios-plugins-linux-paging, nagios-plugins-linux-pressure, nagios-plugins-linux-readonlyfs, + nagios-plugins-linux-selinux, nagios-plugins-linux-swap, nagios-plugins-linux-tcpcount, nagios-plugins-linux-temperature, @@ -42,7 +43,8 @@ Description: Linux plugins for nagios compatible monitoring systems check_clock, check_cpufreq, check_cpu, check_cswch, check_fc, check_ifmountfs, check_intr, check_iowait, check_load, check_memory, check_multipath, check_nbprocs, check_network, check_paging, check_pressure, check_readonlyfs, - check_swap, check_tcpcount, check_temperature, check_uptime, check_users + check_selinux, check_swap, check_tcpcount, check_temperature, check_uptime, + check_users . This package provides the suite of plugins that are most likely to be useful on a central monitoring host. @@ -217,6 +219,15 @@ Description: Linux plugins for nagios compatible monitoring systems . This plugin checks for readonly filesystems. +Package: nagios-plugins-linux-selinux +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: nagios3 | icinga | icinga2 +Description: Linux plugins for nagios compatible monitoring systems + A suite of Nagios/NRPE plugins for monitoring Linux servers and appliances. + . + This plugin checks is SELinux is enabled. + Package: nagios-plugins-linux-swap Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} diff --git a/debian/copyright b/debian/copyright index de9f65c..ed73141 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,7 +7,7 @@ Upstream Authors: Davide Madrisan Copyright: -Copyright (C) 2014-2021 Davide Madrisan +Copyright (C) 2014-2024 Davide Madrisan This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/packages/specs/nagios-plugins-linux.spec.in b/packages/specs/nagios-plugins-linux.spec.in index 562dd3c..981f665 100644 --- a/packages/specs/nagios-plugins-linux.spec.in +++ b/packages/specs/nagios-plugins-linux.spec.in @@ -41,6 +41,7 @@ Requires: nagios-plugins-linux-network Requires: nagios-plugins-linux-paging Requires: nagios-plugins-linux-pressure Requires: nagios-plugins-linux-readonlyfs +Requires: nagios-plugins-linux-selinux Requires: nagios-plugins-linux-swap Requires: nagios-plugins-linux-tcpcount Requires: nagios-plugins-linux-temperature @@ -178,6 +179,13 @@ Group: Applications/System %description readonlyfs This Nagios plugin checks for readonly filesystems. +%package selinux +Summary: Nagios plugins for Linux - check_selinux +Group: Applications/System + +%description selinux +This Nagios plugin checks if SELinux is enabled. + %package swap Summary: Nagios plugins for Linux - check_swap Group: Applications/System @@ -308,6 +316,10 @@ make DESTDIR=%{buildroot} install %defattr(-,root,root) %{_libdir}/nagios/plugins/check_readonlyfs +%files selinux +%defattr(-,root,root) +%{_libdir}/nagios/plugins/check_selinux + %files swap %defattr(-,root,root) %{_libdir}/nagios/plugins/check_swap