Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
now do i need to go back and run ./vmware-install.pl, how do i know this has been installed, ran through many steps just trying to put this together.
the origonal command/issue is still present
#/usr/local/nagios/libexec/check_vmfs.sh -S #.#.#.81 -V /vmfs/volumes/VM-10GDATASTORE-1
which: no vmkfstools in (/root/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
CRITICAL - /usr/local/nagios/libexec/check_vmfs.sh: line 161: --username: command not found
Yes, you need to rerun ./vmware-install.pl. The which error is telling you it can't find the application.
It's possible that it would be installed and not in path, but it sounds like we still need to install. If you still have the issue once you get through ./vmware-install.pl, we'll start digging for the actual install path.
You got about as far as I did originally but at that point it really became apparent the VCLI isn't meant to run on RHEL/CentOS 6/7. So my next question would have been does the Nagios plugin work with a newer version of VCLI as they are available and apparently easier to install. Since this plugin is not in the scope of support, I would say either try the installation with a newer CLI or an old OS eg CentOS 5.
Or you could try another plugin like box293_check_vmware. It uses a vMA appliance that already has all the pre-requisites loaded and saves all of this hassle.
thanks Box293, im using your plugin suggestion.
i have installed the plugin and now im just stuck on Step:
Configure vMA Credentials > vCenter Server Credentials,
Type
~/box293_check_vmware.pl --server 192.168.1.211 --check
vCenter_Name_Version
and press Enter
after issuing this command on my vMA the cosole just shuts down
thanks
scheema31 wrote:Type
~/box293_check_vmware.pl --server 192.168.1.211 --check
vCenter_Name_Version
and press Enter
Perhaps the minus sign you are using is the cause. It's a tilde ~ symbol which is usually on the key next to the 1 key on your keyboard. Or maybe you typed it correctly and it's the forum that is not correctly displaying the symbol.
Before you press Enter to execute the command perhaps take a screenshot so we can see exactly what is going on.
You may also want to try directly on the console instead of inside an ssh session.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.