mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-24 18:28:25 +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 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/
|
||||
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 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/
|
||||
chmod 777 /var/lib/centreon/centplugins/
|
||||
|
@ -22,6 +22,11 @@ ${cmd} ${CENTREON_PLUGINS}
|
||||
jobs ${tc}/11
|
||||
[Tags] apps backup rubrik restapi jobs
|
||||
|
||||
${command} Catenate
|
||||
... ${cmd}
|
||||
... --mode=jobs
|
||||
... ${extraoptions}
|
||||
|
||||
Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc}
|
||||
|
||||
Examples: tc extraoptions expected_result --
|
||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT messages help
|
||||
... ${CMD}
|
||||
... --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}
|
||||
[Documentation] Check Mosquitto MQTT messages
|
||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT numeric-value help
|
||||
... ${CMD}
|
||||
... --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}
|
||||
[Documentation] Check Mosquitto MQTT numeric-value
|
||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT string-value help
|
||||
... ${CMD}
|
||||
... --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}
|
||||
[Documentation] Check Mosquitto MQTT string-value
|
||||
|
@ -32,7 +32,7 @@ Mosquitto MQTT uptime help
|
||||
... ${CMD}
|
||||
... --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}
|
||||
[Documentation] Check Mosquitto MQTT uptime
|
||||
|
Loading…
x
Reference in New Issue
Block a user