Skip to content
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

check_kafka.pl in docker ubuntu #367

Open
carlo4002 opened this issue Apr 19, 2021 · 0 comments
Open

check_kafka.pl in docker ubuntu #367

carlo4002 opened this issue Apr 19, 2021 · 0 comments

Comments

@carlo4002
Copy link

Hello, I am testing the tool for kafka, and I got this error, that it seems in MHO a bug.

jcrivera@hera:~$ docker run harisekhon/nagios-plugins check_kafka.pl -B X.X.X.X:9092 -T TutorialTopic --verbose --receive-max-attempts 3
CRITICAL: Error: Invalid argument: RECEIVE_MAX_ATTEMPES

Trace begun at /usr/local/share/perl5/Kafka/Connection.pm line 1702
Kafka::Connection::_error('Kafka::Connection=HASH(0x55cd34781aa8)', -1000, 'RECEIVE_MAX_ATTEMPES') called at /usr/local/share/perl5/Kafka/Connection.pm line 471
Kafka::Connection::new('Kafka::Connection', 'host', 10.72.202.46, 'port', 9092, 'broker_list', 'ARRAY(0x55cd34750170)', 'SEND_MAX_ATTEMPTS', 1, 'RECEIVE_MAX_ATTEMPES', 3, 'RETRY_BACKOFF', 200, 'AutoCreateTopicsEnable', 0) called at /github/nagios-plugins/check_kafka.pl line 196
main::ANON at /github/nagios-plugins/lib/HariSekhonUtils.pm line 568
eval {...} at /github/nagios-plugins/lib/HariSekhonUtils.pm line 568
HariSekhonUtils::try('CODE(0x55cd3478d250)') called at /github/nagios-plugins/check_kafka.pl line 383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant