Hi everyone,
when I execute this command:
check_nt -H host40 -p 12489 -v CPULOAD -l 5,80,90 -s nagios
I recieve this error:
NSClient - ERROR: No performance data from command: check_cpu
which I dont understand because my command is defined like this:
check_command check_nt!CPULOAD!-l 5,80,90
more specific: why is a check_cpu being called if the command is executed with check_nt?
Thanks in advance!
NSClient - ERROR: No performance data from command: check_c
Re: NSClient - ERROR: No performance data from command: chec
I'm by no means an NSClient++ expert, but I've dug around in the code a bit.
check_nt, and the NSClientServer, are kinda funky. They're basically glorified wrappers for general "NRPE" flavored operations. So that's why you're seeing "check_cpu" errors instead of "CPULOAD" errors; Because CPULOAD just calls check_cpu on the back-end.
As for why there's no performance data for check_cpu, can you share the NSClient++ version you currently have installed?
Have you also verified your Windows performance counters aren't misbehaving? NSClient++ just references those counters, and typically a lack of data can be attributed to those counters being absent or broken in some fashion.
check_nt, and the NSClientServer, are kinda funky. They're basically glorified wrappers for general "NRPE" flavored operations. So that's why you're seeing "check_cpu" errors instead of "CPULOAD" errors; Because CPULOAD just calls check_cpu on the back-end.
As for why there's no performance data for check_cpu, can you share the NSClient++ version you currently have installed?
Have you also verified your Windows performance counters aren't misbehaving? NSClient++ just references those counters, and typically a lack of data can be attributed to those counters being absent or broken in some fashion.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: NSClient - ERROR: No performance data from command: chec
Hi @alexbh,
Its possible the your are running the check_nrpe instead of the check_nt..
Also,just a quick guide:
The check_nt plugin collects data from the NSClient service running on a
Windows NT/2000/XP/2003 server.
Basically, check_nt tells NSClient to run a command on the windows machine.
The following commands are run by NSClient service....https://docs.nsclient.org/reference/win ... eckSystem/
Also see:
https://www.monitoring-plugins.org/doc/ ... ck_nt.html
Its possible the your are running the check_nrpe instead of the check_nt..
Also,just a quick guide:
The check_nt plugin collects data from the NSClient service running on a
Windows NT/2000/XP/2003 server.
Basically, check_nt tells NSClient to run a command on the windows machine.
The following commands are run by NSClient service....https://docs.nsclient.org/reference/win ... eckSystem/
Also see:
https://www.monitoring-plugins.org/doc/ ... ck_nt.html
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: NSClient - ERROR: No performance data from command: chec
Well, not just those...you can use it on later versions too. It might be useful to know what version of Windows though.dwasswa wrote: The check_nt plugin collects data from the NSClient service running on a
Windows NT/2000/XP/2003 server.
Re: NSClient - ERROR: No performance data from command: chec
Hi,
thanks for your answers, I eventually fixed. I changed many things: added a password in the .ini file, version 0.3 to 0.4 ... so at the end i didnt know what fixed it.
Thanks,
Alex.
thanks for your answers, I eventually fixed. I changed many things: added a password in the .ini file, version 0.3 to 0.4 ... so at the end i didnt know what fixed it.
Thanks,
Alex.
Re: NSClient - ERROR: No performance data from command: chec
Great to hear it! Did you have any further (related) questions or are we okay to close this thread?
Former Nagios employee
Re: NSClient - ERROR: No performance data from command: chec
it can be closed,
thanks
thanks