Search found 32 matches

by as300182
Tue Oct 23, 2018 8:16 am
Forum: Open Source Nagios Projects
Topic: Address resolution issue
Replies: 3
Views: 1774

Re: Address resolution issue

The service command is a straightforward check_http command. define service{ use snow-service,nagiosgraph host_name openplatform-int service_description Web Server Availability contact_groups +openapi-platform check_command check_http! -f follow -H openplatform-int.com -u "https://openplatform-...
by as300182
Tue Sep 25, 2018 10:18 am
Forum: Open Source Nagios Projects
Topic: Address resolution issue
Replies: 3
Views: 1774

Address resolution issue

I've got Nagios core 4.2.2 running on RedHat 5 without any issues. I've built a new box with Nagios core 4.4.2 running on RedHat 7. The new Nagios instance seems to have some issues with resolving addresses with check_http. It looks like the Nagios worker threads can't resolve an address for a host ...
by as300182
Wed Jan 24, 2018 11:49 am
Forum: Open Source Nagios Projects
Topic: NRPE refused connection
Replies: 3
Views: 2826

Re: NRPE refused connection

I'm running the latest version of NRPE. I think the issue was with the nrpe.cfg file. I still can't see what's wrong with the original config file, but I replaced it with the base config file that is installed when you build NRPE, and then updated it with my changes. After a restart of the service i...
by as300182
Fri Jan 19, 2018 7:05 am
Forum: Open Source Nagios Projects
Topic: NRPE refused connection
Replies: 3
Views: 2826

NRPE refused connection

I've exhausted all the avenues I know so I'm turning to the forum for help. I have a server (dev-int) running NRPE. I have 2 Nagios servers that can connect without any problem. I have added a third Nagios server and I get this in the syslog of dev-int running NRPE. Jan 19 11:41:50 dev-int nrpe[1846...
by as300182
Thu Nov 16, 2017 7:56 am
Forum: Open Source Nagios Projects
Topic: Strange NRPE behaviour.
Replies: 13
Views: 12109

Re: Strange NRPE behaviour.

Thanks for your patience so far, but that makes no difference, and to be honest, makes no sense. Almost any command relating to check_apache works from the command line but not when run inside NRPE. So this isn't a script issue or a nrpe config issue, but an issue with what happens to this command i...
by as300182
Mon Nov 06, 2017 5:24 am
Forum: Open Source Nagios Projects
Topic: Strange NRPE behaviour.
Replies: 13
Views: 12109

Re: Strange NRPE behaviour.

Unfortunately, trying on 127.0.0.1 just fails with a certificate error as we don't have one on localhost. [Mon Nov 06 10:19:04 2017] [debug] ssl_engine_io.c(1897): OpenSSL: read 2/2 bytes from BIO#1154c9f0 [mem: 11550009] (BIO dump follows) However, I did manage to get something from the apache erro...
by as300182
Tue Oct 31, 2017 9:12 am
Forum: Open Source Nagios Projects
Topic: Strange NRPE behaviour.
Replies: 13
Views: 12109

Re: Strange NRPE behaviour.

[root@qa-connect-gold ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 NRPE v3.2.1 [root@qa-connect-gold ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -n CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected). [root@qa-connect-gold ~]# /usr/local/nagios/libexec/chec...
by as300182
Mon Oct 30, 2017 3:52 am
Forum: Open Source Nagios Projects
Topic: Strange NRPE behaviour.
Replies: 13
Views: 12109

Re: Strange NRPE behaviour.

as300182 , Please upload your check_apachestatus.pl plugin here as well. Also, we need to see whether your NRPE runs as a daemon or under xinet.d. Please run netstat -anp|grep 5666 and ps -ef|grep nrpe, and post the output here. I've attached the plugin. I believe NRPE is running as a daemon. This ...
by as300182
Thu Oct 12, 2017 6:39 am
Forum: Open Source Nagios Projects
Topic: Strange NRPE behaviour.
Replies: 13
Views: 12109

Re: Strange NRPE behaviour.

############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios@nagios.org) # # Last Modified: 11-23-2007 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host tha...
by as300182
Wed Oct 04, 2017 5:48 am
Forum: Open Source Nagios Projects
Topic: Strange NRPE behaviour.
Replies: 13
Views: 12109

Re: Strange NRPE behaviour.

As interesting as that is, it doesn't help me any. I still don't understand why the plugin works directly from the command line but not when called from the same server via check_nrpe. From the command line /usr/local/nagios/libexec/check_apachestatus.pl -H test-server1.com -p 443 works a treat and ...