-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD Ignore disable status for poller on script centreon_centreon_sql_metrics.pl #5446
Comments
Hello :) Could you give us more context on the commands and mode(s) you are trying to execute? |
Of course, error with copy paste ! /usr/lib/centreon/plugins//centreon_centreon_sql_metrics.pl --plugin=database::mysql::plugin --dyn-mode=apps::centreon::sql::mode::pollerdelay --host='192.168.' --username='' --password='' --filter-name='.*' --warning-delay='180' --critical-delay='300' |
Hello :) Indeed, this mode does not check the state of the poller, so it cannot filter on disable pollers. You can try to use the |
Could you try this PR #5450 to check if an exclude option is the right thing for you? |
Adding an exclusion option means maintaining and modifying it. |
I understand, but in this case it requires a bigger improvement than adding an exclude option, because as it stands the mode doesn't retrieve the state of the pollers at all. So if you'd like to support this idea, I invite you to propose a TheWatch idea so that it can be voted on :) |
Hi,
Is it possible to ignore disable poller. I have 2 pollers disabled, but, script ignore if enable or disable status.
/usr/lib/centreon/plugins//centreon_centreon_sql_metrics.pl --plugin=database::mysql::plugin
Thanks,
The text was updated successfully, but these errors were encountered: