cpu stats

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

cpu stats

Post 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 %
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: cpu stats

Post by slansing »

You would need to modify the plugin you are using, which plugin is this?
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: cpu stats

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: cpu stats

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked