Tagged Questions

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

1
vote
1answer
121 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 ...
3
votes
1answer
95 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
53 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 ...
1
vote
1answer
34 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
140 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
89 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
86 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
0answers
66 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
203 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
3k 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
456 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
2k 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
275 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
802 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 ...
1
vote
1answer
251 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
107 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
384 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
344 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
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
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
11k 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
3k 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
451 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
542 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
1k 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
474 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++