Search found 69 matches

by millisa
Thu Jan 23, 2014 8:11 am
Forum: Open Source Nagios Projects
Topic: SSI problem
Replies: 29
Views: 14107

Re: SSI problem

Those permissions look right. Does your nagios.conf have this at the top (or did it just get cut off in the copy/paste)? ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" (I'm assuming it does, other things would look broken if it was missing) Is your apache install from the stock distr...
by millisa
Thu Jan 23, 2014 7:21 am
Forum: Open Source Nagios Projects
Topic: SSI problem
Replies: 29
Views: 14107

Re: SSI problem

I have created another, fresh CentOS 6.5 install, this time did not install any additional repositories. Following the instructions in the nagios 3 quick start for fedora with the linked 3.5.1 source you provided. My /etc/httpd/conf.d/nagios.conf looks like yours (but without the modifications for O...
by millisa
Thu Jan 23, 2014 5:22 am
Forum: Open Source Nagios Projects
Topic: SSI problem
Replies: 29
Views: 14107

Re: SSI problem

Finally i decided modified the extinfo.c directly and not use the ssi files Unless you want to make the change every time you update nagios, you really don't want to do that... If you are comfy modifying C and recompiling, you'll be more than comfy putting your dynamic code in the ssi files! I wish...
by millisa
Thu Jan 23, 2014 4:59 am
Forum: Open Source Nagios Projects
Topic: SSI problem
Replies: 29
Views: 14107

Re: SSI problem

Just some quick input - I believe pepe_carlos is referring to the Custom CGI Headers and Footers and that 'ssi' name in the directory might be misdirecting things here. On a Redhat6.5/CentOS6.5 system, if you install nagios from the EPEL rpm's, your apache nagios config usually ends up at /etc/httpd...
by millisa
Fri Jan 17, 2014 6:21 pm
Forum: Open Source Nagios Projects
Topic: How to Disable (some of) Nagios' Functionality
Replies: 6
Views: 6587

Re: How to Disable (some of) Nagios' Functionality

If you are using an apache web server, you could use mod_rewrite to short circuit things. First, create a 'bad user, stop doing that' file in your webroot (mine is at /var/www/html): echo 'bad user - stop doing that'>/var/www/html/baduser.txt In your apache config, make sure you are loading mod rewr...
by millisa
Fri Jan 17, 2014 4:31 pm
Forum: Open Source Nagios Projects
Topic: nagios 4.0.2 new feature, service parents not working?
Replies: 10
Views: 12079

Re: nagios 4.0.2 new feature, service parents not working?

I got a chance to do my test earlier than expected. I've removed the real world dependency between the two services so that I can control them separately. Now I have an HTTP check that just looks for a response on port 80 and an SMTP check that just looks for a response on port 25. Both are in an 'o...
by millisa
Fri Jan 17, 2014 3:46 pm
Forum: Open Source Nagios Projects
Topic: nagios 4.0.2 new feature, service parents not working?
Replies: 10
Views: 12079

Re: nagios 4.0.2 new feature, service parents not working?

I appreciate the headcheck. In my initial configs, I'm pretty sure I tried a scenario that would allow me to stop the parent service separately while the child service was still available. When stopping the parent service, and letting it go critical first, then causing the child service to go critic...
by millisa
Fri Jan 17, 2014 12:15 am
Forum: Open Source Nagios Projects
Topic: nagios 4.0.2 new feature, service parents not working?
Replies: 10
Views: 12079

nagios 4.0.2 new feature, service parents not working?

With the nagios4 release, I was excited to read about the new Service Parents. References: Nagios 4 announcement mentioning service parents Relevant excerpt from Section 2: "Services now support a parents attribute. A service parent performs a function similar to host parents and can be used in...