RHEL 8 - vmware sdk7 - plugin timeout

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jmonn
Posts: 9
Joined: Mon Dec 14, 2015 10:27 am

RHEL 8 - vmware sdk7 - plugin timeout

Post by jmonn »

Hello,

I followed https://assets.nagios.com/downloads/nag ... ios-XI.pdf and got it "working", it sometimes manages to check the values. But most of the time, I just receive a "plugin timeout" error.
2021-04-28 11_13_33.png
I read https://security.stackexchange.com/ques ... tropy-pool, installed havege, which I believe smoothed things a bit : it now succeeds half of time (with lot of vmware checks disabled).

2 questions then :
- Is there a way to make this monitoring work ?
- As the vmware perl sdk is deprecated, is there a move to python sdk, or even directly to the web API ?

Regards,
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: RHEL 8 - vmware sdk7 - plugin timeout

Post by benjaminsmith »

Hi Jmonn,

The intermittent timeout issues are often network-related. Any issues pinging the host?

Let's run a few commands directly from the CLI and try to get some more information back for debugging. Please post the output to the thread.

For VM Host:

Code: Select all

/usr/local/nagios/libexec/check_vmware_api.pl -H X.X.X.X -uyouruser -p'yourpassword' -l "CPU" -vvv
For VM Guest:

Code: Select all

/usr/local/nagios/libexec/check_vmware_api.pl -H X.X.X.X -uyouruser -p'yourpassword' -N 'yourvmname' -l "CPU" -vvv
Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
jmonn
Posts: 9
Joined: Mon Dec 14, 2015 10:27 am

Re: RHEL 8 - vmware sdk7 - plugin timeout

Post by jmonn »

Hi,

network is not the issue here, no firewall on the VM, and nagios has been running on this VM for almost 2 years before we tried (and failed) upgrading from rhel 7 to rhel 8. (So I can not test it anymore...)

Second question was about moving to something else for vmware monitoring : vmware recommends moving to python sdk, is there any project on that ? https://kb.vmware.com/s/article/80144

Regards,
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: RHEL 8 - vmware sdk7 - plugin timeout

Post by benjaminsmith »

Hi,

We will likely upgrade this after Nagios XI 6 is released. Right now, I do not have an exact date or timeline.

Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked