Questions tagged [nsclient++]

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
253 views

No argument works witch the command check_drivesize

I querry a Windows Server where NSClient++ is installed with NRPE. The matter is I can't pass any filter/argument with the command check_drivesize ! This is the command : /usr/lib64/nagios/plugins/...
GrandGTO's user avatar
0 votes
2 answers
247 views

How to properly display accentuated characters in a check_nrpe result based on a Powershell script?

I have a custom Powershell script called by Nagios using "check_nrpe". Currently all check results output messages with special characters like 'è', 'é' or 'à' are not displayed properly ...
donmelchior's user avatar
0 votes
1 answer
979 views

NSClient++ rejects connection or fails to send info

I'm trying to get to work some active checks on Windows endpoint machines, NSClient++ works just fine with my Windows servers but when it comes to checking any endpoint the only response I get is ...
JoaquínH's user avatar
0 votes
2 answers
1k views

nrpe for Windows - filter and arguments change threshold values

i have my monitoring Linux server with NRPE Plugin for Nagios Version: 3.2.1 and i installed on the windows machine NSClient++ with this .bat script. set setupfile="NSCP-0.5.2.35-x64.msi" msiexec /...
FaxMax's user avatar
  • 165
1 vote
0 answers
98 views

Error while Checking the KMS service count using Nsclient

I'm getting following error. NSClient version: 0.5.0.65 2016-11-13 nsclient.ini: [/modules] CheckWMI = enabled Syntax: ./check_nrpe -H 10.122.33.96 -c check_wmi -a "query=Select * from ...
Gopinath Kadaveru's user avatar
0 votes
1 answer
481 views

Need Critical alert for Particular Event id is not generated with in 24 hours

I am using CheckEventLog of NSClient++ 0.5.0.62 2016-09-14 how to use syntax for , if particular event id is not generated with in 24 hours i need critical alert , if event id generated i need ...
Gopinath Kadaveru's user avatar
1 vote
1 answer
13k views

Nagios Plugin CHECK_NRPE Receive header underflow

I run a Nagios Core server on a LAN. I have 5 windows machines outside the network I am talking to via five ssh tunnels on 5 different ports listening to five custom NSClient++ apps. All is working ...
RE_Woods's user avatar
-2 votes
1 answer
9k views

Changing Default port for Nagios NSClient++

The default port for NSClient++ is 12489. Is is possible to change this port, and if so where does this change need to be made?
RE_Woods's user avatar
1 vote
0 answers
238 views

NSClient CheckEventLog gives no entries for id

We have a Red Hat server that runs Icinga2 with NSClient++ 0.5.0.62 to monitor some devices and services in our network. Everything works perfectly fine except for one new check I'm trying to use. I ...
Gian Gubler's user avatar
-1 votes
1 answer
758 views

list of commands for nsclient++ [closed]

After executing the following command get the correct result ./check_nrpe -H @IP -p 5666 -c alias_mem OK: committed = 6.083GB, physical = 1.608GB|'committed'=6.08327GB;12.7978;14.39752;0;15.99725......
user396019's user avatar
0 votes
1 answer
141 views

Monitor Group Policy eventlog

I want to monitor GPOs and check if the GPOs are applied on all stations of my Domain, by checking the presence of an ID with the name of GPO, and check if an error occured. I want to monitor ...
user382377's user avatar
2 votes
0 answers
601 views

CHECK_NRPE: Error - Could not complete SSL handshake. win2003server

win2003k with nsclinet++ (remote host) 0.4.4.19 and ubuntu 16 serv with nagios (monitoring host). my nsclient.ini [/settings/default] allowed hosts = 127.0.0.1,::1,10.50.133.98 password = 12345 port=...
0962k's user avatar
  • 21
0 votes
1 answer
465 views

Icinga monitoring, random "Connection refused by host"

I have a Nagios/icinga monitoring system, which i use to monitor mainly Windows based machines running a version of NSClient++ that i found works without being too annoying (NSCP-0.4.1.105-x64). This ...
Snowflow's user avatar
0 votes
1 answer
752 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 ...
kafka's user avatar
  • 547
0 votes
2 answers
3k 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 ...
arf's user avatar
  • 3
0 votes
1 answer
11k 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 ...
emmdee's user avatar
  • 2,127
4 votes
1 answer
875 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 ...
Zuzlx's user avatar
  • 121
0 votes
1 answer
377 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 ...
mhvelplund's user avatar
0 votes
0 answers
108 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 ...
Shailesh Sutar's user avatar
0 votes
1 answer
5k 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 ...
ethrbunny's user avatar
  • 2,369
2 votes
1 answer
20k 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 ...
dlyk1988's user avatar
  • 1,674
4 votes
1 answer
898 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: ...
dlyk1988's user avatar
  • 1,674
0 votes
2 answers
1k 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 ...
Sonoman's user avatar
  • 173
2 votes
1 answer
2k 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 ...
Sonoman's user avatar
  • 173
1 vote
1 answer
10k 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 ...
Cylindric's user avatar
  • 1,117
0 votes
1 answer
1k 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 ...
Sonoman's user avatar
  • 173
-3 votes
2 answers
5k 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?
JustAGuy's user avatar
  • 639
0 votes
1 answer
2k 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 ...
JustAGuy's user avatar
  • 639
2 votes
1 answer
19k 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 ...
JustAGuy's user avatar
  • 639
1 vote
2 answers
5k 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 ...
JustAGuy's user avatar
  • 639
2 votes
1 answer
9k 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 C:\mydir\...
the-wabbit's user avatar
  • 40.6k
0 votes
1 answer
787 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 ...
Abdelilah Benaou's user avatar
0 votes
1 answer
7k 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 ...
Fanda's user avatar
  • 188
2 votes
1 answer
2k 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. ...
txworking's user avatar
  • 479
0 votes
2 answers
687 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 ...
Aki's user avatar
  • 1
0 votes
1 answer
3k 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 ...
jogo's user avatar
  • 75
1 vote
1 answer
680 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 ...
tacos_tacos_tacos's user avatar
1 vote
1 answer
4k 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: \...
john.da.costa's user avatar
1 vote
0 answers
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 ...
Olof Åkesson's user avatar
5 votes
3 answers
51k 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++ /...
Jim R's user avatar
  • 251
0 votes
1 answer
7k 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 ...
brandeded's user avatar
  • 1,855
0 votes
2 answers
609 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 ...
Nicolas W.'s user avatar
1 vote
1 answer
2k 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 need ...
Ozl's user avatar
  • 11
0 votes
2 answers
6k 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 ...
Supercereal's user avatar
0 votes
2 answers
8k 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 http://nagios.sourceforge.net/docs/3_0/monitoring-windows....
Davide Vosti's user avatar
5 votes
1 answer
4k 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 ...
John Gardeniers's user avatar
0 votes
1 answer
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 ...
WedTM's user avatar
  • 301
0 votes
1 answer
606 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++
Stewart Robinson's user avatar