Page 1 of 1

NagiosXI monitoring windows servers

Posted: Tue Mar 20, 2012 1:41 pm
by rdhall01
With ngiosxi using the nagios monitor wizard selecting windows server and adding the appropriate information
Added a new server to be monitored windows 2008 r2 added the latest version of nsclient++ allowed nagios server access and I am getting mixed results
Listed below
CPU Usage Ok 1h 56m 5s 1/5 2012-03-20 14:29:59 CPU Load 0% (5 min average)
Drive C: Disk Usage Critical 1h 55m 22s 5/5 2012-03-20 14:29:13 (Return code of 139 is out of bounds)
Drive D: Disk Usage Critical 1h 54m 39s 5/5 2012-03-20 14:30:25 (Return code of 139 is out of bounds)
Memory Usage Critical 1h 53m 56s 5/5 2012-03-20 14:26:08 (Return code of 139 is out of bounds)
Ping Ok 1h 53m 13s 1/5 2012-03-20 14:27:51 OK - 172.22.110.62: rta 1.576ms, lost 0%
Uptime Ok 1h 52m 30s 1/5 2012-03-20 14:28:34 System Uptime - 0 day(s) 0 hour(s) 0 minute(s)

but if I run the ./check_nt -H ip -v USEDDISKSPACE -l C -w 80 -c 90
command I get a segmenation fault which should be causing the 139 error
How do I monitor windows 2008 servers for memory and disks? I used to use the check_nc_net on my nagios 3.x core install it works

Re: NagiosXI monitoring windows servers

Posted: Tue Mar 20, 2012 2:46 pm
by yancy
Nsclient can monitor Windows using either check_nt or nrpe. nrpe is the preferred and more robust.

If you continue having issues check_nt, try configuring nrpe:

http://assets.nagios.com/downloads/nagi ... Client.pdf


Also WMI can monitor both memory and disk usage without needing to install an agent:

WMI Windows setup:
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf

WMI Wizard:
http://assets.nagios.com/downloads/nagi ... For_XI.pdf

Install WMI on Nagios:
http://exchange.nagios.org/directory/Ad ... rd/details

Re: NagiosXI monitoring windows servers

Posted: Thu Mar 22, 2012 2:13 pm
by rdhall01
resolved I had to uncomment a few things in the cofnig file

Re: NagiosXI monitoring windows servers

Posted: Thu Aug 02, 2012 8:02 am
by Melingo
rdhall01 wrote:resolved I had to uncomment a few things in the cofnig file
what things did you comment out ,
i have the same errors

Re: NagiosXI monitoring windows servers

Posted: Thu Aug 02, 2012 4:03 pm
by lmiltchev
Please, follow our documentation on enabling NRPE listener in NSClient++.

http://assets.nagios.com/downloads/nagi ... Client.pdf

Is this what you need or it is something else?

Re: NagiosXI monitoring windows servers

Posted: Sun Aug 05, 2012 6:35 am
by Melingo
i read this document and it help me when i created Monitoring Wizard for Windows Server service,
i was able to read performance counters like Available Byte
but when i run the Monitoring Wizard for Windows WMI i got null response.
do u have the port numbers i will need to open for the nsclient
in the NSC.INI i have multiple ports to open (also for the wmi ).
can u give me organize list of port number.

Re: NagiosXI monitoring windows servers

Posted: Mon Aug 06, 2012 10:52 am
by nscott
Have you installed the WMIC client?

http://assets.nagios.com/downloads/nagi ... For_XI.pdf