Menu

Tactical overview and passive checks

Help
ely
2007-03-22
2013-04-25
  • ely

    ely - 2007-03-22

    Hello,

    I tested nsca passive check successfully sent to nagios but when passive check get alert , critical for exemple, i only get sms.
    The critical alert is NOT reported on the tactical overview !!!

    Even when the check_freshness is 1, and freshthreshold 7200. Only the local service status for that alert is displayed critical.

    The way to get alert to the tactical overview is get active check for the service. Is there any means to get only passive check and get alert though tactical overview?

    Please help.

    Here is the exemple for service disk C passive.

    define service {
       name                             Passive
       register                         0
       active_checks_enabled            0
       passive_checks_enabled           1
       is_volatile                      0
       parallelize_check                1
       obsess_over_service              0
       check_freshness                  1
       freshness_threshold              7200
       flap_detection_enabled           1
       retain_status_information        1
       retain_nonstatus_information     1
    }

    define service {
       name                            passive_test
       service_description             testPassive
       use                             Passive
       host_name                       HostSRV
       check_period                    24x7
       max_check_attempts              3
       normal_check_interval           5
       retry_check_interval            1
       contact_groups                  Ely
       notification_period             24x7
       notification_options            w,c,r
       check_command                   check_dummy
    }

    define service {
       service_description             VOL C
       use                             passive_test
       check_command                   check_dummy
    }

     
    • tony

      tony - 2007-03-22

      Hi Ely,

      From the problem description of:
      I get sms (which is an alert)
      but the Tactical overview shows it still as OK.

      This tells me the problem is most likely somehwere in the configuration,
      I would need to do some more reseach to verify what may be causing this.
      but what I believe may be happening is:
      the checkresult comes in and the alert goes out. (if the alert goes out for the first critical then volatile service might be on, since it should get three Critical based on the Max_check_attempts )
      if active check was on then the active check would run at the retry interval and change the state back to OK, since thats proboly what the dummy check does.

      one thing to check,
      look at the properties of the Service through the Tacktical overview
      verify that the running configuration matches the configuration file information.

      Also check the Nagios log files(depends on your logging options)
      to see what is reported for this host and service.

      if the active check are disables and Passive checks enables then it should work.
      But State retentions, multiple instances of nagios, ect...
      may be keeping the active check enabled despite the service configuration. 
      but once again this should be seen in the Tacktical overview of the service.

      This Does not sound like a problem with NC_NEt,
      but it is a configuration issue using Passive checks with nagios.
      you can also experiment with passive check on the Linix side,
      and once you get any working Passive check then use that as a model for the rest of them.

      Tony

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.