check_vmware_api.pl unknown - 1 health issue

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.
Locked
NickChatz
Posts: 3
Joined: Thu Sep 01, 2016 5:52 am

check_vmware_api.pl unknown - 1 health issue

Post 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.
Attachments
status.jpg
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: check_vmware_api.pl unknown - 1 health issue

Post 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?
NickChatz
Posts: 3
Joined: Thu Sep 01, 2016 5:52 am

Re: check_vmware_api.pl unknown - 1 health issue

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: check_vmware_api.pl unknown - 1 health issue

Post 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.
NickChatz
Posts: 3
Joined: Thu Sep 01, 2016 5:52 am

Re: check_vmware_api.pl unknown - 1 health issue

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: check_vmware_api.pl unknown - 1 health issue

Post 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.
Former Nagios employee
https://www.mcapra.com/
Locked