Search found 6 matches

by wsanders
Fri May 31, 2013 12:28 pm
Forum: Open Source Nagios Projects
Topic: NSCA stops accepting connections when Nagios is restarted
Replies: 5
Views: 2218

Re: NSCA stops accepting connections when Nagios is restarte

OK, finally upgraded to 2.9.1. It does not have the above problem, it can be stopped and restarted independently of nagios, and vice versa.
by wsanders
Thu May 30, 2013 1:57 pm
Forum: Nagios XI
Topic: How does one escape characters in check_http regex's?
Replies: 5
Views: 6575

Re: How does one escape characters in check_http regex's?

I don't seem to be able to move a trhread to another forum - maybe the admins can do that? Well, I've tried putting all kinds of escapes in the command line, and the core issue that as I have it configured Nagios seems to strip out any backslashes. My command is configured in commands.cfg as: comman...
by wsanders
Wed May 29, 2013 4:08 pm
Forum: Nagios XI
Topic: How does one escape characters in check_http regex's?
Replies: 5
Views: 6575

Re: How does one escape characters in check_http regex's?

Well, this get even weirder: check_http!-r!Application Down!--invert-regex returns "HTTP CRITICAL - pattern found" even though the string is nowhere to be found. check_http!-r!Application.Down!--invert-regex fixes it. (Or at least avoids a false positive.) Yet check_http!-r!Component.s. Do...
by wsanders
Tue May 28, 2013 9:36 pm
Forum: Nagios XI
Topic: How does one escape characters in check_http regex's?
Replies: 5
Views: 6575

How does one escape characters in check_http regex's?

I have never gotten the hang of getting regex's with special characters to work with check_http. For example, I want to alert if the string "Component(s) Down" is present (with the parentheses) in a page. From the command line, when the string is present in the page, it's: ./check_http -I ...
by wsanders
Mon Apr 29, 2013 6:55 pm
Forum: Open Source Nagios Projects
Topic: NSCA stops accepting connections when Nagios is restarted
Replies: 5
Views: 2218

NSCA stops accepting connections when Nagios is restarted

I recently upgraded to 3.4.4 from the venerable 3.2.X releases and there has been a big change in behavior: NSCA stops accepting connections after I stop and restart Nagios. Stopping and restarting NSCA fixes this. Anybody else seen this? Nagiosd and NSCA used to be able to operate more or less inde...