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
Null Values for Passive checks
Re: Null Values for Passive checks
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
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
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
/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..
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
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
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.