Plugin VMWare Snapshots check

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.

Plugin VMWare Snapshots check

Postby HaschkeD » Tue Feb 05, 2019 10:08 am

Hello,
i'm searching for a Nagios Plugin that checks if snapshots exists on my vSphere 6.7 vCenter.
I'm using Nagios 3.x with NSClient on my Windows machines.
After upgrade to 6.7 the existing Plugin doesn't work.
With 6.0 my Plugin works fine.
Does anyone have a Plugin that works with 6.7?

Regards
Dennis
HaschkeD
 
Posts: 16
Joined: Tue Feb 02, 2016 8:35 am

Re: Plugin VMWare Snapshots check

Postby mcapra » Tue Feb 05, 2019 10:47 am

HaschkeD wrote:After upgrade to 6.7 the existing Plugin doesn't work.


Can you provide a full copy of this "existing plugin"? Also, any error output this "existing plugin" is currently producing -- preferably with "verbose" output enabled if available.

box293_check_vmware is the go-to for most vmware things, and includes functionality for checking guest snapshots. I do not know if it is compatible with ESXi 6.7:
https://exchange.nagios.org/directory/P ... re/details
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3548
Joined: Thu May 05, 2016 3:54 pm

Re: Plugin VMWare Snapshots check

Postby HaschkeD » Tue Feb 05, 2019 11:03 am

This is the Plugin we used in the past:
https://labs.consol.de/nagios/check_vmware_snapshots/

This is the error:
Check VMware vCenter Snapshots
WARNING 05-02-2019 17:03:02 0d 0h 0m 28s 1/6 (null)
HaschkeD
 
Posts: 16
Joined: Tue Feb 02, 2016 8:35 am

Re: Plugin VMWare Snapshots check

Postby HaschkeD » Wed Feb 06, 2019 3:57 am

I ask my Nagios admin and he said that the Plugin still works but the Problem is that the VMware vSphere CLI for Linux is too old and he can't upgrade to a new version…
HaschkeD
 
Posts: 16
Joined: Tue Feb 02, 2016 8:35 am

Re: Plugin VMWare Snapshots check

Postby tgriep » Wed Feb 06, 2019 4:37 pm

Can you try and use version 6.5 of the VMWare Perl SDK instead of 6.7?
I have heard there are issues with 6.7 causing issues with VMWare plugins and 6.5 seems to work.
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!
User avatar
tgriep
Madmin
 
Posts: 7971
Joined: Thu Oct 30, 2014 9:02 am

Re: Plugin VMWare Snapshots check

Postby HaschkeD » Thu Feb 07, 2019 1:38 am

Thats my Problem. The Nagios Admin have Problems to Upgrade the sdk to 6.5.
i Need a poweshell Skript for that. That Can i put on a Windows machine and Nagios can Check this via nsclient.
HaschkeD
 
Posts: 16
Joined: Tue Feb 02, 2016 8:35 am

Re: Plugin VMWare Snapshots check

Postby tgriep » Thu Feb 07, 2019 1:57 pm

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!
User avatar
tgriep
Madmin
 
Posts: 7971
Joined: Thu Oct 30, 2014 9:02 am

Re: Plugin VMWare Snapshots check

Postby HaschkeD » Fri Feb 08, 2019 4:45 am

I try this script and fill in my vCenter data.
But i get the following:

Unknown script state…

:?
HaschkeD
 
Posts: 16
Joined: Tue Feb 02, 2016 8:35 am

Re: Plugin VMWare Snapshots check

Postby tgriep » Fri Feb 08, 2019 10:52 am

Can you show us how you ran the script?
Did you update the Server, username and password in the script?
Did you use a username with sufficient permissions to poll the server and gather the data?
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!
User avatar
tgriep
Madmin
 
Posts: 7971
Joined: Thu Oct 30, 2014 9:02 am

Re: Plugin VMWare Snapshots check

Postby HaschkeD » Fri Feb 08, 2019 11:10 am

Yes. I fill the variables like vcenter, datacenter,Username and password.
I Start the Powercli Shell and Start the Script.
HaschkeD
 
Posts: 16
Joined: Tue Feb 02, 2016 8:35 am

Next

Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot] and 21 guests