NSClient++ is a general purpose monitoring agent original designed for use with Nagios on Windows but has since expanded to support multiple OSes and monitoring solutions.

learn more… | top users | synonyms

0
votes
1answer
43 views

Can Nagios NRPE call a Python script on a Windows host, which requires a UNC network share connection?

I have a Nagios host which is monitoring Windows servers using NRPE. One of the tasks is to remotely connect to a Windows Server, using NRPE, and run a Python script. The python script simply checks ...
0
votes
2answers
51 views

Nagios define service for nrpe command in Windows environment

I'm trying to configure Nagios to monitor our network which is all Windows based. I'm totally new to it, so please forgive my naiveness. Fact is: I'm banging my head over a task. What I want to ...
0
votes
1answer
233 views

NSClient++ :: Failed to establish secure connection

Trying to get active checks of a Windows host from my nagios server. At this point I'm not even using nagios, and just running check_nt from the command line. Verified that the port is open, it ...
4
votes
1answer
119 views

Running a custom script/exe through the nsclient++ web server

I have nsclient++ installed on my windows 8 machine and I have include a custom .net exe to do some application monitoring for me. The nsclient++ has no issues running the exe and send the result to ...
0
votes
1answer
96 views

Problems with NSClient and .Net modules

I've been trying to find some examples or documentation for writing .Net plugins for NSClient++. Can someone direct me to a working sample application or some documentation? I found the source code ...
0
votes
0answers
43 views

Icinga DB Monitoring Null output

Hi I have deployed icinga monitoring solution using the blog which is here Now I want to monitor multiple DB servers which are windows DB servers. I have placed the service description for DB ...
0
votes
1answer
3k views

nsclient - debugging connection issues

I have numerous windows clients that I want to monitor via nagios/nsclient. I've installed the latest nsclient on two win7 x64 and one win2012 r2. Of these one win7 works while the other two machines ...
2
votes
1answer
7k views

Nagios - NSClient++ cannot run included external script

I am running Nagios 3.5 on a Centos 7 machine. The setup is used to monitor some Windows machines via NRPE (check_nrpe commands). For the time being I am using the preconfigured 'alias' commands that ...
4
votes
1answer
447 views

Nagios plugin check_hwinfo not working

I am using Nagios to monitor Windows hosts. I am using Nagios 3.5 running on a Centos 7 server. The following packages have been installed from the official repositories and from the EPEL repository: ...
0
votes
2answers
649 views

Call NSCA from windows batch script (using NSClient++)

I have NSClient++ installed on some distributed windows servers that I am using Icinga to monitor. I also have a UPS attached to each server that can execute a custom command before scheduling a ...
2
votes
1answer
235 views

Nagios/Icinga: different passwords for each NSClient++ host

