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.

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.

48 questions
5
votes
3 answers

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++ /test'. No difference. I have run Microsoft Network…
Jim R
  • 251
  • 1
  • 5
  • 14
5
votes
1 answer

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 treating it as a variable name. What is the…
John Gardeniers
  • 27,262
  • 12
  • 53
  • 108
4
votes
1 answer

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 my nagios server. That part works. I also turned…
Zuzlx
  • 121
  • 1
  • 5
4
votes
1 answer

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: nagios nagios-plugins-all nagios-plugins-nrpe So…
dlyk1988
  • 1,644
  • 4
  • 24
  • 36
2
votes
0 answers

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=5666 ; Undocumented…
0962k
  • 21
  • 1
2
votes
1 answer

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 come in the 'nsclient-full.ini' file. Everything…
dlyk1988
  • 1,644
  • 4
  • 24
  • 36
2
votes
1 answer

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 windows-server host_name prod …
Sonoman
  • 163
  • 1
  • 15
2
votes
1 answer

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 following command: # nscp settings --generate…
JustAGuy
  • 629
  • 3
  • 18
  • 35
2
votes
1 answer

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\myscript.ps1 %ARGS% | powershell.exe -command…
the-wabbit
  • 40,319
  • 13
  • 105
  • 169
2
votes
1 answer

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. Syntax: warn=ARGUMENT Sample: …
txworking
  • 479
  • 2
  • 6
  • 15
1
vote
0 answers

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 SoftwareLicensingService" "critical=15" "warning=25"…
1
vote
1 answer

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 well with this configuration, however I am noticing…
RE_Woods
  • 25
  • 1
  • 2
  • 3
1
vote
0 answers

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 have to check the event log on one of our servers…
1
vote
1 answer

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 AND source='mpio'" truncate=800 unique…
Cylindric
  • 1,107
  • 5
  • 24
  • 44
1
vote
2 answers

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 running which is found just about anywhere on the…
JustAGuy
  • 629
  • 3
  • 18
  • 35
1
2 3 4