Hi everyone,
We currently use NSClient++ on the majority of our windows hosts and I've been working with NCPA for a little bit now. I'm trying to determine if NCPA (or Nagios XI) has the ability to average the CPU usage over time. For example, with NSClient++ we can set the following for a 10 minute average and only alert if the average is over 80 or 90%
CPULOAD!-l 10,80,90
How would something similar be configured with NCPA?
Thanks!
-Kevin
NCPA CPU Load Average over time
Re: NCPA CPU Load Average over time
I don't think this functionality is available with NCPA. It shouldn't be difficult to be implemented. You are welcome to post a feature request here:
https://github.com/NagiosEnterprises/ncpa/issues
Click on the "New issue" and post your feature request. I can also do it for you (if you want me to). Thanks!
https://github.com/NagiosEnterprises/ncpa/issues
Click on the "New issue" and post your feature request. I can also do it for you (if you want me to). Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA CPU Load Average over time
I see that the feature request has been filled in
https://github.com/NagiosEnterprises/ncpa/issues/180
Has this been implemented as well ?
https://github.com/NagiosEnterprises/ncpa/issues/180
Has this been implemented as well ?
Re: NCPA CPU Load Average over time
I just heard back from our developers. The "CPU load average over time" feature request won't be implemented in the next release of NCPA as this will be a "bug fix" release. Most probably this functionality will be added in one of the future minor or major releases of NCPA. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA CPU Load Average over time
OK thank you for the info but that doesn't really help me at this time.
I'm looking for way to see Windows CPU usage in Nagios with passive tests.
I've been looking at NSCA, NRDS and NCPA that last couple of days it seems that there is no really easy way to set this up at this time.
The only "usefull" thing I have found was the following post with a powershell workaround posted by essrichard
https://support.nagios.com/forum/viewto ... 4&start=10
Any suggestions for me pls ?
I'm looking for way to see Windows CPU usage in Nagios with passive tests.
I've been looking at NSCA, NRDS and NCPA that last couple of days it seems that there is no really easy way to set this up at this time.
The only "usefull" thing I have found was the following post with a powershell workaround posted by essrichard
https://support.nagios.com/forum/viewto ... 4&start=10
Any suggestions for me pls ?
Re: NCPA CPU Load Average over time
You can set up the script posted by essrichrd as a passive check in NSClient++.
Example:
http://docs.nsclient.org/0.4.4/tutorial ... /nsca.html
Example:
Code: Select all
[/settings/external scripts/scripts]
check_cpu_usage = cmd /c echo scripts\cpu_usage.ps1; exit $LastExitCode | powershell.exe -command -
[/settings/scheduler/schedules]
cpu_usage=check_cpu_usageBe sure to check out our Knowledgebase for helpful articles and solutions!