mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-25 18:58:39 +02:00
Apply suggestions from code review
This commit is contained in:
parent
09e19ef7ec
commit
bc2a4b5d5c
@ -63,7 +63,7 @@ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES\n'\
|
|||||||
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el8/centreon-24.10.repo
|
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el8/centreon-24.10.repo
|
||||||
dnf install -y centreon-connector-perl centreon-clib
|
dnf install -y centreon-connector-perl centreon-clib
|
||||||
|
|
||||||
rm -f /etc/yum.repos.d/centreon-plugins.repo
|
rm -f /etc/yum.repos.d/centreon-24.10.repo
|
||||||
|
|
||||||
mkdir -p /var/lib/centreon/centplugins/
|
mkdir -p /var/lib/centreon/centplugins/
|
||||||
chmod 777 /var/lib/centreon/centplugins/
|
chmod 777 /var/lib/centreon/centplugins/
|
||||||
|
@ -68,7 +68,7 @@ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES\n'\
|
|||||||
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el9/centreon-24.10.repo
|
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el9/centreon-24.10.repo
|
||||||
dnf install -y centreon-connector-perl centreon-clib
|
dnf install -y centreon-connector-perl centreon-clib
|
||||||
|
|
||||||
rm -f /etc/yum.repos.d/centreon-plugins.repo
|
rm -f /etc/yum.repos.d/centreon-24.10.repo
|
||||||
|
|
||||||
mkdir -p /var/lib/centreon/centplugins/
|
mkdir -p /var/lib/centreon/centplugins/
|
||||||
chmod 777 /var/lib/centreon/centplugins/
|
chmod 777 /var/lib/centreon/centplugins/
|
||||||
|
@ -22,6 +22,11 @@ ${cmd} ${CENTREON_PLUGINS}
|
|||||||
jobs ${tc}/11
|
jobs ${tc}/11
|
||||||
[Tags] apps backup rubrik restapi jobs
|
[Tags] apps backup rubrik restapi jobs
|
||||||
|
|
||||||
|
${command} Catenate
|
||||||
|
... ${cmd}
|
||||||
|
... --mode=jobs
|
||||||
|
... ${extraoptions}
|
||||||
|
|
||||||
Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc}
|
Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc}
|
||||||
|
|
||||||
Examples: tc extraoptions expected_result --
|
Examples: tc extraoptions expected_result --
|
||||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT messages help
|
|||||||
... ${CMD}
|
... ${CMD}
|
||||||
... --help
|
... --help
|
||||||
|
|
||||||
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
|
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description: ${tc}
|
||||||
|
|
||||||
Mosquitto MQTT messages ${tc}
|
Mosquitto MQTT messages ${tc}
|
||||||
[Documentation] Check Mosquitto MQTT messages
|
[Documentation] Check Mosquitto MQTT messages
|
||||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT numeric-value help
|
|||||||
... ${CMD}
|
... ${CMD}
|
||||||
... --help
|
... --help
|
||||||
|
|
||||||
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
|
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description: ${tc}
|
||||||
|
|
||||||
Mosquitto MQTT numeric-value ${tc}
|
Mosquitto MQTT numeric-value ${tc}
|
||||||
[Documentation] Check Mosquitto MQTT numeric-value
|
[Documentation] Check Mosquitto MQTT numeric-value
|
||||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT string-value help
|
|||||||
... ${CMD}
|
... ${CMD}
|
||||||
... --help
|
... --help
|
||||||
|
|
||||||
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
|
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description: ${tc}
|
||||||
|
|
||||||
Mosquitto MQTT string-value ${tc}
|
Mosquitto MQTT string-value ${tc}
|
||||||
[Documentation] Check Mosquitto MQTT string-value
|
[Documentation] Check Mosquitto MQTT string-value
|
||||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT uptime help
|
|||||||
... ${CMD}
|
... ${CMD}
|
||||||
... --help
|
... --help
|
||||||
|
|
||||||
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
|
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description: ${tc}
|
||||||
|
|
||||||
Mosquitto MQTT uptime ${tc}
|
Mosquitto MQTT uptime ${tc}
|
||||||
[Documentation] Check Mosquitto MQTT uptime
|
[Documentation] Check Mosquitto MQTT uptime
|
||||||
|
Loading…
x
Reference in New Issue
Block a user