From 7ff0e518e4f77a8aae385511a7d46ff32e06bb9c Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:14:51 +0200 Subject: Add libsnmp-dev to github action dependencies --- .github/prepare_debian.sh | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index f7b6cf9f..b5cacd4a 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh @@ -24,6 +24,7 @@ apt-get -y install perl \ libpq-dev \ libradcli-dev \ libnet-snmp-perl \ + libsnmp-dev \ procps \ libdbi0-dev \ libdbd-sqlite3 \ -- cgit v1.2.3-74-g34f1 From 776c51a66f6eb9c3d6f018cb3786c6441f6b7171 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:18:15 +0200 Subject: Add netsnmp lib to specfile --- .github/monitoring-plugins.spec | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/monitoring-plugins.spec b/.github/monitoring-plugins.spec index 10799128..e3352988 100644 --- a/.github/monitoring-plugins.spec +++ b/.github/monitoring-plugins.spec @@ -824,6 +824,7 @@ Provides check_smtp of the Monitoring Plugins. Summary: Monitoring Plugins - check_snmp Requires: %{name} = %{version}-%{release} Requires: net-snmp +Build-Requires: net-snmp-devel %description snmp Provides check_snmp of the Monitoring Plugins. -- cgit v1.2.3-74-g34f1 From 334c7e3e13342995bacaf670f49b1333654520bd Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:27:07 +0200 Subject: Add libsnmp-dev dependency to codeql gh action --- .github/workflows/codeql-analysis.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e748d2eb..6227f98f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -57,9 +57,20 @@ jobs: run: | sudo apt update sudo apt-get install -y --no-install-recommends m4 gettext automake autoconf make build-essential - sudo apt-get install -y --no-install-recommends perl autotools-dev libdbi-dev libldap2-dev libpq-dev \ - libmysqlclient-dev libradcli-dev libkrb5-dev libdbi0-dev \ - libdbd-sqlite3 libssl-dev libcurl4-openssl-dev liburiparser-dev + sudo apt-get install -y --no-install-recommends perl \ + autotools-dev \ + libdbi-dev \ + libldap2-dev \ + libpq-dev \ + libmysqlclient-dev \ + libradcli-dev \ + libkrb5-dev \ + libdbi0-dev \ + libdbd-sqlite3 \ + libssl-dev \ + libcurl4-openssl-dev \ + liburiparser-dev \ + libsnmp-dev - name: Configure build run: | -- cgit v1.2.3-74-g34f1 From d3e1c0314d94e9f97c822fc80659c7234308045f Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:29:56 +0200 Subject: Fix Specfile requires --- .github/monitoring-plugins.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/monitoring-plugins.spec b/.github/monitoring-plugins.spec index e3352988..ce22606b 100644 --- a/.github/monitoring-plugins.spec +++ b/.github/monitoring-plugins.spec @@ -88,6 +88,9 @@ BuildRequires: postgresql-devel # check_radius BuildRequires: radcli-devel +# check_snmp +BuildRequires: net-snmp-devel + %description Common files for Monitoring Plugins @@ -824,7 +827,6 @@ Provides check_smtp of the Monitoring Plugins. Summary: Monitoring Plugins - check_snmp Requires: %{name} = %{version}-%{release} Requires: net-snmp -Build-Requires: net-snmp-devel %description snmp Provides check_snmp of the Monitoring Plugins. -- cgit v1.2.3-74-g34f1 From 76e1a1fa8cbb11bc67fae55a0ae2b596faa66444 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Tue, 9 Sep 2025 01:18:21 +0200 Subject: Activate mib parsing in Debian CI pipeline --- .github/prepare_debian.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github') diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index b5cacd4a..cffe98c5 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh @@ -112,6 +112,8 @@ mkdir -p /var/lib/snmp/mib_indexes sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf service snmpd start +sed 's/^mibs ://' -i /etc/snmp/snmp.conf + # start cron, will be used by check_nagios cron -- cgit v1.2.3-74-g34f1