Page 1 of 1

check_vmware_api.pl unknown - 1 health issue

Posted: Fri Jan 06, 2017 8:01 am
by NickChatz
Good morning and happy new year ,

As you can see from the screenshot i uploade we are having an issue with check_vmware_api.pl unknown - 1 health issue.

The vmware issue was resolved after executing : issue sfcbd-watchdog restart and then updating link in vmware center. Our concern now is how to fix the vmware.api.pl unknown state. I am no nagios expert merely a casual user so any help would be greatly appreciated.

Sincere Regards.

Re: check_vmware_api.pl unknown - 1 health issue

Posted: Fri Jan 06, 2017 12:39 pm
by dwhitfield
Is https://github.com/op5/?p=nagios/op5plu ... are_api.pl the version you are using? If not, where did you get it from? I will note, we did not write that plugin, so our support will be limited. Of course, community members can also chime in.

Also, I'll note the version of Core you are running is really old. I would highly suggest upgrading: https://assets.nagios.com/downloads/nag ... ading.html

If you installed from distribution repos, then the best option is to wait for the repos to update...or to uninstall your repo version and install 4.2.4 from source.

What version of VMWare are you running? On what OS/version are you running Nagios?

Re: check_vmware_api.pl unknown - 1 health issue

Posted: Wed Jan 11, 2017 5:11 am
by NickChatz
Thanks for the quick response but rest assure i am not nagios experienced on that. The issue with the vmware was solved so now only concerning about the svc_health.
Can you assist me in what i have to do in order to give you more information on that? i dont have direct access to the client infrastructure as we have no access as level 3 support.

Re: check_vmware_api.pl unknown - 1 health issue

Posted: Wed Jan 11, 2017 11:49 am
by dwhitfield
Force a check and then run tail -50 /usr/local/nagios/var/nagios.log | grep "IPOFVMWARE" where "IPOFVMWARE" is the actual IP. If nothing shows up, use the FQDN instead.

If nothing shows up using either of those, can you post the objects.cache? If you're concerned about security on the objects.cache, you can PM it to me. If you choose to PM, please make sure you update this forum post, as that's the only way for it to show back up on our support dashboard.

Re: check_vmware_api.pl unknown - 1 health issue

Posted: Fri Jan 13, 2017 4:47 am
by NickChatz
There was a problematic NIC which was replaced. After the rebooting of the ESX server the service was restored . I have suggested the update of the Nagios Core and awaiting for response. Is there a guide that can be found here for updating/upgrading Nagios Core?

Re: check_vmware_api.pl unknown - 1 health issue

Posted: Fri Jan 13, 2017 11:37 am
by mcapra
This guide covers the basics:
https://assets.nagios.com/downloads/nag ... ading.html

I would strongly recommend creating a VM level snapshot prior to the upgrade since Core 3 to Core 4 is a pretty big move. You may need to modify some of your configurations as well to match Core 4's stricter conventions for object definitions.