Null Values for Passive checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
madhudeva
Posts: 32
Joined: Thu Jun 20, 2013 1:08 am

Null Values for Passive checks

Post 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
madhudeva
Posts: 32
Joined: Thu Jun 20, 2013 1:08 am

Re: Null Values for Passive checks

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Null Values for Passive checks

Post 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.
madhudeva
Posts: 32
Joined: Thu Jun 20, 2013 1:08 am

Re: Null Values for Passive checks

Post 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..
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Null Values for Passive checks

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked