Hi all,
I am new to the Nagios Core and recently I am facing few concerns on nagios . Could any one guide me in this.
->I need the CPU Utilization in percentage means at present the default one we will get as OK - load average: 0.00, 0.00, 0.00 but i need as percentage
->Is there any option of auto discover of all the machines in that network
How to display the CPU Utilization of linux machine in %
Re: How to display the CPU Utilization of linux machine in %
The metrics provided for a given check depend 100% on the plugin being used. If you're using the stock check_load plugin from the nagios-plugins package, it's going to give it as decimals.vnoc wrote:I need the CPU Utilization in percentage means at present the default one we will get as OK - load average: 0.00, 0.00, 0.00 but i need as percentage
You would need to use a different plugin. check_cpu_stats.sh should report percentages:
https://exchange.nagios.org/directory/P ... sh/details
Or, if this is an external machine you are monitoring, you might consider using NCPA with check_ncpa:
https://www.nagios.org/ncpa/help.php
Not within Nagios Core, though Nagios XI has an auto-discovery component that runs a basic nmap of the network and churns out Nagios hosts/services:vnoc wrote:Is there any option of auto discover of all the machines in that network
https://www.nagios.com/products/nagios-xi/
http://nagiosxi.demos.nagios.com/
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: How to display the CPU Utilization of linux machine in %
Thanks for your response
But one of my college used to a python based script which gives the output in percentage of CPU in linux .
Right now he is out of our office and i am unable to access it.
Can you go through that and help me in resolving this and also please find the attachment of screenshot of error
But one of my college used to a python based script which gives the output in percentage of CPU in linux .
Right now he is out of our office and i am unable to access it.
Can you go through that and help me in resolving this and also please find the attachment of screenshot of error
Re: How to display the CPU Utilization of linux machine in %
And is the nagios XI a free version or licensed version
Can't we use Nagios XI auto descovery plugins in nagios core
Can't we use Nagios XI auto descovery plugins in nagios core
Re: How to display the CPU Utilization of linux machine in %
check_nrpe is a plugin that reaches out to an NRPE agent on a remote machine and executes Nagios plugins to return their results back to Nagios Core. It's only one piece of the puzzle, we would need to know what script your colleague is using to assist further.
Here's good walkthrough for setting up NRPE, but again this is only one piece of the puzzle:
https://exchange.nagios.org/directory/T ... -7/details
Here's good walkthrough for setting up NRPE, but again this is only one piece of the puzzle:
https://exchange.nagios.org/directory/T ... -7/details
It's free to try for 60 days or up to 7 monitored hosts.vnoc wrote:And is the nagios XI a free version or licensed version
Nope. It's actually a full-blown Nagios XI component, not just a plugin.vnoc wrote:Can't we use Nagios XI auto descovery plugins in nagios core
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: How to display the CPU Utilization of linux machine in %
@vnoc do you have any more questions? Can we lock the topic?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to display the CPU Utilization of linux machine in %
no still the issue is not fixed right so please don't lock it
Re: How to display the CPU Utilization of linux machine in %
Please find the attachment of script used
Re: How to display the CPU Utilization of linux machine in %
You have not attached anything. Please try again and make sure your script is properly attached.
Former Nagios employee