Not really, do you have any logs from nsclient++?
ANd which version is it?
// Michael medin
Not really, do you have any logs from nsclient++?
ANd which version is it?
// Michael medin
Sounds like a bug, feel free to open a ticket, I will investigate mysel as well.
interval options.
Briefly covered here for instance: http://docs.nsclient.org/tutorial/nagios/nsca.html#adding-schedules
// Michael medin
(As we discussed already) probably due to a rounding issue.
Will be fixed “soon”.
// Michael Medin
This will be fixed “soon” for 0.4.3 I promise!!! (I have been promising to fix this though for ages, but always seem to mess it up).
But this time… promise!!!
// Michael Medin
Some of our servers have started to fail checks for disk space and disk queue, which we are checking through WMI counters. Check_pdh is returning a windows error.
Here is the problem reproduced in “nscp test”
check_pdh counter=”\\LogicalDisk(C:)\\Avg. Disk Queue Length”
E w32system Exception in Failed to poll counter: \LogicalDisk(C:)\Avg. Disk Queue Length Failed to
poll counter \LogicalDisk(C:)\Avg. Disk Queue Length: c0000bc6: The data is not valid.
D:\source\nscp\modules\CheckSystem\check_pdh.cpp:242
L cli Long message
UNKNOWN: Failed to poll counter: \LogicalDisk(C:)\Avg. Disk Queue Length Failed to poll counter \Log
icalDisk(C:)\Avg. Disk Queue Length: c0000bc6: The data is not valid.
We had this come up one day on a few servers. We were using 0.39, upgraded to 0.40, 0.43 but the same issue continues. we tried rebuilding counters with “LODCTR /R” to no avail.
Has anyone been able to resolve this problem?
thanks
Rick
Hi
thanks for your answer.
At the moment, I am monitoring almost 1000 machines. Each of them has an NS Client with NSCA scheduler and all the NSCA checks are sent at the same time. As of it, I have an heavy load on my Shinken server when all NSCA checks are received …
Do you have any idea how I may spread over ? Perharps, stopping the service and then restarting after a random time ?
Best regards, Fred.
Hello,
i habe a little problem with monitoring multicore systems. i use the new filter=none feature, but i’m not sure how to modify warning and critical for this.
i have a lot of systems with four cores and want to know if one of the cores is used with 25%/ 100%.
kind regards
steffen
Update –> It seems to work with default settings/ usage of check_cpu -a filter=none
But Status-Information only shows –> WARNING: 5m: 83%, 1m: 81% ; is it possible to show the core? And what are useful percents for warning/ critical? Because 80% warning is to high – the core is fully loaded with 25%
I have the same problem when using nsclient 0.4.2
If i use 0.4.1.105 the ${hostname} variable is working
Hi,
i’m trying to install NSClient(NSCP-0.4.1.105-Win32.msi) to Win2000 sp4 but installiation fails with error:
“The procedure entry point GetProcessId could not be located in the dynamic link library KERNEL32.dll”
Can anyone help me with this issue?
Hi there,
I’ve tried to install NSCP-0.4.1.105-Win32.msi in Windows 2000 SP4 and it fails with an error message that says: “Service NSClient++ (Win32) (nscp) failed to start. Verify that you have sufficient privileges to start system services.” I then ran services.msc and tried to manually start the aforementioned service and got the following error: “Could not start the NSClient++ (Win32) serviced on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion.” So, I then tried changing the service to use the Administrator account rather than LocalSystem and the service still won’t start. I’ve tried installing via numerous accounts with administrator rights (including the default Administrator account) and nothing has worked. I then click Cancel and the installer supposedly reverses all changes (which isn’t true). I noticed that the directory C:\Program Files\NSClient++ still exists, and has a bunch of items inside of it. I tried deleting the files and was told I couldn’t because a .dll was still in use. I ran services.msc and there was still a service running named “NSClientpp Windows Agent” I’ve tried using msiexec /x to completely uninstall and that didn’t work, and have also tried msiexec /a and msiexec /i to reinstall, which also don’t work.
I then tried to install NSCP-0.4.2.93-Win32.msi just for fun and it *IMMEDIATELY* fails with a message that says: “NSClient++ (Win32) Setup Wizard ended prematurely because of an error. Your system has not been modified and so on and so forth.”
Lastly, I just tried to install NSCP-0.4.3.40-Win32.msi and got a brand new error that says “This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.”
So, the question begs to be asked: How in the world can I install NSClient++ on my Windows 2000 machine?!? =(
Thanks,
-Snipe
NSCP-0.4.2.104-Win32.msi also immediately fails with the ended prematurely error.
I am getting some weird volumes being returned when using check_drivesize. They show up as \\?\Volume (and then a long id). As far as I can tell they don’t correlate with the actual drives and appear to be LUNs. These volumes do not show up in the disk manager… Which is weird.
Is there a way to filter these out. I tried using a filter with a regex but that didn’t work as I was filtering on the name and I don’t think it registers it as the name. It is an unknown volume.
I was able to get NSClient++ 0.3.8 working within Windows 2000 by copying it (C:\Program Files\NSClient++) from one of our existing Windows hosts. I’d still like to modernize our installs with 0.4.1, but it’s not worth the trouble at this point unless a solution can be provided for my above conundrum :P.
Thanks,
-Snipe
Hi,
We are using NSClient++ 0.4.1.102 in combination with OpsView 4.5.1 and we’ve recently had some issues with some servers and we now want to monitor the history for our CPU usage.
So, I am now trying to get the CheckCPU command to return performance data, but so far I have not been able to get this to work.
Everything I try only returns “OK CPU Load ok”, but no actual values.
I’ve tried all the following commands:
ss00156@l1-nagprdapp01:~> ./check_nrpe -H SP-16005 -n -u -p 5666 -c check_cpu -a ‘warn=80 crit=90 time=5m time=1m time=30s’
OK CPU Load ok.
ss00156@l1-nagprdapp01:~> ./check_nrpe -H SP-16005 -n -u -p 5666 -c check_cpu -a ‘warn=80 crit=90 time=5m time=1m time=30s’ ShowAll
OK CPU Load ok.
ss00156@l1-nagprdapp01:~> ./check_nrpe -H SP-16005 -n -u -p 5666 -c check_cpu -a ‘warn=80 crit=90 time=5m time=1m time=30s’ ShowAll=long
OK CPU Load ok.
ss00156@l1-nagprdapp01:~> ./check_nrpe -H SP-16005 -n -u -p 5666 -c check_cpu -a ‘ShowAll=long warn=80 crit=90 time=5m time=1m time=30s’
OK CPU Load ok.
Any idea what I should change to get some performance data in my results?
Thanks in advance,
Sandra
Hi
I’m using nsclient++ version 0.4.1.105 x64
I run a cmd batch file that contain pipe chars
ie: haclus -display | findstr ReadOnly
The scripts run well if I use only haclus -display,
when I put the pipe find the scripts stops the execution.
Some one could give me suggestion to solve this problem ?
Regards
Emilio
Hi Sandra,
I’m not sure why you don’t get any performance data. We use check_nt on most of our servers and we get performance data back for graphing as shown:
nagios@nms:/usr/local/nagios/libexec# ./check_nt -H 10.79.65.101 -p 12489 -v CPULOAD -l 5,80,90
CPU Load 6% (5 min average) | ‘5 min avg Load’=6%;80;90;0;100
I’ll see if I can check cpu load with check_nrpe as you do.
Update:
check_nrpe also produces performance metrics:
nagios@nms:/usr/local/nagios/libexec# ./check_nrpe -H 10.79.65.101 -c CheckCPU
OK: |’total 5m’=2%;80;90 ‘total 1m’=2%;80;90 ‘total 5s’=8%;80;90
I’m running version 4.2.77 (x64). Try upgrading your client if your problem isn’t already solved. Hopefully you’ve already worked it out.
Cheers!
Nawg
Hi,
this is my error:
2014-10-14 15:51:28: error:D:\source\nscp\master\nscp\modules\Scheduler\Scheduler.cpp:121: Failed to submit Windows_Dienst_COM+-Ereignissystem: Error: Failed to connect to: IP/DNS Name
can someone please help me!