I have been running 2.5 for quite some time now, and recently decided to
upgrade to 3.0 since it was out of the beta phase.

Everything appears to be working fine from the interface level, but when
services are critical, alerts are not sent out.  When I drill down on the
service itself, and check for notifications, the "Last Notification" field
simply shows:

Current Status:  CRITICAL   (for 2d 14h 4m 43s)
<<omitted>
Last Notification:N/A (notification 0)

The "Notifications" option shows "ENABLED", and so I am a bit confused as to
why notifications have not been sent out.

To clarify, host alerts are working just fine, via the check_host_command,
but no service alerts are working.  I would appreciate any suggestions.

Below is an example of how a service is defined, including what I could
think of as relevant configuration:

---
define contact{
        name                            generic-contact
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r,f,s
        host_notification_options       d,u,r,f,s
        service_notification_commands   notify-service-by-email
        host_notification_commands      notify-host-by-email
        register                        0
        }

define contact{
        contact_name                    contactname
        use                             generic-contact
        contactgroups                   sgne
        email                           [EMAIL PROTECTED]
        }

define contactgroup{
        contactgroup_name       sgne
        alias                   Network Engineering
        }

define service{
        name                            generic-service
        notifications_enabled           1
        notification_interval           180
        notification_options            w,u,r,f,s
        check_freshness                 0
        event_handler_enabled           0
        obsess_over_service             0
        flap_detection_enabled          1
        failure_prediction_enabled      1
        process_perf_data               1
        retain_status_information       1
        retain_nonstatus_information    1
        is_volatile                     0
        active_checks_enabled           1
        passive_checks_enabled          0
        check_period                    24x7
        notification_period             24x7
        normal_check_interval           2
        max_check_attempts              3
        retry_check_interval            1
        register                        0
        }

define service{
        name                            service-network
        use                             generic-service
        service_description             Generic Network Services
        contact_groups                  sgne
        register                        0
        }

define hostgroup{
        hostgroup_name          sdhq-core
        alias                   SDHQ Core Devices
        }

define host{
        use                     host-network
        hostgroups              sdhq-core
        host_name               device.name
        alias                    Core Switch
        address                 device.name.mydomain.com
        }

define service{
        use                     service-network
        servicegroups           sdhq
        hostgroups              sdhq-general
        service_description     Environmental Checks
        check_command           check_snmp_environment!COMMSTRING!cisco
        }
---
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to