Page 1 of 1
cpu stats
Posted: Tue Jun 17, 2014 11:28 am
by srikanth.kallu
Hi,
Is there any way we can add cpu stats of user and system to addup and show together ?
For example
This is what is shows right now
CPU STATISTICS OK : user=13.4% system=25.9%, iowait=0.0%, idle=60.6%, nice=0.00%, steal=0.00%
but i want to add user % and system %
Re: cpu stats
Posted: Tue Jun 17, 2014 11:32 am
by slansing
You would need to modify the plugin you are using, which plugin is this?
Re: cpu stats
Posted: Tue Jun 17, 2014 11:40 am
by srikanth.kallu
ok can i ask this,
I want to monitor cpu idle % when it is at 10% idle what do i change for this
right now my setting look like this
-a '-w 70,40,30 -c 90,60,40'
I think the we are using nagios inbuild script check_cpu_stats.sh to check cpu utilization %, I am not that smart to modify the script

that why we have the nagios for
Re: cpu stats
Posted: Tue Jun 17, 2014 1:56 pm
by lmiltchev
If the "default" plugins in XI don't provide you with the functionality that you need, and you are not able to find any 3rd party plugins on the Nagios Exchange that will do the job for you, you can do one of the following:
1. Post a feature request on our bug trucker
here (we can post it for you if you want us to). There is no guarantee when or if this is going to be implemented. It depends on the level of interest about this functionality in general.
2. Develop / modify a plugin. You can follow these guidelines:
https://nagios-plugins.org/doc/guidelines.html
3. Contact our sales team at
[email protected] and request a quote for a custom development.