[Nagiosplug-help] Monitor Windows servers

N Patil N.Patil at lntinfotech.com
Tue Jul 7 08:09:23 CEST 2009


Hello Behrouz,

You can use NSCClient to monitor Windows hosts. Here is sample defination 
file to monitor windows host. 
Create file in /usr/local/nagios/etc/objects/ and copy these contents. Let 
me know if you are getting any error. 

### Host Definition ####
define host{
        use             windows-server  ; Inherit default values from a 
template
        host_name       winserver       ; The name we're giving to this 
host
        alias           My Windows Server       ; A longer name associated 
with the host
        address         192.168.1.2     ; IP address of the host
        }

##### Hostgroup definition #######
define hostgroup{
        hostgroup_name  windows-servers ; The name of the hostgroup
        alias           Windows Servers ; Long name of the group
        }

##### Service Definition #####
define service{
        use                     generic-service
        host_name               winserver
        service_description     Explorer
        check_command           check_nt!PROCSTATE!-d SHOWALL -l 
Explorer.exe
        }

define service{
        use                     generic-service
        host_name               winserver
        service_description     Uptime
        check_command           check_nt!UPTIME
        }

Here replace Explorer.exe with Name of the service which you want to 
monitor. 





"Behrouz" <behrouz at shinjiru.com> 
07/07/2009 11:09 AM
Please respond to
Nagios Plugin Help List <nagiosplug-help at lists.sourceforge.net>


To
<nagiosplug-help at lists.sourceforge.net>
cc

Subject
[Nagiosplug-help] Monitor Windows servers






Dear guys,
My name is Behrouz jazayery. I’m working in SHINJIRU company in Malaysia 
and I’m using Nagios to monitor our servers.
I can monitor Linux servers with no problem my my question is how can I 
monitor windows servers with HTTP,FTP,SMTP and … with NPRE.
I read the documentation and I also searched the web a lot but I couldn’t 
find Check plug-ins in windows format.
Kindly assist me with that.
Your faithfully,
------------------------------------------------------------------
Behrouz Jazayery
 
Shinjiru Technology Sdn. Bhd.
19-2 Wisma Laxton
Jalan Desa Taman Desa 
Off Old Klang Road
58100 Kuala Lumpur
MALAYSIA
 
Tel + (603) 7987-1191
Fax + (603) 7987-2191
Local Malaysia Toll Free 1800-888-932
24 hrs Support Tel : +(603) 7987 8932
Email : behrouz at shinjiru.com
Visit Shinjiru website : http://shinjiru.com
 
 
Thank you for choosing Shinjiru.COM – Building Trust Online
---------------------------------------------------------------------------------------------------
This email message is confidential and is intended for the individual 
named only. 
Should you receive this message in error please discard the message 
immediately. 
You should not publish this information to unknown parties without the 
permission of the respective authors.
 
 
 

______________________________________________________________________
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge 
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full 
prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null



______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090707/40023e9a/attachment.html>


More information about the Help mailing list