Is it possible to pass a different password to the check_nt/check_nrpe command for each windows host I have defined in my icinga configs? For example, I have 3 windows hosts define host { use ...
0
votes
1answer
2k views

NSClient seems to be ignoring allow_nasty_meta_chars setting

I am trying to detect an eventlog entry on a server, so am trying to use the CheckEventLog command: ./check_nrpe -H hostname -c CheckEventLog -a MaxWarn=1 MaxCrit=1 "filter=generated gt -3d AND id=23 ...
0
votes
1answer
385 views

NSClient++ traffic dropped only for external IP traffic

I am trying to use NSClient++/Icinga to monitor our Windows server boxes at remote locations. I have tested the NSClient on our internal network (192.168.1.*) and it works as expected with the server ...
-3
votes
2answers
1k views

Truncating return data as it is bigger then NRPE allows

I'm using latest NSCLIENT on a Win Server 2012, and see: Truncating return data as it is bigger then NRPE allows in the log file. How can I fix this?
0
votes
1answer
650 views

NSCLIENT\NRPE doesnt handle arguments with white spaces

I have a short script that prints out an argument being sent to it. Suppose I send over "print this", no matter what I do it always prints out only "print". I have tried with either powershell or ...
2
votes
1answer
9k views

Passing arguments to a Powershell Script using Nagios NRPE

Short powershell script for testing: $test = $args[0] echo "this works" echo "I transferred $test" exit 0 nsclient.ini settings: # If you want to fill this file with all avalible options run the ...
0
votes
2answers
2k views

NSCLIENT++ Unattended Installation + Allowed Hosts

For the best of me I just cant get it to install properly. I have dozens of Win servers to deploy this thing but the nsclient.ini never updates at the end of the installation. This is what I'm ...
2
votes
1answer
5k views

NSClient++: external script with optional arguments

I am trying to define an external script which would take optional arguments in NSClient++ 0.4.1 on Windows. Following the nsclient-full.ini example code I have defined mycheck=cmd /C echo ...
0
votes
1answer
504 views

how to display netstat output on nagios

Can you please tell me how to monitor an established connection (on a specified port) in a windows machine from nagios (centOS) here an example (output of netstat): Proto Local Address ...
0
votes
1answer
3k views

NSClient++, what is the best way to monitor SQL Server Agent jobs?

What is the best way to monitor SQL Server Agent jobs using NSClient++ (and Icinga)? We have about 100 jobs on the server. It would be nice if monitoring would be able to handle recovery state per ...
2
votes
1answer
1k views

Nagios: How to use crit= and warn= in CheckEventlog

I am using CheckEventLog of NSClient++0.4.1 to do a real-time monitoring. And according to official documentation, there were warn and crit options. warn Expression which raises a warning status. ...
0
votes
2answers
312 views

check_nrpe -c CheckProcState USING PID

I'm currently running a SOLR search engine from a batch file and it appears as a process in my servers taskmgr. I need to monitor its state using check_nrpe but since there are more than one cmd.exe ...
0
votes
1answer
969 views

NSClient++: Invalid return code -1073741502

I got a problem with NSClient++ (version 0.3.8.76). I set up an external script handler, and it was working. But since some time it returns this, everytime i run the check: No output available from ...
1
vote
1answer
454 views

nsclient++ intermittent connection refused on same subnet

I have setup Nagios and nsclient++ on a number of my Windows servers. They are all in the same subnet so no routing or firewall stuff is taking place in between the endpoints, and I have verified that ...
1
vote
1answer
2k views

NSClient++ FAIL on Windows 2008 R2 — PDHCollector.cpp(215) Failed to query performance counters

I am attempting to monitor windows server 2008 r2 x64 Enterprise with Nagios. When I test/install the nsclientI get the following error: PDHCollector.cpp(215) Failed to query performance counters: ...
1
vote
0answers
3k views

No handler for command 'CheckFileSize' in NSClient++

I am trying to set up monitoring of the size of folders on a Windows server from a Linux box through NRPE using NSClient++ (0.4.0.148-win64) . The basic setup is ok and I am for example able to issue ...
2
votes
2answers
22k views

NSClient++ returns 'Connection Refused'

I have been unsuccessfully trying to get NSClient to work on my 64 bit Windows 7 machine with Windows Firewall turned off. I have tried with the service started and also tried running 'NSClient++ ...
0
votes
1answer
5k views

Using the CheckEventLog module of NSClient++, how do I properly filter in two different eventTypes?

I'm having an odd amount of trouble deducing the proper syntax to "filter=in" two eventTypes, warning and error. The line I am using is as follows: CheckEventLog -a truncate=1023 MaxWarn=1 MaxCrit=1 ...
0
votes
2answers
523 views

NSClient++: running VirtualBox VM displayed as poweroff

I have to monitor a VM, runned in a Windows Server 2008 environment, using VirtualBox. I use Nagios to do the monitoring job. This process is executed in an Ubuntu Server environment. The ...
1
vote
1answer
814 views

How to check status of one port on remote host using NSClient++?

I know I could check for telnet on a known IP using other programs like: nmap -A 192.168.0.1/32 -p 23 Or, look for open ports from 20 to 30 on host.example.com: nc -z host.example.com 20-30 I ...
0
votes
2answers
5k views

NSclient++ NRPE issues

I have had NSclient++ working with Nagios for a while now. Recently I started testing Nagwin just to see how it would work, out of pure curiosity. I stopped checking a test server with my main Nagios ...
0
votes
2answers
7k views

Monitoring Windows Server 2008 usage using nsclient++

I'm setting up a monitoring system for our servers. I installed nagios on a linux box and then I installed nsclient++ (with these instruction ...
3
votes
1answer
2k views

Nagios check with $ in parameter

I need to add Nagios checks for Windows SQL services that have a dollar sign in the name (e.g. MSSQL$TOLLCONNECT) but am so far unable to work out how to pass that name along without it being Nagios ...
0
votes
1answer
2k views

OpenNMS, NSClient++ (x64), Windows Server 2008 R2

I've installed OpenNMS, and configured NSClient++ on a Win2k8 r2 box. NMS sees the NSClient, however nsclient logs the following errors: error:../../include\Socket.h:649: Error: Could not complete ...
0
votes
1answer
507 views

nsclient++ map file entries for windows servers

We use nagios to monitor our network. Has anyone found a sample map file containing entries that correspond to the services in nsclient++