Search found 69 matches

by millisa
Tue Jul 18, 2017 12:01 pm
Forum: Open Source Nagios Projects
Topic: check_http with -C option appears to check URL (2.2.1)
Replies: 3
Views: 5174

Re: check_http with -C option appears to check URL (2.2.1)

Go for it, one of the github reports already says it's got a fix in 2.2.2, so I'll wait for it to drop.
by millisa
Tue Jul 18, 2017 2:29 am
Forum: Open Source Nagios Projects
Topic: check_http with -C option appears to check URL (2.2.1)
Replies: 3
Views: 5174

Re: check_http with -C option appears to check URL (2.2.1)

And I just missed it when looking for another report on this. It looks like this is already reported in github at check_http: -C broken after update to 2.2.1 and check_http: Breaking change to -C: Certificate check should not check URL
by millisa
Tue Jul 18, 2017 2:11 am
Forum: Open Source Nagios Projects
Topic: check_http with -C option appears to check URL (2.2.1)
Replies: 3
Views: 5174

check_http with -C option appears to check URL (2.2.1)

With check_http in 2.2.1, compiled from source, when specifying the '-C ##' option to check a certificate expiration, it now appears to do an http request for content. Relevant excerpt from the check_http man page : -C, --certificate=INTEGER[,INTEGER] Minimum number of days a certificate has to be v...
by millisa
Mon Dec 21, 2015 12:20 pm
Forum: Open Source Nagios Projects
Topic: Checking SSL Certificate
Replies: 10
Views: 13951

Re: Checking SSL Certificate

Try using the --sni switch:

Code: Select all

[someguy@servername conf.d]$ /usr/lib64/nagios/plugins/check_http -H support.nagios.com --ssl --sni -C 30 
OK - Certificate '*.nagios.com' will expire on Fri 11 May 2018 12:59:00 AM CDT.
by millisa
Sun Dec 20, 2015 4:42 pm
Forum: Open Source Nagios Projects
Topic: Checking SSL Certificate
Replies: 10
Views: 13951

Re: Checking SSL Certificate

I think the plugin you are using isn't setup to pass host header info. I looked at the script and it has a -a option that is supposed to be for sending extra info like the host header. You might be able to modify the check plugin to do that (look at the openssl open line there in the perl script) Ho...
by millisa
Mon Jun 29, 2015 11:34 pm
Forum: Open Source Nagios Projects
Topic: check_ssh OK on command line but not Core UI
Replies: 7
Views: 5979

Re: check_ssh OK on command line but not Core UI

command_line $USER1$/check_ssh -H $HOSTADDRESS$ Your command definition is probably what's wrong; check_ssh doesn't use -H. Usage: check_ssh [-46] [-t <timeout>] [-r <remote version>] [-p <port>] <host> Use command_line $USER1$/check_ssh $HOSTADDRESS$ or if you want to get fancy and be able to send...
by millisa
Mon Jun 15, 2015 1:01 am
Forum: Open Source Nagios Projects
Topic: Disable service notification if host down
Replies: 7
Views: 8511

Re: Disable service notification if host down

I don't think I've seen the conditions described here in nagios 4 (and possibly not in nagios 3). On all of my nagios servers, when a host is down, service notifications are suppressed (with a few odd exceptions, but they are definitely not the norm). This is the relevant doc excerpt from http://nag...
by millisa
Tue Jun 02, 2015 4:01 am
Forum: Open Source Nagios Projects
Topic: hostsgroup others
Replies: 3
Views: 1588

Re: hostsgroup others

Is the goal just to catch hosts not added to a hostgroup so you can spot them? If so, you could do it with a service definition since with those you *can* send it a * for the host_name and then do a set of exceptions with hostgroups. Something like this would use check_dummy for all hosts not define...
by millisa
Mon May 18, 2015 8:03 pm
Forum: Open Source Nagios Projects
Topic: Discussion about warning and critical for host alive checks
Replies: 2
Views: 2062

Re: Discussion about warning and critical for host alive che

I'm not sure it changes your points at all, but the warning/unknown states on a host alive count towards whether a host is flapping. I could see the warning/unknown values still being wanted for a host alive check to try to pickup those states (so a host that goes ok-warn-ok-warn-ok-warn and never a...
by millisa
Tue Feb 17, 2015 3:33 am
Forum: Open Source Nagios Projects
Topic: Contact Group doesn´t work properly
Replies: 7
Views: 2940

Re: Contact Group doesn´t work properly

This is not a solution, but does the behavior change if you put a + sign in front of the contact group name in the host and service definition? ( this should give it an additive inheritance with anything defined above it in a template). I think what'd help the most at this point is to pick a specifi...