Hi,
I am using Nagios XI for my server side and NSClient++ for the client side. All the monitoring is configured to be passive checks. I have a freshness check set to 5 minutes. The problem i have is when i stop NSClient++ service on one of the the servers, Nagios XI does the freshness check but the message i receive is "OK: No data received yet." and the service is still flagged green even know it has been of for 24hrs.
How can i get this to work?
Freshness check not working
Re: Freshness check not working
Did you read through this: https://assets.nagios.com/downloads/nag ... hness.html
Can you post your service configuration pls?
Can you post your service configuration pls?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Freshness check not working
Former Nagios Employee.
me.
me.
-
michal.nastaly
- Posts: 59
- Joined: Tue Jun 02, 2015 9:24 am
Re: Freshness check not working
yes I have read that article and can see anything being wrong with my configuration,
This is the service configuration for NSClient service:
define service {
host_name N1-SERVELEC-TEST.hosting.servelec.local
service_description NSClient
use xiwizard_passive_service
servicegroups N1 SERVELEC TEST
max_check_attempts 5
check_interval 5
retry_interval 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
check_freshness 1
freshness_threshold 300
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
contact_groups admins
_xiwizard passiveobject
register 1
}
This is the service configuration for NSClient service:
define service {
host_name N1-SERVELEC-TEST.hosting.servelec.local
service_description NSClient
use xiwizard_passive_service
servicegroups N1 SERVELEC TEST
max_check_attempts 5
check_interval 5
retry_interval 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
check_freshness 1
freshness_threshold 300
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
contact_groups admins
_xiwizard passiveobject
register 1
}
-
michal.nastaly
- Posts: 59
- Joined: Tue Jun 02, 2015 9:24 am
Re: Freshness check not working
Hi guys,
here is the Service settings that i have currently setup.
Anything wrong with it?
here is the Service settings that i have currently setup.
Anything wrong with it?
You do not have the required permissions to view the files attached to this post.
Re: Freshness check not working
Use the "check_dummy" command to get whatever status/message you would like to receive. Example:
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
michal.nastaly
- Posts: 59
- Joined: Tue Jun 02, 2015 9:24 am
Re: Freshness check not working
That seems to be doing the job!
Thank you
Thank you
Re: Freshness check not working
I am glad I could help! 
Be sure to check out our Knowledgebase for helpful articles and solutions!