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
0answers
32 views

Nagios sends out emails with Attachments

I use NSCLIENT to run a custom powershell script that echos a few lines of text. From what I noticed, after echoing more than 2 lines, the alerts received via email from Nagios have the body empty and ...
0
votes
1answer
78 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 ...
1
vote
1answer
1k 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
1answer
261 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 ...
1
vote
1answer
753 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
198 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
429 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 ...
0
votes
1answer
126 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
67 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
295 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
313 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 ...
0
votes
1answer
1k 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
2k 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
9k 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
2k 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
426 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
480 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
3k 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
6k 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 ...
2
votes
1answer
916 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
1k 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
465 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++