Page 1 of 1

Null Values for Passive checks

Posted: Mon Feb 17, 2014 2:14 am
by madhudeva
Hi Team,

We are monitoring so many passive checks ( 150 ) suddenly Nagios XI returns null values for all these checks.. and if we restart JMX daemon these null checks will be gone.. Any idea why these checks are returning null?

Freshnees threshold is set to 600 sec..

[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.
[pid=7897] Check results for service 'service XX' on host 'XX' are fresh.

And same configuration is running on nagios 3.0.3 on different server and this nagios is not returning any null values.. we have just copied all the configs to New nagios Xi and imported.

Please help me..

Regards,
Madhu

Re: Null Values for Passive checks

Posted: Mon Feb 17, 2014 2:29 am
by madhudeva
Adding config file

define service {
name jmx-service
use markets-generic-service
check_command report-stale-results
max_check_attempts 1
active_checks_enabled 0
passive_checks_enabled 1
check_freshness 1
freshness_threshold 600
contact_groups admins,markets
register 0

}

Regards,
Madhu

Re: Null Values for Passive checks

Posted: Tue Feb 25, 2014 5:23 pm
by slansing
What do you have your freshness thresholds set to in the nagios.cfg? Moving this to the XI support forums as you are in the wrong section.

Re: Null Values for Passive checks

Posted: Wed Feb 26, 2014 12:48 am
by madhudeva
/usr/local/nagios/etc# cat nagios.cfg | grep -i freshness
additional_freshness_latency=15
check_host_freshness=0
check_service_freshness=1
host_freshness_check_interval=60
service_freshness_check_interval=60

Above are the values set in nagios.cfg..

Re: Null Values for Passive checks

Posted: Wed Feb 26, 2014 2:36 pm
by sreinhardt
Prior to restarting, if you were to run the active check via cli, are you receiving a null result there as well?

Edit: Locking as you have a thread over here from another team member. http://support.nagios.com/forum/viewtop ... 5582#88829