forked from monitoring-plugins/monitoring-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mysql_detect_mysqldump
- Loading branch information
Showing
567 changed files
with
46,595 additions
and
25,649 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "04:00" | ||
pull-request-branch-name: | ||
separator: "-" | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [master] | ||
schedule: | ||
- cron: '15 18 * * 0' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ['cpp'] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | ||
# Learn more: | ||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
# queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
|
||
- name: Install packages | ||
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 | ||
- name: Configure build | ||
run: | | ||
./tools/setup | ||
./configure --enable-libtap | ||
- name: Build | ||
run: | | ||
make | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,48 @@ | ||
--- | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
# Run test for any PRs | ||
pull_request: | ||
|
||
jobs: | ||
codespell: | ||
name: codespell | ||
strategy: | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Codespell | ||
uses: codespell-project/actions-codespell@v2 | ||
with: | ||
skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh" | ||
ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners | ||
check_filenames: true | ||
check_hidden: true | ||
# super-linter: | ||
# name: super-linter | ||
# strategy: | ||
# fail-fast: false | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
# - name: Lint Code Base | ||
# uses: github/[email protected] | ||
# env: | ||
# DEFAULT_BRANCH: master | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# macos: | ||
# ... | ||
linux: | ||
needs: | ||
- codespell | ||
# - super-linter | ||
runs-on: ubuntu-latest | ||
name: Running tests on ${{ matrix.distro }} | ||
strategy: | ||
|
@@ -24,7 +57,7 @@ jobs: | |
#... | ||
steps: | ||
- name: Git clone repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
#- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate | ||
# uses: mxschmitt/action-tmate@v3 | ||
- name: Run the tests on ${{ matrix.distro }} | ||
|
@@ -40,7 +73,11 @@ jobs: | |
${{ matrix.distro }} \ | ||
/bin/sh -c '${{ matrix.prepare }} && \ | ||
tools/setup && \ | ||
./configure --enable-libtap --with-ipv6=no && \ | ||
./configure --enable-libtap --with-ipv6=no && \ | ||
set -x && \ | ||
tmp_dir=$(mktemp -d -t test-XXXX) && cp -a po/ $tmp_dir/ && \ | ||
cd po && make update-po && cd .. && \ | ||
diff -Nur $tmp_dir/po/*.po po/*.po | tee -a /tmp/po.diff && diff -Nur $tmp_dir/po/*.pot po/*.pot | tee -a /tmp/po.diff && if [ $(wc -l /tmp/po.diff | cut -f 1 -d" ") -gt 0 ]; then echo "Error: Translations needs to be updated with make update-po!" && exit 1; fi && \ | ||
make && \ | ||
make test' | ||
docker container prune -f | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ Using the DLPI support on SysV systems to get the host MAC address in check_dhcp | |
Stenberg, Daniel | ||
Copyright (c) 1996 - 2004, Daniel Stenberg, <[email protected]> | ||
http://curl.haxx.se/ | ||
Use of duplication of macros in m4/np_curl.m4 (slighly adapted for m4/uriparser.m4 too) | ||
Use of duplication of macros in m4/np_curl.m4 (slightly adapted for m4/uriparser.m4 too) | ||
|
||
Coreutils team | ||
Copyright (C) 91, 1995-2004 Free Software Foundation, Inc. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ Jan Wagner | |
Holger Weiss | ||
Michael Wirtgen | ||
Oliver Skibbe | ||
Andreas Baumann | ||
Lorenz Kästle |
Oops, something went wrong.