storage::netapp::ontap::restapi::plugin has a threshold which is not used
Opened this issue · 0 comments
BUG REPORT INFORMATION
Prerequisites
The opened issue, must be code related. GitHub is not meant for support. Feel free to check the CONTRIBUTING section for more details.
22.04.0
For the RPM based systems
-- Copy/Paste the result of the following command --
centreon-22.04.0-2.el8.noarch
centreon-auto-discovery-server-22.04.0-1.el8.noarch
centreon-broker-22.04.0-13.el8.x86_64
centreon-broker-cbd-22.04.0-13.el8.x86_64
centreon-broker-cbmod-22.04.0-13.el8.x86_64
centreon-broker-core-22.04.0-13.el8.x86_64
centreon-broker-storage-22.04.0-13.el8.x86_64
centreon-central-22.04.0-2.el8.noarch
centreon-clib-22.04.0-13.el8.x86_64
centreon-common-22.04.0-2.el8.noarch
centreon-connector-22.04.0-13.el8.x86_64
centreon-connector-perl-22.04.0-13.el8.x86_64
centreon-connector-ssh-22.04.0-13.el8.x86_64
centreon-database-22.04.0-2.el8.noarch
centreon-engine-22.04.0-13.el8.x86_64
centreon-engine-daemon-22.04.0-13.el8.x86_64
centreon-engine-extcommands-22.04.0-13.el8.x86_64
centreon-gorgone-22.04.0-9.el8.noarch
centreon-gorgone-centreon-config-22.04.0-9.el8.noarch
centreon-license-manager-22.04.0-1.el8.noarch
centreon-license-manager-common-22.04.0-1.el8.noarch
centreon-perl-libs-22.04.0-2.el8.noarch
centreon-poller-22.04.0-2.el8.noarch
centreon-pp-manager-22.04.0-2.el8.noarch
centreon-release-22.04-3.el8.noarch
centreon-trap-22.04.0-2.el8.noarch
centreon-web-22.04.0-2.el8.noarch
centreon-widget-engine-status-22.04.0-5.el8.noarch
centreon-widget-global-health-22.04.0-5.el8.noarch
centreon-widget-graph-monitoring-22.04.0-5.el8.noarch
centreon-widget-grid-map-22.04.0-5.el8.noarch
centreon-widget-hostgroup-monitoring-22.04.0-5.el8.noarch
centreon-widget-host-monitoring-22.04.0-5.el8.noarch
centreon-widget-httploader-22.04.0-5.el8.noarch
centreon-widget-live-top10-cpu-usage-22.04.0-5.el8.noarch
centreon-widget-live-top10-memory-usage-22.04.0-5.el8.noarch
centreon-widget-servicegroup-monitoring-22.04.0-5.el8.noarch
centreon-widget-service-monitoring-22.04.0-5.el8.noarch
centreon-widget-single-metric-22.04.0-5.el8.noarch
centreon-widget-tactical-overview-22.04.0-5.el8.noarch
Operating System
Rocky Linux 8.6 (Green Obsidian)
Browser used
- Google Chrome
- Firefox
- Internet Explorer IE11
- Safari
Version: --
Additional environment details (AWS, VirtualBox, physical, etc.):
Description
/usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl --plugin=storage::netapp::ontap::restapi::plugin --mode=cluster --help
--warning-* --critical-*
Thresholds. Can be: 'cpu-utilization' (%), 'read' (B/s), 'write'
(B/s), 'read-iops', 'write-iops', 'read-latency' (ms),
'write-lantency' (ms), 'other-latency' (ms), 'total-latency'
(ms), 'other' (B/s), 'total' (B/s), 'other-iops', 'total-iops'.
cpu-utilization' (%) is not used on this check
Steps to Reproduce
execute
/usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl --plugin=storage::netapp::ontap::restapi::plugin --mode=cluster --help
it gives the 'cpu-utilization' (%) which does not exist on the source code:
/usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl --plugin=storage::netapp::ontap::restapi::plugin --mode=cluster --warning-cpu-utilization='90'
gives
Unknown option: warning-cpu-utilization at /usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl line 141.
Please describe precisely the steps to reproduce the encountered issue.
execute
/usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl --plugin=storage::netapp::ontap::restapi::plugin --mode=cluster --help
it gives the 'cpu-utilization' (%) which does not exist on the source code:
/usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl --plugin=storage::netapp::ontap::restapi::plugin --mode=cluster --warning-cpu-utilization='90'
gives
Unknown option: warning-cpu-utilization at /usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl line 141.
Describe the received result
Unknown option: warning-cpu-utilization at /usr/lib/centreon/plugins/centreon_netapp_ontap_restapi.pl line 141.
Describe the expected result
should not be occour
Logs
PHP error logs
For version using PHP 7.2 or 7.3 on centOs 8 or PHP 8
not needed
For version using PHP 7.3 on centOs 7
not needed
For version using PHP 7.2 on centOs 7
not needed
centreon-engine logs (if needed)
not needed
tail -f /var/log/centreon-engine/centengine.log
not needed
tail -f /var/log/centreon-broker/central-broker-master.log
not needed
tail -f /var/log/centreon-gorgone/gorgoned.log
not needed
tail -f /var/log/centreon/centcore.log
not needed