esxi monitoring pulls MHZ instead of percentation for CPU
esxi monitoring pulls MHZ instead of percentation for CPU
is there a way to see if we can stop pulling MHz and only percentage for our esxi hosts for cpu? If you look at the attachment, you see that the blue line is MHz and the green line is percentage. I would like to only see the green line which is in percentage. this is the article i used to configure monitoring esxi hosts https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: esxi monitoring pulls MHZ instead of percentation for CP
Hi,
Looking over the plugin info, the default option will post both values, but you can filter this down using the -s subcommand option.
Let me know if that works for you. Also, if you do not want to impact the previous graph, I would copy the existing service and start a new one.
Reference:
Using The Core Config Manager For Service Management
Looking over the plugin info, the default option will post both values, but you can filter this down using the -s subcommand option.
Go to the Configure > CCM, and find the service and modify the arguments for this check,so it looks like the following:* cpu - shows cpu info
+ usage - CPU usage in percentage
+ usagemhz - CPU usage in MHz
^ all cpu info
Code: Select all
check_vmware_api.pl -H "IP ADDRESS" -f "/usr/local/nagiosxi/etc/components/vmware/Nagios_VMware_Wizard_auth.txt" -l "CPU" -s "usage"
Reference:
Using The Core Config Manager For Service Management
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: esxi monitoring pulls MHZ instead of percentation for CP
am not sure how am supposed to add the flag because when i do i get errors, please see screenshot below of how its currently setup, i even tried with the quotes and same, the error am getting seems like the flag is not written right or something
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: esxi monitoring pulls MHZ instead of percentation for CP
Hi,
Try adding -s "usage" in the $ARG3$ field, then run the test command and let me know if that works for you.
Benjamin
Try adding -s "usage" in the $ARG3$ field, then run the test command and let me know if that works for you.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: esxi monitoring pulls MHZ instead of percentation for CP
that worked but i still see both MHZ and Percentage
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: esxi monitoring pulls MHZ instead of percentation for CP
Ok. Can you post a screenshot? Is it still plotting both or only the percentage value?that worked but i still see both MHZ and Percentage
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: esxi monitoring pulls MHZ instead of percentation for CP
thanks i see only the pecentage now, but after some time the graph no longer shows, how can i regenerate a new graph without having to delete and re-add the service? see screenshot below
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: esxi monitoring pulls MHZ instead of percentation for CP
Hi,
When the performance data changes format, it will likely not process the incoming data correctly, you can delete the existing performance data files and they should be recreated after about 15 minutes with valid data and start graphing for you. The files are store in the following folder:
Delete the .xml and .rrd files and within 15 minutes, it will be recreated with valid data.
When the performance data changes format, it will likely not process the incoming data correctly, you can delete the existing performance data files and they should be recreated after about 15 minutes with valid data and start graphing for you. The files are store in the following folder:
Code: Select all
/usr/local/nagios/share/perfdata/<hostname>/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!