Search found 7 matches

by wfournier
Thu Feb 27, 2014 10:06 am
Forum: Open Source Nagios Projects
Topic: Active check that stays CRITICAL until resetted
Replies: 5
Views: 2062

Re: Active check that stays CRITICAL until resetted

You could write a script that submits a check result *only* on critical. Disable active checks, enable passive. Then it will stay critical until you submit an OK yourself.
by wfournier
Thu Dec 19, 2013 6:43 am
Forum: Open Source Nagios Projects
Topic: nagios.conf change
Replies: 7
Views: 3936

Re: nagios.conf change

Here's what works for me (I do the same as you want to). I have this in the .htaccess file: AuthType Basic AuthName "Nagios" AuthBasicProvider file ldap AuthLDAPUrl ldap://xxxxxx:3268/dc=xxxxx,dc=xxxxx,dc=xxxxx?sAMAccountName?sub?(objectClass=*) AuthLDAPBindDN cn=xxxxx,OU=xxxxxx,DC=xxxx,DC...
by wfournier
Thu Dec 19, 2013 6:39 am
Forum: Open Source Nagios Projects
Topic: global_service_event_handler not working
Replies: 9
Views: 3975

Re: global_service_event_handler not working

Set log_event_handlers=1 in the nagios.cfg to make sure that the handler is even executed.
You did set enable_event_handlers=1 on nagios.cfg, did you?
by wfournier
Thu Dec 19, 2013 6:37 am
Forum: Open Source Nagios Projects
Topic: CHECK_NRPE: Socket timeout after 20 seconds.
Replies: 7
Views: 8423

Re: CHECK_NRPE: Socket timeout after 20 seconds.

Check the definition of your check command, where you call check_nrpe, that has a timeout setting as well.
by wfournier
Mon Nov 25, 2013 5:50 am
Forum: Open Source Nagios Projects
Topic: Fix for livestatus icw nagios 4
Replies: 13
Views: 9936

Re: Fix for livestatus icw nagios 4

I also wrote a diff for the 1.2.3i6 version. It's attached. I tried to clean it up a bit, so all the 2012->2013 stuff is out. It compiles and runs for me. - patch the tree - run autoreconf -s;automake --add-missing - I ran configure with: ./configure CPPFLAGS="-I`pwd`/nagios-400/include/ -I`pwd...
by wfournier
Thu Nov 21, 2013 10:15 am
Forum: Open Source Nagios Projects
Topic: Fix for livestatus icw nagios 4
Replies: 13
Views: 9936

Fix for livestatus icw nagios 4

I got frustrated about this issue and fixed it the dirty way. I'm not sure if this 100% works, but I do see the services and hosts in multisite. git clone git://git.op5.org/nagios/livestatus.git diff -Naur livestatus/src/TableHosts.cc livestatus.working/src/TableHosts.cc --- livestatus/src/TableHost...
by wfournier
Mon Oct 14, 2013 3:59 am
Forum: Open Source Nagios Projects
Topic: Dynamically modifying Nagios config
Replies: 3
Views: 2080

Re: Dynamically modifying Nagios config

Add register 0 to remove them but still keep the config. You can reload (kill -1) the nagios process instead of restarting.