Search found 74 matches

by shamrozkadiwal
Mon May 13, 2019 12:20 pm
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

I really appreciate all the help. Please close the ticket.

Thanks!
by shamrozkadiwal
Fri May 10, 2019 11:50 am
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

I ran this command instead of installing dos2unix.

Code: Select all

# cat check_zookeeper_apache.py | tr -d '\015' > ./check_zookeeper_apache_new.py
by shamrozkadiwal
Fri May 10, 2019 11:11 am
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

This is a Gentoo server and have some issue with repository. We cant take any risk to install and break the box. Is there any alternate to fix the script?
by shamrozkadiwal
Wed May 08, 2019 12:50 pm
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

I dont think so this would be an issued but I have commented out it just for safe side. /etc/nagios/objects/commands.cfg: command_name check_zookeeper /etc/nagios/objects/commands.cfg: command_line $USER1$/check_plugin.pl $USER1$/check_zookeeper.pl -H $HOSTADDRESS$ -P 4150 I have also modified /etc/...
by shamrozkadiwal
Wed May 08, 2019 10:33 am
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

I have attached info.txt file
by shamrozkadiwal
Mon May 06, 2019 9:42 am
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

camel bin # ls -al python lrwxrwxrwx 1 root root 14 Dec 14 2016 python -> python-wrapper camel bin # pwd /usr/bin camel bin # camel bin # python -v /usr/lib/nagios/plugins/check_zookeeper_apache.py # installing zipimport hook import zipimport # builtin # installed zipimport hook # /usr/lib/python2....
by shamrozkadiwal
Thu May 02, 2019 8:21 am
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

@tgriep, I turned into nagios user and ran below commands nagios@camel / $ /usr/lib/nagios/plugins/check_zookeeper_apache.py -s 10.180.130.76:80 -o nagios -k zk_open_file_descriptor_count -w 500 -c 800 : No such file or directory nagios@camel / $ nagios@camel / $ ls -al /usr/lib/nagios/plugins/check...
by shamrozkadiwal
Wed May 01, 2019 3:12 pm
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Re: Zookeeper script throwing an error

@tgriep, you mean command.cfg file where all the commands are defined. /etc/nagios/commands/command.cfg define command command_name check_zookeeper command_line /usr/lib/nagios/plugins/check_zookeeper_apache.py -s $HOSTADDRESS$:4150 -o nagios -k '$ARG1$' -w '$ARG2$' -c '$ARG3$' } /etc/nagios/service...
by shamrozkadiwal
Wed May 01, 2019 10:33 am
Forum: Open Source Nagios Projects
Topic: Zookeeper script throwing an error
Replies: 15
Views: 6362

Zookeeper script throwing an error

Hey All, I have setup some services to monitor zookeeper and have been getting an error as " (Return code of 127 is out of bounds - plugin may be missing) " This error doesn't make sense because script is there for sure. In addition, nrpe client on that server is running because other top ...
by shamrozkadiwal
Mon Mar 25, 2019 11:22 am
Forum: Open Source Nagios Projects
Topic: UNKNOWN: Error occured while running the plugin
Replies: 10
Views: 5332

Re: UNKNOWN: Error occured while running the plugin

I couldn't able to find API menu, then API Endpoint -> system, agent
Also, all the log files are empty. I made sure the NCPA servic is running.