Search found 128 matches

by dslaughter
Tue Feb 18, 2020 1:14 pm
Forum: Nagios XI
Topic: fail2ban on nagiosxi server
Replies: 3
Views: 94

Re: fail2ban on nagiosxi server

OK, I wanted to check to be sure that it would not interfere with the nagiosxi apache config.

Lock it
by dslaughter
Tue Feb 18, 2020 8:32 am
Forum: Nagios XI
Topic: fail2ban on nagiosxi server
Replies: 3
Views: 94

fail2ban on nagiosxi server

IS it ok to install fail2ban on the nagiosxi server or is there something built in that provides the same function?
by dslaughter
Thu Feb 13, 2020 4:59 pm
Forum: Nagios XI
Topic: NagiosXI Local check script
Replies: 3
Views: 144

Re: NagiosXI Local check script

I had considered that but since I was running local I wanted the option to force check. If you think passive is the best way to locally send to multiple services I will set it up for testing.

Unless you can think of any other way to accomplish this then go ahead and lock it.

Thanks!
by dslaughter
Thu Feb 13, 2020 3:09 pm
Forum: Nagios XI
Topic: NagiosXI Local check script
Replies: 3
Views: 144

NagiosXI Local check script

I have a check that logs into an email account and retrieves mail. Based on the content of the email it could be one of 2 services. Both emails could be in the mailbox at the same time so I don't know if the mail will be for a particular service until I parse it. After the mail is checked it is move...
by dslaughter
Thu Jan 09, 2020 10:06 am
Forum: Nagios XI
Topic: check_http - ssl no signed certificate - string search
Replies: 7
Views: 254

Re: check_http - ssl no signed certificate - string search

Sorry for the late reply. All is good. Lock it.
by dslaughter
Mon Jan 06, 2020 10:29 am
Forum: Nagios XI
Topic: check_http - ssl no signed certificate - string search
Replies: 7
Views: 254

Re: check_http - ssl no signed certificate - string search

I think I figured it out. If I use -f stickyport I get the result I'm looking for. /usr/local/nagios/libexec/check_http -H 3.1.1.1 -f ok -I 3.1.1.1 -u "/provisioning" -S --sni -p 8443 -f stickyport -s Accelerator HTTP OK: HTTP/1.1 200 OK - 4133 bytes in 0.043 second response time |time=0.0...
by dslaughter
Mon Jan 06, 2020 9:58 am
Forum: Nagios XI
Topic: check_http - ssl no signed certificate - string search
Replies: 7
Views: 254

Re: check_http - ssl no signed certificate - string search

Sorry for the late reply. I had vacation over the holidays. I tried -v and this is what I got. option f:0 SSL initialized GET /provisioning HTTP/1.1 User-Agent: check_http/v2.2.1 (nagios-plugins 2.2.1) Connection: close Host: 3.1.1.1:8443 Accept: */* https://3.1.1.1:8443/provisioning is 175 characte...
by dslaughter
Wed Dec 18, 2019 3:36 pm
Forum: Nagios XI
Topic: check_http - ssl no signed certificate - string search
Replies: 7
Views: 254

Re: check_http - ssl no signed certificate - string search

The url does not change. I think the 302 may be caused by the unsigned cert warning. If I use a browser and an exception is added for the unsigned cert the desired page loads with a 200. I do not see the 302 in developer tools.
by dslaughter
Wed Dec 18, 2019 1:38 pm
Forum: Nagios XI
Topic: check_http - ssl no signed certificate - string search
Replies: 7
Views: 254

check_http - ssl no signed certificate - string search

I need to monitor a https web site and look for a string. I'm trying to use check_http. This server does not have a signed cert. If I only check for the page load it succeeds. /usr/local/nagios/libexec/check_http -H 3.1.1.1 -f ok -I 3.1.1.1 -u "/provisioning" -S --sni -p 8443 HTTP OK: HTTP...
by dslaughter
Wed Dec 11, 2019 8:22 am
Forum: Nagios XI
Topic: snmp trap not being processed
Replies: 8
Views: 527

Re: snmp trap not being processed

Go ahead and close this thread. I'm going to start the logging of snmptrapd. If I have any issues I'll start a new thread.