Search found 9 matches

by agentdavidson
Wed Jun 06, 2018 10:27 pm
Forum: Open Source Nagios Projects
Topic: pnp4nagios graphs randomly stop updating
Replies: 8
Views: 4689

Re: pnp4nagios graphs randomly stop updating

I've some further information to hand. I found that in /var/log/messages the issue seems to be preceded by increasing numbers of the following errors. Jun 5 19:19:37 myserver nagios: Warning: fork() in my_system_r() failed for command "/usr/local/pnp4nagios/libexec/process_perfdata.pl --bulk=/u...
by agentdavidson
Thu Apr 26, 2018 6:08 pm
Forum: Open Source Nagios Projects
Topic: pnp4nagios graphs randomly stop updating
Replies: 8
Views: 4689

Re: pnp4nagios graphs randomly stop updating

I'm running PHP4Nagios in Bulk Mode (without NCPD or npcdmod) and the doco on the PNP4Nagios site (http://docs.pnp4nagios.org/_detail/bulk.png?id=pnp-0.6%3Aconfig) suggests that it is the Nagios process that calls process_perfdata.pl. The behaviour I'm seeing looks a lot like Nagios just stops calli...
by agentdavidson
Mon Feb 26, 2018 4:22 pm
Forum: Open Source Nagios Projects
Topic: pnp4nagios graphs randomly stop updating
Replies: 8
Views: 4689

Re: pnp4nagios graphs randomly stop updating

Thanks for the info. I've found that when the graphs stop updating /usr/local/pnp4nagios/var/perfdata.log stops updating also. For example this morning the graphs stopped updating around 3:23am and the log file also comes to a halt at that time. [root@zpredvmnet1:/usr/local/pnp4nagios/var] tail perf...
by agentdavidson
Fri Feb 16, 2018 7:38 pm
Forum: Open Source Nagios Projects
Topic: pnp4nagios graphs randomly stop updating
Replies: 8
Views: 4689

pnp4nagios graphs randomly stop updating

Hello - I have a Nagios Core (4.3.4) + php4nagios (0.6.25) on running on RHEL 7.3 VM and every now and then ALL the php4nagios graphs will stop updating. It's pretty random, say once every two weeks, random day/time. It's fixed by restarting Nagios [service nagios stop | start]. All other Nagios fun...
by agentdavidson
Sun Apr 02, 2017 9:06 pm
Forum: Open Source Nagios Projects
Topic: check_http fails to present proxy credientials
Replies: 9
Views: 9179

Re: check_http fails to present proxy credientials

Hi - I tried dropping the -S (output appended) but that seems to completely mangle the request and the proxy just balks with 400 Bad Request. I think at this point I'll concede defeat and disable the authentication on the proxy for these problematic HTTPS checks. Thanks for the responses and suggest...
by agentdavidson
Wed Mar 29, 2017 10:25 pm
Forum: Open Source Nagios Projects
Topic: check_http fails to present proxy credientials
Replies: 9
Views: 9179

Re: check_http fails to present proxy credientials

Hi - Thanks for the responses/suggestions. Results with -H http://www.google.co.nz and -u https://www.google.co.nz are the same. Proxy say's 407 [root@myserver:/usr/local/nagios/libexec] ./check_http -I myproxy.mydomain.com -p 8080 -S -j CONNECT -H http://www.google.co.nz -u https://www.google.co.nz...
by agentdavidson
Sun Mar 26, 2017 8:29 pm
Forum: Open Source Nagios Projects
Topic: check_http fails to present proxy credientials
Replies: 9
Views: 9179

Re: check_http fails to present proxy credientials

Yes it works without -S if I'm requesting http://www.google.co.nz/ and providing proxy creds. This output is included in my original post.

However I'm specifically trying to craft a check of an HTTPS site via our authenticated proxy.

I'm using https://www.google.co.nz/ as an example.
by agentdavidson
Mon Mar 20, 2017 10:28 pm
Forum: Open Source Nagios Projects
Topic: check_http fails to present proxy credientials
Replies: 9
Views: 9179

Re: check_http fails to present proxy credientials

curl with and without --proxy-ntlm returns content. Here is (anonymised) output without --proxy-ntlm , but I do need to --insecure the curl to get around CA chain check. [root@myserver:~] curl -v --insecure --proxy http://myproxy.mydomain.com:8080 --proxy-user myusername:mypassword https://www.googl...
by agentdavidson
Mon Mar 13, 2017 10:10 pm
Forum: Open Source Nagios Projects
Topic: check_http fails to present proxy credientials
Replies: 9
Views: 9179

check_http fails to present proxy credientials

Hello - I'm having an issue getting check_http to work via an authenticated proxy when using the -S -j CONNECT flags. Does anymore know if this is a supported configuration? Appended is (anonymised) output showing success when using proxy + authentication + http url but failure when using proxy + au...