Page 1 of 1

Kafka plugin error

Posted: Mon Aug 24, 2020 5:09 am
by Siddharth Hegde
Hi,

I am getting the following error while using Kafka plugin. Requesting assistance in resolving this issue

Code: Select all

Status Information:	CRITICAL: Error: Invalid argument: RECEIVE_MAX_ATTEMPES

Trace begun at /usr/local/share/perl/5.22.1/Kafka/Connection.pm line 1702
Kafka::Connection::_error('Kafka::Connection=HASH(0x44b9c68)', -1000, 'RECEIVE_MAX_ATTEMPES') called at /usr/local/share/perl/5.22.1/Kafka/Connection.pm line 471
Kafka::Connection::new('Kafka::Connection', 'host', x.x.x.x, 'port', 1234, 'broker_list', 'ARRAY(0x2d49e18)', 'SEND_MAX_ATTEMPTS', 1, 'RECEIVE_MAX_ATTEMPES', 1, 'RETRY_BACKOFF', 200, 'AutoCreateTopicsEnable', 0) called at /usr/local/nagios/libexec/check_kafka.pl line 183
main::__ANON__ at /usr/local/nagios/libexec/lib/HariSekhonUtils.pm line 565
eval {...} at /usr/local/nagios/libexec/lib/HariSekhonUtils.pm line 565
HariSekhonUtils::try('CODE(0x44b95a8)') called at /usr/local/nagios/libexec/check_kafka.pl line 347
Kafka.cfg

Code: Select all

define service {
    use                     generic-service
    host_name               Kafka
    service_description     Kafka
     contact_groups                 service-monitor
check_command           check_kafka!IP.Address!Port!topic
}
command.cfg

Code: Select all

define command {
   command_name check_kafka
   command_line $USER1$/check_kafka.pl -H $ARG1$ -P $ARG2$ -T $ARG3$
}
I am using Ubuntu 16.04 server.

Thanks in advance