Search found 54 matches

by xpac
Tue May 05, 2015 4:41 pm
Forum: Open Source Nagios Projects
Topic: How to increase NRPE socket timeout??
Replies: 14
Views: 13756

Re: How to increase NRPE socket timeout??

Just to recap. You need to do 3 things: 1. Verify that service_check_timeout in the nagios.cfg on your nagios server is set high enough: grep service_check_timeout /usr/local/nagios/etc/nagios.cfg NOTE: Remember to restart nagios after any changes to nagios.cfg. 2. Add "-t" to the check_n...
by xpac
Tue May 05, 2015 4:30 pm
Forum: Open Source Nagios Projects
Topic: How to increase NRPE socket timeout??
Replies: 14
Views: 13756

Re: How to increase NRPE socket timeout??

Here's a snapshot:
by xpac
Tue May 05, 2015 3:41 pm
Forum: Open Source Nagios Projects
Topic: How to increase NRPE socket timeout??
Replies: 14
Views: 13756

Re: How to increase NRPE socket timeout??

Thanks, tried that but no luck.
by xpac
Tue May 05, 2015 2:13 pm
Forum: Open Source Nagios Projects
Topic: How to increase NRPE socket timeout??
Replies: 14
Views: 13756

Re: How to increase NRPE socket timeout??

Ok, so the service definition it is: define service{ use generic-service host_name cassandratest,cassandratest2 service_description Cassandra Monitoring check_command check_nrpe!check_cassandra } Perhaps I need to add the -t here? Also, the nrpe.cfg file on the remote client has the following settin...
by xpac
Tue May 05, 2015 2:04 pm
Forum: Open Source Nagios Projects
Topic: How to increase NRPE socket timeout??
Replies: 14
Views: 13756

Re: How to increase NRPE socket timeout??

Here's the check_nrpe definition:

define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -t 30
}


service definition:

command[check_cassandra]=HOME=~nagios /usr/local/nagios/libexec/check_cassandra_cluster.sh
by xpac
Tue May 05, 2015 1:54 pm
Forum: Open Source Nagios Projects
Topic: How to increase NRPE socket timeout??
Replies: 14
Views: 13756

Re: How to increase NRPE socket timeout??

I'm running 2.15, and when I run the command and add -t 20 at the end it does in fact run correctly without timing out. Just doesn't seem to want to do it when I add the -t value to the check_nrpe command definition in the commands.cfg
by xpac
Tue May 05, 2015 1:01 pm
Forum: Open Source Nagios Projects
Topic: How to increase NRPE socket timeout??
Replies: 14
Views: 13756

How to increase NRPE socket timeout??

So I have a remote check that needs to be run, and it takes longer than 10 seconds to run, and as such I keep getting "Socket timeout after 10 seconds". That's fine, so I went and added "-t 30" to the commands.cfg file (for the NRPE command), and verified in the nrpe.cfg file on ...
by xpac
Thu Apr 30, 2015 2:07 pm
Forum: Open Source Nagios Projects
Topic: nrpe.cfg reconfig?
Replies: 22
Views: 6420

Re: nrpe.cfg reconfig?

WOOHOO got it working!!! :lol: path environment was not loaded BINGO! I had kinda abandoned/forgotten about this for a while, but this morning I was troubleshooting a cron job that wouldn't run on Cassandra when I realized the issue was that it didn't have the necessary environment set to successful...
by xpac
Mon Apr 13, 2015 1:31 pm
Forum: Open Source Nagios Projects
Topic: nrpe.cfg reconfig?
Replies: 22
Views: 6420

Re: nrpe.cfg reconfig?

ssax wrote:I haven't seen anyone ask if you have selinux enabled:

Code: Select all

getenforce
or

Code: Select all

sestatus
In this test instance I have selinux set to permissive and iptables is stopped and set to off.
by xpac
Fri Apr 10, 2015 1:19 pm
Forum: Open Source Nagios Projects
Topic: nrpe.cfg reconfig?
Replies: 22
Views: 6420

Re: nrpe.cfg reconfig?

I would double check that with your clean system that you compiled using --enable-command-args Yep this has been verified, I can run other plugins w/args just fine remotely via NRPE, such as "check_users" Now I know this is probably another typo but I'm going to point it out: Yep another ...