Michael Medin
  • Member for 12 years, 3 months
  • Last seen more than 3 years ago
NSClient seems to be ignoring allow_nasty_meta_chars setting
Accepted answer
4 votes

The nsclient.ini file is not the same as the old nsc.ini so keys and values have changed not just sections. The key name for "nasty chars" is: [/settings/NRPE/server] allow nasty characters=true [/...

View answer
NSClient++ :: Failed to establish secure connection
Accepted answer
3 votes

check_nrpe is for NRPEServer and check_nt is for NSCLientServer So you need to move your configuration over to the NSClientServer module for check_nt to work or better yet stop using check_nt and ...

View answer
Nagios - NSClient++ cannot run included external script
Accepted answer
3 votes

As krisFR pointed out you need to prefix vbs file with cscript.exe (and various other options) . Script in windows does not work like scripts in unix so they are not "runnable" by them selves (ish). ...

View answer
NSClient++: external script with optional arguments
Accepted answer
3 votes

First off the %ARGS% tingy is for a wrappers (which is something else), perhaps I should rename that $ARGS$ to make it less confusing? Anyways NSClient++ as of before 0.4.2.61 does not support ...

View answer
An alternative to NSClient++ for windows-based systems monitoring
Accepted answer
3 votes

Out of curiosity, have you tried writing your own script for doing what you want to do? NSClient++ is much like NRPE it is a transport for running script on remote server (in this case windows ...

View answer
Problems with NSClient and .Net modules
Accepted answer
2 votes

Currently "master" is undergoing refactoring so currently sample will not build. If you use 0.4.3 branch it should work fine. I expect master to become stable in the next week or so (my vacation ...

View answer
nsclient - debugging connection issues
Accepted answer
2 votes

If you are using 0.4.3 (which I assume) "default" security has been improved a bit. This unfortunately means the rather insecure check_nrpe wont work. When you install NSClient++ you have the option ...

View answer
Nagios/Icinga: different passwords for each NSClient++ host
Accepted answer
2 votes

Yes, just rewrite the command definition: define command { command_name check_nt_pwd command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -s '$ARG1$' -v '$ARG2$' } ...

View answer
Passing arguments to a Powershell Script using Nagios NRPE
Accepted answer
2 votes

Arguments can be allowed on multiple levels (depending on how you want to slice your "security"). In essence this means you can allow arguments at the NRPE level as well as the external scripts level (...

View answer
Call NSCA from windows batch script (using NSClient++)
1 votes

Yes it is. You can use NSCA and NRPE from command line (if you have a newer version of NSClient++) which means you can submit data at whim. This will work with 0.4.2 and 0.4.3 (and possibly 0.4.1) ...

View answer
NSClient++: Invalid return code -1073741502
Accepted answer
1 votes

If it stops working it sounds like a socket issue which is most likely fixed in 0.4.1/0.4.2 All in all 0.3.8 is very very old and an upgrade will fix many issues (including timeout issues and broken ...

View answer
Nagios: How to use crit= and warn= in CheckEventlog
Accepted answer
1 votes

The documentation you refer (I am guessing http://docs.nsclient.org) to is for 0.4.2. ANd yes in 0.4.2 you can use them exactly like filter so you could do: check_eventlog "warn=id=23 and source = '...

View answer
Using the CheckEventLog module of NSClient++, how do I properly filter in two different eventTypes?
Accepted answer
1 votes

Use the new syntax which is similar to SQL... The new sample command contains the following filter: ..."filter=generated gt -2d AND severity NOT IN ('success', 'informational') AND source != '...

View answer
NSClient++: running VirtualBox VM displayed as poweroff
1 votes

I actually think it is related to privileges (or at least how Virtual box works). I did a quick test here (as I use virtual box extensively for testing nsclient++). Starting a given virtualbox as "me"...

View answer
Monitoring Windows Server 2008 usage using nsclient++
1 votes

Instead of using the "Log viewer". Id recomend running nsclient++ in "/test mode" as that will also enable debug log. So try the following: nsclient++ /stop nsclient++ /test ... ... (run commands ...

View answer
Need alternatives to NSClient++ for Nagios3 Monitoring of a Windows Server
1 votes

How are your timeouts configured? You can set timeouts on the nrpe-command (check_nrpe -t ...). You can also configure timeouts in nsclient++ (socket_timeout=...).

View answer
Monitor number of users logged into Windows XP with Nagios
1 votes

I don't really know so I am just guessing blindly here and also I dont really understand what you mean by "logged on" since you mention terminal server I assume you mean "attached sessions" (or active ...

View answer
Need Critical alert for Particular Event id is not generated with in 24 hours
0 votes

The easy way is to set empty-state and use count much like you did this overrides the default which is "ok" when nothing is found. Nothing found: check_eventlog scan-range=24h "filter=id=1008 and ...

View answer
Running a custom script/exe through the nsclient++ web server
0 votes

The web UI is not magical (and neither are built-in checks) so if the command is available via for instance NRPE then it is also available through the WEB UI. So this should be the way to go: https://...

View answer
Windows Pagefile monitoring with Nagios
0 votes

NSClient++ 0.4.3 has a built in check_pagefile which can be used to monitors page file utilization.

View answer
Truncating return data as it is bigger then NRPE allows
0 votes

You can recompile check_nrpe with a larger payload size (and/or the multi package patch patch). Extending the payload size can be done by changing (http://sourceforge.net/p/nagios/nrpe/ci/master/tree/...

View answer
check_nrpe -c CheckProcState USING PID
0 votes

NSClient++ 0.4.2 introduces support for checking/filtering pids (along with a lot of other options). check_process process=cmd.exe "filter=pid = 1234" "crit=count = 0"

View answer
Nagios disk check for windows server using hard values and not percentages
0 votes

FIY. In 0.3.9 (not yet release BTW) "check_mk's magick" disk modifiers will be added so it can rescale the percentages between large and small drives (so you can use 80% but for very large drives ...

View answer
NSclient++ NRPE issues
0 votes

First off there is no "check_nrpe" command in test mode. NSClient++ is (amongst others) a NRPE broker with a lot of built-in internal commands. The normal way to diagnose this would be to: stop the ...

View answer