Nagios-Windows 2003

Marc Powell marc at ena.com
Fri Jun 22 16:09:58 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of John Duraisw
> Sent: Friday, June 22, 2007 8:44 AM
> To: Valdinger, Stephen (DOV, MSX)
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios-Windows 2003
> 
> Stephen,
> Thanks for the quick response. Following are the info.
> 


> 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
>         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           5
>         retry_check_interval            1
>         notification_interval           120
>         notification_period             24x7
>         notification_options            c,r
>         contact_groups                  John
>         register

I'm assuming that this is really register 0 with a closing }...

> 
> # 'notify-by-email' command definition - good
> define command{
>         command_name    notify-by-email
>         command_line    /usr/bin/printf "%b" "Ladies and Gentlemen
> $SERVICEDESC$ for $HOSTNAME$ is $SERVICESTATE$ at this
time\n\nNotificatio
> n Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
> $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time:
> $LONGDAT
> ETIME$\n\nAdditional Info: $SERVICEOUTPUT$\nComments:
> $SERVICEACKCOMMENT$\nAuthor: $SERVICEACKAUTHOR$" | /bin/mail -s "**
> $NOTIFICATIONTYPE$
> alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
>         }
> 
> 
> [1182517451] SERVICE NOTIFICATION:
>
john;WebsenseFilterServer1;check_WebsenseFilteringService;CRITICAL;notif
y-
> by-email;EIMServer.exe: not running

Looks good. Nagios attempted to send the notification. Doesn't look like
there's anything in it that would be a problem. Do you see it in your
mail logs? Try the manual test if you can.

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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