check_vmware_api.pl unknown - 1 health issue

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

check_vmware_api.pl unknown - 1 health issue

Postby NickChatz » Fri Jan 06, 2017 8:01 am

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

Re: check_vmware_api.pl unknown - 1 health issue

Postby dwhitfield » Fri Jan 06, 2017 12:39 pm

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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 2330
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: check_vmware_api.pl unknown - 1 health issue

Postby NickChatz » Wed Jan 11, 2017 5:11 am

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

Re: check_vmware_api.pl unknown - 1 health issue

Postby dwhitfield » Wed Jan 11, 2017 11:49 am

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 2330
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: check_vmware_api.pl unknown - 1 health issue

Postby NickChatz » Fri Jan 13, 2017 4:47 am

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

Re: check_vmware_api.pl unknown - 1 health issue

Postby mcapra » Fri Jan 13, 2017 11:37 am

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!

https://github.com/mcapra/
User avatar
mcapra
Support Tech
 
Posts: 2310
Joined: Thu May 05, 2016 3:54 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 12 guests