Quantcast
Channel: NSClient++ » All Posts
Browsing all 189 articles
Browse latest View live

Windows event logs not showing messages

I have problem while sendig message to from nsclient to nagios. when I read application event log from Windows server 2008 everything is OK. But from System event log message field is empty (syntax...

View Article


checkmem – Invalid performance data unit: g

I keep getting the following error with NRPE + the checkmem (or alias_mem) command. http://pastebin.com/AjREBAEu I’m not sure if this is a nsclient++ issue or icinga 2 issue, but thought I would ask...

View Article


Python global names

In NSClient++ 0,4,1,102 2013-07-15 x64, I am trying to get Python scripting to work. The following: def init(plugin_id, plugin_alias, script_alias): log("init") def shutdown(): log("shutdown") Fails...

View Article

Reply To: Python global names

Found solution! Was to add this line at top of file: from NSCP import Settings, Registry, Core, log, status

View Article

Reply To: 0.4.1.105 Windows 2000 Install Fails – Lack Privileges to...

Hi everyone, I tried installing NSClient++ 0.4.1-105 x86 on a Windows 7 machine, and then manually copied the folder over to the Windows 2000 machine. I then tried manually installing the service...

View Article


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...

View Article

CheckEventLog with different filter and severity

Hello, My config : NSCLIENT 0.4.1.73 I want to know if it is possible to have in one check_nrpe NAGIOS CHECKEVENTLOG Module, two different filters with two different severity, like this : “filter=id...

View Article

real-time monitoring and external script

Is it possible to run a command/script when new event appears in Windows event log? if yes, how? I can’t find it in documentation

View Article


Reply To: Nagios – NSClient++ cannot run included external script

Hi, I’ve just been looking at this and the command that you’re looking for is: check_updates=cscript.exe /t:60 /NoLogo scripts\\lib\\wrapper.vbs check_updates.vbs You may need to adjust the timeout as...

View Article


How to Check network Printer via SNMP & NSclient++ ?

I want to check Printer via the internet with nsclient and snmp On our local network the check_snmp_printer plug in works fine but how can I check off site printer via the Internet ? NSClient with...

View Article

Image may be NSFW.
Clik here to view.

NSCA manually check and submit

Hi, I can see that one person had similar query to mine in the following thread: NSClient 0.4 functionalities Basically I have three passive checks, two of which are being executed every minute and...

View Article

CheckwmiValue not available as a command

I have nsclient 0.4.2 installed on a server 2012 r2 box. Enabled checkwmi module and the checkwmivalue command is not found but the checkwmi is. Have I missed something that I need to set up?

View Article

External script argument fail

Hi all, I’m trying to execute with a scheduler a custom script with 1 argument. I configure the following sections in nsclient.ini: [/settings/external scripts/server] allow arguments=true...

View Article


Can't run python script via NSClient++

Hello, I am trying to run python script via NSClient test and it shows me error: mongo d rvice\NSClient++.cpp:960 Injecting: mongo… d rvice\NSClient++.cpp:960 Injecting: c:\python27\python.exe… NOT...

View Article

Issues with powershell.exe processes not closing when timeout

Hello, I’ve seen some issues on 0.4.1.101 with Powershell.exe processes not closing, probably when a script times out. Is this a known issue? Is there a fix or workaround for that? Greetings. Willem

View Article


Reply To: CheckwmiValue not available as a command

Found out that the checkwmivalue command has been removed from version 0.4.2. Going to use the new filters with the check_wmi command

View Article

NSClient++ – 0,4,2,93 pulling wrong number from performance counters ?

Hi, I’m trying to pull data from some performance counters with check_nt and whilst most of it seems ok, the numbers that are nice and round (like 70 ) seem to be loosing a 0 :...

View Article


Reply To: NSClient++ – 0,4,2,93 pulling wrong number from performance...

i forgot to mention : Windows 2012 R2 Standard 64 bit

View Article

Image may be NSFW.
Clik here to view.

How to get more verbose reporting information

Hi From the command line of my Linux Nagios Server I can enter a command like # /usr/lib/nagios/plugins/check_nrpe -H mytargetwindowsserver -c alias_cpu_ex -a 80 90 and I get a verbose response from a...

View Article

Reply To: CheckSingleRegEntry don’t work

Sorry for the delay but I found a solution. NRPE is without ssl support and by default all checks requires ssl unless specified no. In nsclient.ini, add this line: [/settings/default] use ssl = false

View Article
Browsing all 189 articles
Browse latest View live