Hi Team,
Can anybody tell that how to monitor the esxi and vmware server using nagios core. Is there any document or URL for this.
I want to know end to end process.
How to monitor the esxi and vmware servers using nagios core
Re: How to monitor the esxi and vmware servers using nagios
These are the steps you would need to take:
1. Install the prerequisites for the MVware SDK
2. Install the VMware Perl SDK on the Nagios Core server
3. Install a suitable plugin that can be used to monitor ESXi servers
4. Test the plugin from the command line to make sure it works
5. Create a command and services
For step 1 and 2, you could follow the document below. It's about Nagios XI, but installing the prerequisites and SDK on Nagios Core would be the same.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
For step 3, I would recommend using the check_vmware_api.pl plugin. You can obtain it from here:
https://github.com/op5/check_vmware_api
Place it in the plugins directory (usually /usr/local/nagios/libexec), and test it by running:
If you can view the usage, you could start testing your checks, and adding your command, and services. It's easier in Nagios XI as you could simply run the vmware wizard. In Nagios Core, you would need to add check manually. Please review our official Nagios Core documentation on object definitions here:
https://assets.nagios.com/downloads/nag ... tions.html
Let us know if you have any further questions.
1. Install the prerequisites for the MVware SDK
2. Install the VMware Perl SDK on the Nagios Core server
3. Install a suitable plugin that can be used to monitor ESXi servers
4. Test the plugin from the command line to make sure it works
5. Create a command and services
For step 1 and 2, you could follow the document below. It's about Nagios XI, but installing the prerequisites and SDK on Nagios Core would be the same.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
For step 3, I would recommend using the check_vmware_api.pl plugin. You can obtain it from here:
https://github.com/op5/check_vmware_api
Place it in the plugins directory (usually /usr/local/nagios/libexec), and test it by running:
Code: Select all
/usr/local/nagios/libexec/check_vmware_api.pl -hhttps://assets.nagios.com/downloads/nag ... tions.html
Let us know if you have any further questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!