Nagios-Windows 2003

John Duraisw john.duraiswamy at gmail.com
Fri Jun 22 21:03:08 CEST 2007


Stephen,
Check the attached output, "mybox" is the XP box and the other one is the
2003 server. I get notifications for the XP box but not for the 2003 server.

Thanks,
-john

On 6/22/07, Valdinger, Stephen (DOV, MSX) <svalding at doverchem.com> wrote:
>
>  Ok, we've isolated that it is not nagios itself, or the command
> definitions for services/hosts other than windows 2003 servers. Turn to your
> Event logs. Does anything come thru them? What about netstat –a? Can you
> ping the Nagios server from the Windows Server 2003 machine? Do the hosts
> show up fine in Nagios, or is it just notifications being a problem? Check
> that the Nagios service has permission to read the Windows 2003 server.
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>   ------------------------------
>
> *From:* John Duraisw [mailto:john.duraiswamy at gmail.com]
> *Sent:* Friday, June 22, 2007 2:29 PM
> *To:* Valdinger, Stephen (DOV, MSX)
> *Subject:* Re: [Nagios-users] Nagios-Windows 2003
>
>
>
> Stephen,
> I do not have any notification issues on this server except for these
> windows 2003 service checks. When I try monitor serivices on windowsXP
> machine everything works fine.
>
> Thanks,
> -john
>
> On 6/22/07, *Valdinger, Stephen (DOV, MSX)* <svalding at doverchem.com>
> wrote:
>
> Clearify for me what you mean by all other notifications get sent out
> properly. Do you have other services that you are getting notified via email
> or sms? Any hosts that work just fine? I'm disagreeing with Marc on the MTA
> thing if you can receive other notifications. Try executing the notification
> command thru terminal for that service/host. If it goes thru, it's the
> Nagios program itself.
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>   ------------------------------
>
> *From:* John Duraisw [mailto:john.duraiswamy at gmail.com]
> *Sent:* Friday, June 22, 2007 9:55 AM
> *To:* Valdinger, Stephen (DOV, MSX)
>
> *Subject:* Re: [Nagios-users] Nagios-Windows 2003
>
>
>
> Oops that was a cut and paste error.:=)
>
> 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                        0
> }
>
> On 6/22/07, *Valdinger, Stephen (DOV, MSX)* <svalding at doverchem.com>
> wrote:
>
> You forgot your 0 in your service definition template. You are not getting
> notifications because you are pulling from generic-service, which it is not
> actually seeing.
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>   ------------------------------
>
> *From:* John Duraisw [mailto: john.duraiswamy at gmail.com]
> *Sent:* Friday, June 22, 2007 9: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 host {
>         use     generic-host
>         host_name       WebsenseFilterServer1
>         alias   WebsenseFilterServer1 - Wilton Woods NOC
>         address 10.31.47.13
>         parents DC-MSFC
> }
>
>  define host{
>         name                            generic-host
>         notifications_enabled           1
>         event_handler_enabled           1
>         flap_detection_enabled          1
>         process_perf_data               1
>         retain_status_information       1
>         retain_nonstatus_information    1
>         check_command                   check-host-alive
>         max_check_attempts              20
>         notification_interval           60
>         notification_period             24x7
>         contact_groups                  John
>         notification_options            d,u,r
>         register                        0
> }
>
> 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
> define service{
>         use                             generic-service
>         host_name                       WebsenseFilterServer1
>         service_description             check_WebsenseFilteringService
>         check_command
> check_WebsenseFilteringService!public!"websense filtering service"
>         }
>
> # '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;notify-by-email;EIMServer.exe:
> not running
>
>
> Thanks,
>
> -john
>
> On 6/22/07, *Valdinger, Stephen (DOV, MSX)* <svalding at doverchem.com>
> wrote:
>
> Can you post your log files so we can read them? There could be a number
> of things wrong. Also, please include the host/service definition commands
> so we can take a look at them. Could be something as simple as a typo.
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>   ------------------------------
>
> *From:* John Duraisw [mailto: john.duraiswamy at gmail.com]
> *Sent:* Friday, June 22, 2007 9:32 AM
> *To:* nagios-users at lists.sourceforge.net
> *Subject:* [Nagios-users] Nagios-Windows 2003
>
>
>
> Hello Everyone,
> I've been trying to monitor some services on windows 2003(SP2) using snmp
> plugins with nagios 2.9, everything is working fine on the monitoring
> side. When the service goes down the GUI turns RED but I don't get any
> notifications all though the nagios GUI says the notifations has been sent
> out. All the other notifications gets sent properly. I this something to do
> with windows 2003 ? Any ideas please?
>
> Thanks,
> -john
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070622/5eb54c2b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2003.doc
Type: application/msword
Size: 92160 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070622/5eb54c2b/attachment.doc>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- 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