NSCA - Status is changing after 10 seconds to OK

Andreas Brandino ampranti at gmail.com
Thu Nov 4 08:54:34 CET 2010


Hi all,

I am trying to configure nagios with NSCA.
NSCA is successfully receiving  the messages (sent with send_nsca), updates
the services state and the message info.
The problem is that after 10 seconds, the service is returning to "OK"
state; in the meantime I haven't send any other messages.

How can I make the service keep that last state until it receives a new
message?

The definition of the services I am using follows:

define service{
        use                             generic-service
        name                            passive-service
        active_checks_enabled           0
        passive_checks_enabled          1
        register                        0
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              1
        normal_check_interval           5
        retry_check_interval            1
        check_freshness                 0
        freshness_threshold             5
        contact_groups                  admins
        check_command                   check_dummy!0
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
}

define service{
        use                             passive-service
        service_description             TestMessage10
        host_name                       NMS
        register                        1
        contact_groups                  admins
        check_freshness                 1
        freshness_threshold             60
        check_period                    24x7
}


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101104/520f1dd6/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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