NSCA - Status is changing after 10 seconds to OK
Brandino Andreas
ampranti at gmail.com
Fri Nov 5 14:45:22 CET 2010
Friday, November 5, 2010, 4:59:01 AM, you wrote:
> On Nov 4, 2010, at 4:38 PM, Brandino Andreas wrote:
>> The message appearing in the "Status Information" when service is
>> again green and "OK" is a simple "OK" !!!
> Were you previously testing something that gave that message?
> Freshness checks or active checks perhaps? Do you have multiple
> nagios daemons running at the same time, one running with the old
> config and one with the new? They'd both write to the same status
> file so you'd see results like this.
> --
> Marc
I have defined by mistake freshness checks to final
(TestMessage10) service definition.
The full definition of the service that finally seems to work is:
define service{
name generic-service
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
failure_prediction_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 10
retry_check_interval 2
contact_groups admins
notification_options w,u,c,r
notification_interval 60
notification_period 24x7
register 0
}
define service{
use generic-service
name passive-service
active_checks_enabled 0
passive_checks_enabled 1
register 0
is_volatile 0
max_check_attempts 1
check_freshness 0
check_command check_dummy!0
}
define service{
use passive-service
service_description TestMessage10
host_name NMS
register 1
flap_detection_enabled 0
contact_groups admins
check_period 24x7
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
}
Thank you for the help
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
<> --- - - - --- <>
Brandino Andreas
ampranti at gmail.com
<> --- - - - --- <>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list