summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-09-07 14:08:21 (GMT)
committerGitHub <noreply@github.com>2023-09-07 14:08:21 (GMT)
commit128910f79a92655bba65fffa426e1d8498bdeae3 (patch)
treeeb44d60d0e27445ce7c2eb2a1d960053bd2e29c4 /.github
parenta6802bd5f50a5c12ed5bafa4fe9ee14fede7c1e1 (diff)
parent15d7ca8eb1edec26a44d361b57e53831f5c765f7 (diff)
downloadmonitoring-plugins-128910f79a92655bba65fffa426e1d8498bdeae3.tar.gz
Merge branch 'master' into patch-chunk-nobodyrefs/pull/1901/head
Diffstat (limited to '.github')
-rw-r--r--.github/NPTest.cache5
-rwxr-xr-x.github/prepare_debian.sh13
-rw-r--r--.github/workflows/codeql-analysis.yml2
-rw-r--r--.github/workflows/test.yml8
4 files changed, 14 insertions, 14 deletions
diff --git a/.github/NPTest.cache b/.github/NPTest.cache
index 232305a..d488d1b 100644
--- a/.github/NPTest.cache
+++ b/.github/NPTest.cache
@@ -25,8 +25,9 @@
25 'NP_HOST_TCP_POP' => 'pop.web.de', 25 'NP_HOST_TCP_POP' => 'pop.web.de',
26 'NP_HOST_TCP_PROXY' => 'localhost', 26 'NP_HOST_TCP_PROXY' => 'localhost',
27 'NP_HOST_TCP_SMTP' => 'localhost', 27 'NP_HOST_TCP_SMTP' => 'localhost',
28 'NP_HOST_TCP_SMTP_NOTLS' => '', 28 'NP_HOST_TCP_SMTP_NOSTARTTLS' => '',
29 'NP_HOST_TCP_SMTP_TLS' => '', 29 'NP_HOST_TCP_SMTP_STARTTLS' => 'localhost',
30 'NP_HOST_TCP_SMTP_TLS' => 'localhost',
30 'NP_HOST_TLS_CERT' => 'localhost', 31 'NP_HOST_TLS_CERT' => 'localhost',
31 'NP_HOST_TLS_HTTP' => 'localhost', 32 'NP_HOST_TLS_HTTP' => 'localhost',
32 'NP_HOST_UDP_TIME' => 'none', 33 'NP_HOST_UDP_TIME' => 'none',
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 7f5592b..dcf778b 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -108,12 +108,7 @@ ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
108disown %1 108disown %1
109 109
110# snmpd 110# snmpd
111for DIR in /usr/share/snmp/mibs /usr/share/mibs; do 111service snmpd stop
112 rm -f $DIR/ietf/SNMPv2-PDU \
113 $DIR/ietf/IPSEC-SPD-MIB \
114 $DIR/ietf/IPATM-IPMC-MIB \
115 $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB
116done
117mkdir -p /var/lib/snmp/mib_indexes 112mkdir -p /var/lib/snmp/mib_indexes
118sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf 113sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf
119service snmpd start 114service snmpd start
@@ -121,7 +116,11 @@ service snmpd start
121# start cron, will be used by check_nagios 116# start cron, will be used by check_nagios
122cron 117cron
123 118
124# start postfix 119# postfix
120cat <<EOD >> /etc/postfix/master.cf
121smtps inet n - n - - smtpd
122 -o smtpd_tls_wrappermode=yes
123EOD
125service postfix start 124service postfix start
126 125
127# start ftpd 126# start ftpd
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 43b35d3..0317c8c 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -40,7 +40,7 @@ jobs:
40 40
41 steps: 41 steps:
42 - name: Checkout repository 42 - name: Checkout repository
43 uses: actions/checkout@v3 43 uses: actions/checkout@v4
44 44
45 # Initializes the CodeQL tools for scanning. 45 # Initializes the CodeQL tools for scanning.
46 - name: Initialize CodeQL 46 - name: Initialize CodeQL
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9c84acc..77b09f4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -16,9 +16,9 @@ jobs:
16 runs-on: ubuntu-latest 16 runs-on: ubuntu-latest
17 steps: 17 steps:
18 - name: Checkout 18 - name: Checkout
19 uses: actions/checkout@v3 19 uses: actions/checkout@v4
20 - name: Codespell 20 - name: Codespell
21 uses: codespell-project/actions-codespell@master 21 uses: codespell-project/actions-codespell@v2
22 with: 22 with:
23 skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh" 23 skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh"
24 ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners 24 ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners
@@ -31,7 +31,7 @@ jobs:
31# runs-on: ubuntu-latest 31# runs-on: ubuntu-latest
32# steps: 32# steps:
33# - name: Checkout 33# - name: Checkout
34# uses: actions/checkout@v3 34# uses: actions/checkout@v4
35# - name: Lint Code Base 35# - name: Lint Code Base
36# uses: github/super-linter@v5.0.0 36# uses: github/super-linter@v5.0.0
37# env: 37# env:
@@ -57,7 +57,7 @@ jobs:
57 #... 57 #...
58 steps: 58 steps:
59 - name: Git clone repository 59 - name: Git clone repository
60 uses: actions/checkout@v3 60 uses: actions/checkout@v4
61 #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate 61 #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate
62 # uses: mxschmitt/action-tmate@v3 62 # uses: mxschmitt/action-tmate@v3
63 - name: Run the tests on ${{ matrix.distro }} 63 - name: Run the tests on ${{ matrix.distro }}