mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
Merge branch 'develop' into MON-34064-packaging-bookworm
This commit is contained in:
commit
d3628db0ed
32
.github/actions/package-nfpm/action.yml
vendored
32
.github/actions/package-nfpm/action.yml
vendored
@ -10,6 +10,9 @@ inputs:
|
|||||||
distrib:
|
distrib:
|
||||||
description: The package distrib
|
description: The package distrib
|
||||||
required: true
|
required: true
|
||||||
|
version:
|
||||||
|
description: The package version ([major_version].[minor_version])
|
||||||
|
required: false
|
||||||
major_version:
|
major_version:
|
||||||
description: The major version
|
description: The major version
|
||||||
required: false
|
required: false
|
||||||
@ -18,7 +21,7 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
release:
|
release:
|
||||||
description: The package release number
|
description: The package release number
|
||||||
required: false
|
required: true
|
||||||
arch:
|
arch:
|
||||||
description: The package architecture
|
description: The package architecture
|
||||||
required: false
|
required: false
|
||||||
@ -37,6 +40,9 @@ inputs:
|
|||||||
rpm_gpg_signing_passphrase:
|
rpm_gpg_signing_passphrase:
|
||||||
description: The rpm gpg signing passphrase
|
description: The rpm gpg signing passphrase
|
||||||
required: true
|
required: true
|
||||||
|
stability:
|
||||||
|
description: "Branch stability (stable, testing, unstable, canary)"
|
||||||
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
@ -59,8 +65,15 @@ runs:
|
|||||||
RPM_GPG_SIGNING_KEY_ID: ${{ inputs.rpm_gpg_signing_key_id }}
|
RPM_GPG_SIGNING_KEY_ID: ${{ inputs.rpm_gpg_signing_key_id }}
|
||||||
RPM_GPG_SIGNING_PASSPHRASE: ${{ inputs.rpm_gpg_signing_passphrase }}
|
RPM_GPG_SIGNING_PASSPHRASE: ${{ inputs.rpm_gpg_signing_passphrase }}
|
||||||
run: |
|
run: |
|
||||||
export MAJOR_VERSION="${{ inputs.major_version }}"
|
if [ -z ${{ inputs.version }} ]; then
|
||||||
export VERSION="${{ inputs.major_version }}.${{ inputs.minor_version }}"
|
export VERSION="${{ inputs.major_version }}.${{ inputs.minor_version }}"
|
||||||
|
export MAJOR_VERSION="${{ inputs.major_version }}"
|
||||||
|
export MINOR_VERSION="${{ inputs.minor_version }}"
|
||||||
|
elif [ -z ${{ inputs.major_version }} ]; then
|
||||||
|
export VERSION="${{ inputs.version }}"
|
||||||
|
export MAJOR_VERSION=$( echo $VERSION | cut -d "-" -f1 )
|
||||||
|
export MINOR_VERSION=$( echo $VERSION | cut -d "-" -f2 )
|
||||||
|
fi
|
||||||
export RELEASE="${{ inputs.release }}"
|
export RELEASE="${{ inputs.release }}"
|
||||||
export ARCH="${{ inputs.arch }}"
|
export ARCH="${{ inputs.arch }}"
|
||||||
|
|
||||||
@ -70,22 +83,27 @@ runs:
|
|||||||
export APACHE_GROUP="apache"
|
export APACHE_GROUP="apache"
|
||||||
else
|
else
|
||||||
export DIST=""
|
export DIST=""
|
||||||
|
if [ "${{ inputs.stability }}" == "unstable" ] || [ "${{ inputs.stability }}" == "canary" ]; then
|
||||||
|
export RELEASE="$RELEASE~${{ inputs.distrib }}"
|
||||||
|
elif [ "${{ inputs.stability }}" == "testing" ]; then
|
||||||
|
export RELEASE="1~${{ inputs.distrib }}"
|
||||||
|
fi
|
||||||
export APACHE_USER="www-data"
|
export APACHE_USER="www-data"
|
||||||
export APACHE_GROUP="www-data"
|
export APACHE_GROUP="www-data"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 )
|
if [ -z "$MAJOR_VERSION" ]; then
|
||||||
MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 )
|
MAJOR_LEFT=$( echo $VERSION | cut -d "." -f1 )
|
||||||
BUMP_MAJOR_RIGHT=$(( MAJOR_RIGHT_PART + 1 ))
|
MAJOR_RIGHT=$( echo $VERSION | cut -d "-" -f1 | cut -d "." -f2 )
|
||||||
if [ "$MAJOR_RIGHT" = "04" ]; then
|
if [ "$MAJOR_RIGHT" == "04" ]; then
|
||||||
BUMP_MAJOR_LEFT="$MAJOR_LEFT"
|
BUMP_MAJOR_LEFT="$MAJOR_LEFT"
|
||||||
BUMP_MAJOR_RIGHT="10"
|
BUMP_MAJOR_RIGHT="10"
|
||||||
else
|
else
|
||||||
BUMP_MAJOR_LEFT=$(( $MAJOR_LEFT + 1 ))
|
BUMP_MAJOR_LEFT=$(( $MAJOR_LEFT + 1 ))
|
||||||
BUMP_MAJOR_RIGHT="04"
|
BUMP_MAJOR_RIGHT="04"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export NEXT_MAJOR_VERSION="$BUMP_MAJOR_LEFT.$BUMP_MAJOR_RIGHT"
|
export NEXT_MAJOR_VERSION="$BUMP_MAJOR_LEFT.$BUMP_MAJOR_RIGHT"
|
||||||
|
fi
|
||||||
|
|
||||||
export RPM_SIGNING_KEY_FILE="$(pwd)/key.gpg"
|
export RPM_SIGNING_KEY_FILE="$(pwd)/key.gpg"
|
||||||
export RPM_SIGNING_KEY_ID="$RPM_GPG_SIGNING_KEY_ID"
|
export RPM_SIGNING_KEY_ID="$RPM_GPG_SIGNING_KEY_ID"
|
||||||
|
93
.github/actions/package/action.yml
vendored
93
.github/actions/package/action.yml
vendored
@ -1,93 +0,0 @@
|
|||||||
name: package
|
|
||||||
description: Package module using nfpm
|
|
||||||
inputs:
|
|
||||||
nfpm_file_pattern:
|
|
||||||
description: The pattern of the nfpm configuration file(s)
|
|
||||||
required: true
|
|
||||||
package_extension:
|
|
||||||
description: The package extension (deb or rpm)
|
|
||||||
required: true
|
|
||||||
distrib:
|
|
||||||
description: The package distrib
|
|
||||||
required: true
|
|
||||||
version:
|
|
||||||
description: The package version
|
|
||||||
required: false
|
|
||||||
release:
|
|
||||||
description: The package release number
|
|
||||||
required: false
|
|
||||||
commit_hash:
|
|
||||||
description: The commit hash
|
|
||||||
required: true
|
|
||||||
cache_key:
|
|
||||||
description: The package files cache key
|
|
||||||
required: true
|
|
||||||
rpm_gpg_key:
|
|
||||||
description: The rpm gpg key
|
|
||||||
required: true
|
|
||||||
rpm_gpg_signing_key_id:
|
|
||||||
description: The rpm gpg signing key identifier
|
|
||||||
required: true
|
|
||||||
rpm_gpg_signing_passphrase:
|
|
||||||
description: The rpm gpg signing passphrase
|
|
||||||
required: true
|
|
||||||
stability:
|
|
||||||
description: "The package stability (stable, testing, unstable, canary)"
|
|
||||||
required: true
|
|
||||||
|
|
||||||
runs:
|
|
||||||
using: composite
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Import gpg key
|
|
||||||
env:
|
|
||||||
RPM_GPG_SIGNING_KEY: ${{ inputs.rpm_gpg_key }}
|
|
||||||
run: echo -n "$RPM_GPG_SIGNING_KEY" > key.gpg
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Build ${{ inputs.package_extension }} files
|
|
||||||
env:
|
|
||||||
RPM_GPG_SIGNING_KEY_ID: ${{ inputs.rpm_gpg_signing_key_id }}
|
|
||||||
RPM_GPG_SIGNING_PASSPHRASE: ${{ inputs.rpm_gpg_signing_passphrase }}
|
|
||||||
run: |
|
|
||||||
export VERSION="${{ inputs.version }}"
|
|
||||||
export RELEASE="${{ inputs.release }}"
|
|
||||||
|
|
||||||
if [ "${{ inputs.package_extension }}" = "rpm" ]; then
|
|
||||||
export DIST=".${{ inputs.distrib }}"
|
|
||||||
else
|
|
||||||
if [ "${{ inputs.stability }}" = "unstable" ] || [ "${{ inputs.stability }}" = "canary" ]; then
|
|
||||||
export RELEASE="$RELEASE-${{ inputs.distrib }}"
|
|
||||||
elif [ "${{ inputs.stability }}" = "testing" ]; then
|
|
||||||
export RELEASE="${{ inputs.distrib }}"
|
|
||||||
fi
|
|
||||||
export DIST=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
export RPM_SIGNING_KEY_FILE="$(pwd)/key.gpg"
|
|
||||||
export RPM_SIGNING_KEY_ID="$RPM_GPG_SIGNING_KEY_ID"
|
|
||||||
export NFPM_RPM_PASSPHRASE="$RPM_GPG_SIGNING_PASSPHRASE"
|
|
||||||
|
|
||||||
for FILE in ${{ inputs.nfpm_file_pattern }}; do
|
|
||||||
DIRNAME=$(dirname $FILE)
|
|
||||||
BASENAME=$(basename $FILE)
|
|
||||||
cd $DIRNAME
|
|
||||||
sed -i "s/@COMMIT_HASH@/${{ inputs.commit_hash }}/g" $BASENAME
|
|
||||||
nfpm package --config $BASENAME --packager ${{ inputs.package_extension }}
|
|
||||||
cd -
|
|
||||||
mv $DIRNAME/*.${{ inputs.package_extension }} ./
|
|
||||||
done
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Upload package artifacts
|
|
||||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
|
||||||
with:
|
|
||||||
name: packages-${{ inputs.distrib }}
|
|
||||||
path: ./*.${{ inputs.package_extension }}
|
|
||||||
retention-days: 1
|
|
||||||
|
|
||||||
- name: Cache packages
|
|
||||||
uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
|
|
||||||
with:
|
|
||||||
path: ./*.${{ inputs.package_extension }}
|
|
||||||
key: ${{ inputs.cache_key }}
|
|
2
.github/workflows/connector-vmware.yml
vendored
2
.github/workflows/connector-vmware.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
uses: ./.github/actions/package
|
uses: ./.github/actions/package-nfpm
|
||||||
with:
|
with:
|
||||||
nfpm_file_pattern: "connectors/vmware/packaging/centreon-plugin-virtualization-vmware-daemon.yaml"
|
nfpm_file_pattern: "connectors/vmware/packaging/centreon-plugin-virtualization-vmware-daemon.yaml"
|
||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
|
4
.github/workflows/nrpe.yml
vendored
4
.github/workflows/nrpe.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
uses: ./.github/actions/package
|
uses: ./.github/actions/package-nfpm
|
||||||
with:
|
with:
|
||||||
nfpm_file_pattern: "nrpe/packaging/*.yaml"
|
nfpm_file_pattern: "nrpe/packaging/*.yaml"
|
||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
@ -143,7 +143,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
distrib: [bullseye]
|
distrib: [bullseye, bookworm]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
|
2
.github/workflows/perl-crypt-argon2.yml
vendored
2
.github/workflows/perl-crypt-argon2.yml
vendored
@ -119,11 +119,13 @@ jobs:
|
|||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
release: 3
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-crypt-argon2-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-crypt-argon2-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
||||||
|
stability: ${{ needs.get-environment.outputs.stability }}
|
||||||
|
|
||||||
# set condition to true if artifacts are needed
|
# set condition to true if artifacts are needed
|
||||||
- if: ${{ false }}
|
- if: ${{ false }}
|
||||||
|
2
.github/workflows/perl-json-path.yml
vendored
2
.github/workflows/perl-json-path.yml
vendored
@ -104,12 +104,14 @@ jobs:
|
|||||||
nfpm_file_pattern: "dependencies/perl-json-path/perl-json-path.yaml"
|
nfpm_file_pattern: "dependencies/perl-json-path/perl-json-path.yaml"
|
||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
|
release: 3
|
||||||
arch: all
|
arch: all
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-json-path-${{ matrix.distrib }}-${{ github.head_ref || github.ref_name }}
|
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-json-path-${{ matrix.distrib }}-${{ github.head_ref || github.ref_name }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
||||||
|
stability: ${{ needs.get-environment.outputs.stability }}
|
||||||
|
|
||||||
# set condition to true if artifacts are needed
|
# set condition to true if artifacts are needed
|
||||||
- if: ${{ false }}
|
- if: ${{ false }}
|
||||||
|
2
.github/workflows/perl-libssh-session.yml
vendored
2
.github/workflows/perl-libssh-session.yml
vendored
@ -117,11 +117,13 @@ jobs:
|
|||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
release: 4
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-libssh-session-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-libssh-session-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
||||||
|
stability: ${{ needs.get-environment.outputs.stability }}
|
||||||
|
|
||||||
# set condition to true if artifacts are needed
|
# set condition to true if artifacts are needed
|
||||||
- if: ${{ false }}
|
- if: ${{ false }}
|
||||||
|
2
.github/workflows/perl-net-curl.yml
vendored
2
.github/workflows/perl-net-curl.yml
vendored
@ -118,10 +118,12 @@ jobs:
|
|||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
|
release: 3
|
||||||
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-net-curl-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-net-curl-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
||||||
|
stability: ${{ needs.get-environment.outputs.stability }}
|
||||||
|
|
||||||
# set condition to true if artifacts are needed
|
# set condition to true if artifacts are needed
|
||||||
- if: ${{ false }}
|
- if: ${{ false }}
|
||||||
|
6
.github/workflows/perl-openwsman.yml
vendored
6
.github/workflows/perl-openwsman.yml
vendored
@ -157,11 +157,13 @@ jobs:
|
|||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
release: 2
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-sblim-sfcc-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-sblim-sfcc-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
||||||
|
stability: ${{ needs.get-environment.outputs.stability }}
|
||||||
|
|
||||||
- name: Package libwsman
|
- name: Package libwsman
|
||||||
uses: ./.github/actions/package-nfpm
|
uses: ./.github/actions/package-nfpm
|
||||||
@ -170,11 +172,13 @@ jobs:
|
|||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
release: 4
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-libwsman-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-libwsman-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
||||||
|
stability: ${{ needs.get-environment.outputs.stability }}
|
||||||
|
|
||||||
- name: Package perl-openwsman
|
- name: Package perl-openwsman
|
||||||
uses: ./.github/actions/package-nfpm
|
uses: ./.github/actions/package-nfpm
|
||||||
@ -183,11 +187,13 @@ jobs:
|
|||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
release: 4
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-openwsman-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
cache_key: cache-${{ github.sha }}-${{ matrix.package_extension }}-perl-openwsman-${{ matrix.distrib }}-${{ matrix.arch }}-${{ github.head_ref || github.ref_name }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
|
||||||
|
stability: ${{ needs.get-environment.outputs.stability }}
|
||||||
|
|
||||||
# set condition to true if artifacts are needed
|
# set condition to true if artifacts are needed
|
||||||
- if: ${{ false }}
|
- if: ${{ false }}
|
||||||
|
3
.github/workflows/perl-vmware-vsphere.yml
vendored
3
.github/workflows/perl-vmware-vsphere.yml
vendored
@ -88,12 +88,13 @@ jobs:
|
|||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
uses: ./.github/actions/package
|
uses: ./.github/actions/package-nfpm
|
||||||
with:
|
with:
|
||||||
nfpm_file_pattern: "dependencies/perl-vmware-vsphere/packaging/perl-vmware-vsphere.yaml"
|
nfpm_file_pattern: "dependencies/perl-vmware-vsphere/packaging/perl-vmware-vsphere.yaml"
|
||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
package_extension: ${{ matrix.package_extension }}
|
package_extension: ${{ matrix.package_extension }}
|
||||||
commit_hash: ${{ github.sha }}
|
commit_hash: ${{ github.sha }}
|
||||||
|
release: ${{ needs.get-environment.outputs.release }}
|
||||||
cache_key: ${{ github.sha }}-${{ github.run_id }}-${{ matrix.package_extension }}-${{ matrix.distrib }}
|
cache_key: ${{ github.sha }}-${{ github.run_id }}-${{ matrix.package_extension }}-${{ matrix.distrib }}
|
||||||
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
rpm_gpg_key: ${{ secrets.RPM_GPG_SIGNING_KEY }}
|
||||||
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
rpm_gpg_signing_key_id: ${{ secrets.RPM_GPG_SIGNING_KEY_ID }}
|
||||||
|
2
.github/workflows/plugins-selinux.yml
vendored
2
.github/workflows/plugins-selinux.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
uses: ./.github/actions/package
|
uses: ./.github/actions/package-nfpm
|
||||||
with:
|
with:
|
||||||
nfpm_file_pattern: "selinux/packaging/centreon-plugins-selinux.yaml"
|
nfpm_file_pattern: "selinux/packaging/centreon-plugins-selinux.yaml"
|
||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
|
2
.github/workflows/plugins.yml
vendored
2
.github/workflows/plugins.yml
vendored
@ -220,7 +220,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- uses: ./.github/actions/package
|
- uses: ./.github/actions/package-nfpm
|
||||||
with:
|
with:
|
||||||
nfpm_file_pattern: ".github/packaging/*.yaml"
|
nfpm_file_pattern: ".github/packaging/*.yaml"
|
||||||
distrib: ${{ matrix.distrib }}
|
distrib: ${{ matrix.distrib }}
|
||||||
|
@ -3,7 +3,7 @@ arch: "${ARCH}"
|
|||||||
platform: "linux"
|
platform: "linux"
|
||||||
version_schema: "none"
|
version_schema: "none"
|
||||||
version: "0.019"
|
version: "0.019"
|
||||||
release: "2${DIST}"
|
release: "${RELEASE}${DIST}"
|
||||||
section: "default"
|
section: "default"
|
||||||
priority: "optional"
|
priority: "optional"
|
||||||
maintainer: "Centreon <contact@centreon.com>"
|
maintainer: "Centreon <contact@centreon.com>"
|
||||||
|
@ -3,7 +3,7 @@ arch: "${ARCH}"
|
|||||||
platform: "linux"
|
platform: "linux"
|
||||||
version_schema: "none"
|
version_schema: "none"
|
||||||
version: "@VERSION@"
|
version: "@VERSION@"
|
||||||
release: "2${DIST}"
|
release: "${RELEASE}${DIST}"
|
||||||
section: "default"
|
section: "default"
|
||||||
priority: "optional"
|
priority: "optional"
|
||||||
maintainer: "Centreon <contact@centreon.com>"
|
maintainer: "Centreon <contact@centreon.com>"
|
||||||
|
@ -3,7 +3,7 @@ arch: "${ARCH}"
|
|||||||
platform: "linux"
|
platform: "linux"
|
||||||
version_schema: "none"
|
version_schema: "none"
|
||||||
version: "0.8"
|
version: "0.8"
|
||||||
release: "3${DIST}"
|
release: "${RELEASE}${DIST}"
|
||||||
section: "default"
|
section: "default"
|
||||||
priority: "optional"
|
priority: "optional"
|
||||||
maintainer: "Centreon <contact@centreon.com>"
|
maintainer: "Centreon <contact@centreon.com>"
|
||||||
|
@ -3,7 +3,7 @@ arch: "${ARCH}"
|
|||||||
platform: "linux"
|
platform: "linux"
|
||||||
version_schema: "none"
|
version_schema: "none"
|
||||||
version: "0.54"
|
version: "0.54"
|
||||||
release: "2${DIST}"
|
release: "${RELEASE}${DIST}"
|
||||||
section: "default"
|
section: "default"
|
||||||
priority: "optional"
|
priority: "optional"
|
||||||
maintainer: "Centreon <contact@centreon.com>"
|
maintainer: "Centreon <contact@centreon.com>"
|
||||||
|
2
dependencies/perl-openwsman/libwsman.yaml
vendored
2
dependencies/perl-openwsman/libwsman.yaml
vendored
@ -3,7 +3,7 @@ arch: "${ARCH}"
|
|||||||
platform: "linux"
|
platform: "linux"
|
||||||
version_schema: "none"
|
version_schema: "none"
|
||||||
version: "@VERSION@"
|
version: "@VERSION@"
|
||||||
release: "1${DIST}"
|
release: "${RELEASE}${DIST}"
|
||||||
section: "default"
|
section: "default"
|
||||||
priority: "optional"
|
priority: "optional"
|
||||||
maintainer: "Centreon <contact@centreon.com>"
|
maintainer: "Centreon <contact@centreon.com>"
|
||||||
|
@ -3,7 +3,7 @@ arch: "${ARCH}"
|
|||||||
platform: "linux"
|
platform: "linux"
|
||||||
version_schema: "none"
|
version_schema: "none"
|
||||||
version: "@VERSION@"
|
version: "@VERSION@"
|
||||||
release: "3${DIST}"
|
release: "${RELEASE}${DIST}"
|
||||||
section: "default"
|
section: "default"
|
||||||
priority: "optional"
|
priority: "optional"
|
||||||
maintainer: "Centreon <contact@centreon.com>"
|
maintainer: "Centreon <contact@centreon.com>"
|
||||||
|
2
dependencies/perl-openwsman/sblim-sfcc.yaml
vendored
2
dependencies/perl-openwsman/sblim-sfcc.yaml
vendored
@ -3,7 +3,7 @@ arch: "${ARCH}"
|
|||||||
platform: "linux"
|
platform: "linux"
|
||||||
version_schema: "none"
|
version_schema: "none"
|
||||||
version: "2.7.2"
|
version: "2.7.2"
|
||||||
release: "1${DIST}"
|
release: "${RELEASE}${DIST}"
|
||||||
section: "default"
|
section: "default"
|
||||||
priority: "optional"
|
priority: "optional"
|
||||||
maintainer: "Centreon <contact@centreon.com>"
|
maintainer: "Centreon <contact@centreon.com>"
|
||||||
|
@ -86,19 +86,19 @@ WARN : Probably not work for java -version < 7.
|
|||||||
|
|
||||||
=item B<--warning-system>
|
=item B<--warning-system>
|
||||||
|
|
||||||
Warning threshold of System cpuload
|
Warning threshold of system CPU load.
|
||||||
|
|
||||||
=item B<--critical-system>
|
=item B<--critical-system>
|
||||||
|
|
||||||
Critical threshold of System cpuload
|
Critical threshold of system CPU load.
|
||||||
|
|
||||||
=item B<--warning-process>
|
=item B<--warning-process>
|
||||||
|
|
||||||
Warning threshold of Process cpuload
|
Warning threshold of process CPU load.
|
||||||
|
|
||||||
=item B<--critical-process>
|
=item B<--critical-process>
|
||||||
|
|
||||||
Critical threshold of Process cpuload
|
Critical threshold of process CPU load.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -1957,7 +1957,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Collect and compute HTTP datas.
|
Collect and compute HTTP data.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Cache SNMP datas in a JSON cache file.
|
Cache SNMP data in a JSON cache file.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -1646,7 +1646,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Collect and compute SNMP datas.
|
Collect and compute SNMP data.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check host cpu utilization.
|
Check host CPU utilization.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cluster cpu usage.
|
Check cluster CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check ESX cpu usage.
|
Check ESX CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check virtual machine cpu usage.
|
Check virtual machine CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu.
|
Check CPU.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ Example: adding --display-transform-src='dev' --display-transform-dst='run' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache storage datas.
|
Display cache storage data.
|
||||||
|
|
||||||
=item B<--space-reservation>
|
=item B<--space-reservation>
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (AIRESPACE-SWITCHING-MIB).
|
Check CPU usage (AIRESPACE-SWITCHING-MIB).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage of web security and mail (ASYNCOS-MAIL-MIB, ASYNCOSWEBSECURITYAPPLIANCE-MIB).
|
Check CPU usage of web security and mail (ASYNCOS-MAIL-MIB, ASYNCOSWEBSECURITYAPPLIANCE-MIB).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (CISCOSBmng.mib).
|
Check CPU usage (CISCOSBmng.mib).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -265,13 +265,13 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (CISCO-PROCESS-MIB and CISCO-SYSTEM-EXT-MIB).
|
Check CPU usage (CISCO-PROCESS-MIB and CISCO-SYSTEM-EXT-MIB).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
=item B<--check-order>
|
=item B<--check-order>
|
||||||
|
|
||||||
Check cpu in standard cisco mib. If you have some issue (wrong cpu information in a specific mib), you can change the order
|
Check CPU in standard cisco mib. If you have some issue (wrong CPU information in a specific mib), you can change the order
|
||||||
(default: 'process,old_sys,system_ext').
|
(default: 'process,old_sys,system_ext').
|
||||||
|
|
||||||
=item B<--warning-*> B<--critical-*>
|
=item B<--warning-*> B<--critical-*>
|
||||||
|
@ -456,7 +456,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu load usage.
|
Check CPU load.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (FASTPATH-SWITCHING-MIB).
|
Check CPU usage (FASTPATH-SWITCHING-MIB).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usages.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check system cpu usage (FORTINET-FORTIGATE-MIB).
|
Check system CPU usage (FORTINET-FORTIGATE-MIB).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
@ -179,11 +179,11 @@ Can be: 'core', 'average', 'cluster-average'.
|
|||||||
|
|
||||||
=item B<--cluster>
|
=item B<--cluster>
|
||||||
|
|
||||||
Add cluster cpu informations.
|
Add cluster CPU informations.
|
||||||
|
|
||||||
=item B<--filter-core>
|
=item B<--filter-core>
|
||||||
|
|
||||||
Core cpu to monitor (can be a regexp).
|
Core CPU to monitor (can be a regexp).
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -307,7 +307,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ Time in minutes before reloading cache file (default: 180).
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache storage datas.
|
Display cache storage data.
|
||||||
|
|
||||||
=item B<--filter-storage-type>
|
=item B<--filter-storage-type>
|
||||||
|
|
||||||
|
@ -94,19 +94,19 @@ perl centreon_plugins.pl --plugin=apps::tomcat::jmx::plugin --custommode=jolokia
|
|||||||
|
|
||||||
=item B<--warning-system>
|
=item B<--warning-system>
|
||||||
|
|
||||||
Warning threshold of System cpuload
|
Warning threshold of system CPU load.
|
||||||
|
|
||||||
=item B<--critical-system>
|
=item B<--critical-system>
|
||||||
|
|
||||||
Critical threshold of System cpuload
|
Critical threshold of system CPU load.
|
||||||
|
|
||||||
=item B<--warning-process>
|
=item B<--warning-process>
|
||||||
|
|
||||||
Warning threshold of Process cpuload
|
Warning threshold of process CPU load.
|
||||||
|
|
||||||
=item B<--critical-process>
|
=item B<--critical-process>
|
||||||
|
|
||||||
Critical threshold of Process cpuload
|
Critical threshold of process CPU load.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -1534,7 +1534,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Collect and compute SQL datas.
|
Collect and compute SQL data.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -1553,15 +1553,15 @@ Common examples:
|
|||||||
|
|
||||||
=over 4
|
=over 4
|
||||||
|
|
||||||
Convert storage free perfdata into used: --change-perfdata=free,used,invert()
|
Convert storage free perfdata into used: --change-perfdata='free,used,invert()'
|
||||||
|
|
||||||
Convert storage free perfdata into used: --change-perfdata=used,free,invert()
|
Convert storage free perfdata into used: --change-perfdata='used,free,invert()'
|
||||||
|
|
||||||
Scale traffic values automatically: --change-perfdata=traffic,,scale(auto)
|
Scale traffic values automatically: --change-perfdata='traffic,,scale(auto)'
|
||||||
|
|
||||||
Scale traffic values in Mbps: --change-perfdata=traffic_in,,scale(Mbps),mbps
|
Scale traffic values in Mbps: --change-perfdata='traffic_in,,scale(Mbps),mbps'
|
||||||
|
|
||||||
Change traffic values in percent: --change-perfdata=traffic_in,,percent()
|
Change traffic values in percent: --change-perfdata='traffic_in,,percent()'
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ Check containers CPU usage and throttled.
|
|||||||
|
|
||||||
=item B<--cpu-attribute>
|
=item B<--cpu-attribute>
|
||||||
|
|
||||||
Set the cpu attribute to match element (must be a PromQL filter, Default: 'cpu="total"')
|
Set the CPU attribute to match element (must be a PromQL filter, Default: 'cpu="total"')
|
||||||
|
|
||||||
=item B<--container>
|
=item B<--container>
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ Filter on a specific instance (must be a PromQL filter, Default: 'instance=~".*"
|
|||||||
|
|
||||||
=item B<--cpu>
|
=item B<--cpu>
|
||||||
|
|
||||||
Filter on a specific cpu (must be a PromQL filter, Default: 'cpu=~".*"')
|
Filter on a specific CPU (must be a PromQL filter, Default: 'cpu=~".*"')
|
||||||
|
|
||||||
=item B<--warning-*>
|
=item B<--warning-*>
|
||||||
|
|
||||||
|
@ -312,7 +312,7 @@ Filter on a specific instance (must be a PromQL filter, Default: 'instance=~".*"
|
|||||||
|
|
||||||
=item B<--cpu>
|
=item B<--cpu>
|
||||||
|
|
||||||
Filter on a specific cpu (must be a PromQL filter, Default: 'cpu=~".*"')
|
Filter on a specific CPU (must be a PromQL filter, Default: 'cpu=~".*"')
|
||||||
|
|
||||||
=item B<--type>
|
=item B<--type>
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check device cpu, memory and state.
|
Check device CPU, memory and state.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usages.
|
Check CPU usages.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -383,7 +383,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (AlcatelIND1Health.mib).
|
Check CPU usage (AlcatelIND1Health.mib).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu (worked since firmware 10.10).
|
Check CPU (worked since firmware 10.10).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ Check system CPUs.
|
|||||||
|
|
||||||
=item B<--use-ucd>
|
=item B<--use-ucd>
|
||||||
|
|
||||||
Use UCD mib for cpu average.
|
Use UCD mib for CPU average.
|
||||||
|
|
||||||
=item B<--warning-average>
|
=item B<--warning-average>
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -477,7 +477,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check system cpu load.
|
Check system CPU load.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -45,6 +45,6 @@ __END__
|
|||||||
=head1 PLUGIN DESCRIPTION
|
=head1 PLUGIN DESCRIPTION
|
||||||
|
|
||||||
Check Beeware equipments in SNMP.
|
Check Beeware equipments in SNMP.
|
||||||
Please use plugin SNMP Linux for system checks ('cpu', 'memory', 'traffic',...).
|
Please use the SNMP Linux plugin for system checks (CPU, memory, traffic, ...).
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@ -97,7 +97,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check system cpu usage (SW.mib).
|
Check system CPU usage (SW.mib).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -377,7 +377,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (NS-MIB-smiv2).
|
Check CPU usage (NS-MIB-smiv2).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (sarian-monitor.mib).
|
Check CPU usage (sarian-monitor.mib).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (env_mib.mib).
|
Check CPU usage (env_mib.mib).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -256,13 +256,13 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
=item B<--check-order>
|
=item B<--check-order>
|
||||||
|
|
||||||
Check cpu in standard dlink mib. If you have some issue (wrong cpu information in a specific mib), you can change the order
|
Check CPU in standard dlink mib. If you have some issue (wrong CPU information in a specific mib), you can change the order
|
||||||
(default: 'common,industrial,agent').
|
(default: 'common,industrial,agent').
|
||||||
|
|
||||||
=item B<--warning-*> B<--critical-*>
|
=item B<--warning-*> B<--critical-*>
|
||||||
|
@ -248,7 +248,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -46,6 +46,6 @@ __END__
|
|||||||
=head1 PLUGIN DESCRIPTION
|
=head1 PLUGIN DESCRIPTION
|
||||||
|
|
||||||
Check Efficient IP equipment in SNMP.
|
Check Efficient IP equipment in SNMP.
|
||||||
Please use plugin SNMP Linux for system checks ('cpu', 'memory', 'traffic',...).
|
Please use the SNMP Linux plugin for system checks (CPU, memory, traffic, ...).
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@ -260,7 +260,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -56,6 +56,6 @@ __END__
|
|||||||
=head1 PLUGIN DESCRIPTION
|
=head1 PLUGIN DESCRIPTION
|
||||||
|
|
||||||
Check F-5 hardware in SNMP.
|
Check F-5 hardware in SNMP.
|
||||||
Please use plugin SNMP Linux for system checks ('cpu', 'memory', 'traffic',...).
|
Please use the SNMP Linux plugin for system checks (CPU, memory, traffic, ...).
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@ -79,7 +79,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage (hpSwitchStat.mib).
|
Check CPU usage (hpSwitchStat.mib).
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -394,7 +394,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -303,7 +303,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage.
|
Check CPU usage.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -378,7 +378,7 @@ Example: adding --display-transform-src='eth' --display-transform-dst='ens' wil
|
|||||||
|
|
||||||
=item B<--show-cache>
|
=item B<--show-cache>
|
||||||
|
|
||||||
Display cache interface datas.
|
Display cache interface data.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user