Search found 10 matches

by jeremie.grund
Fri Nov 13, 2015 11:29 am
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

I commented out the misbehaving service and also changed the failure prediction and obsess settings to 0. I then restart nagios. I commented the misbehaving service back in and restart nagios again and it seems to be behaving as normal. I'm sure being on such an old version of nagios isn't helping i...
by jeremie.grund
Thu Nov 12, 2015 4:29 pm
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

Looks like you may have found something, in the nagios.debug I found this [1447363495.154184] [016.1] [pid=28066] HOST: PSVMDB07, SERVICE: DYNAMICS Mirror, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 2, OUTPUT: CRITICAL: Service has not checked in\n ...
by jeremie.grund
Thu Nov 12, 2015 10:48 am
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

No we shouldn't have anything writing directly to the cmd file, I've tried really hard to keep that from being a solution. As for debugging, can you say where the debug log would usually be? We've also thought it could be an issue since we are using a rather old version of nagios. But thanks for the...
by jeremie.grund
Wed Nov 11, 2015 4:35 pm
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

I'm not sure about the obsessing settings to be honest. I'd have to ask why they are set that way. Here is the bit of the log after restarting nagios [1447277094] Finished daemonizing... (New PID=28066) [1447277105] PASSIVE SERVICE CHECK: PSVMDB07;DYNAMICS Mirror;0;OK: Mirror OK [1447277105] PASSIVE...
by jeremie.grund
Wed Nov 11, 2015 3:55 pm
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

I couldn't get the grep command to return anything back but I did manage to find this in the objects.cache define service { host_name PSVMDB07 service_description DYNAMICS Mirror check_period 24x7 check_command check_dummy!2!"Service has not checked in" contact_groups dbateam notification_...
by jeremie.grund
Wed Nov 11, 2015 12:46 pm
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

Do you have a url on how to check the objects.cache? This is something I haven't done yet.

Thanks
by jeremie.grund
Wed Nov 11, 2015 11:07 am
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

I have a check_command in the passive-service template that calls check_dummy to set a critical alert.
by jeremie.grund
Tue Nov 10, 2015 3:42 pm
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

Can you verify the global option is on in your nagios.cfg with the below command, and post the output? - cat /usr/local/nagios/etc/nagios.cfg|grep freshness # check the "freshness" of service results. Enabling this option # Values: 1 = enabled freshness checking, 0 = disable freshness che...
by jeremie.grund
Tue Nov 10, 2015 2:23 pm
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Re: Passive Check Freshness Not Working

scottwilkerson wrote:Do both of these machines have the correct date/time and timezone?
I was really hoping it would be something simple with DST but no, both the nagios server and the server submitting the passive check have the same time.
by jeremie.grund
Tue Nov 10, 2015 1:42 pm
Forum: Open Source Nagios Projects
Topic: Passive Check Freshness Not Working
Replies: 19
Views: 17901

Passive Check Freshness Not Working

We are running Nagios Core 3.2.3 on openSUSE 11.4. We recently started using passive checks in Nagios with the results being sent through NRDP. My passive check template is defined as define service{ name passive-service ; The 'name' of this service template active_checks_enabled 0 ; Active service ...