From 4fc11daf45fd35f3856f0763011d56799d466d45 Mon Sep 17 00:00:00 2001 From: Patrick Leibold Date: Tue, 18 Dec 2018 10:36:05 +0100 Subject: [PATCH] Reworked the README --- README.md | 19 ++++++++++++++----- check_vmware_snapshots.pl | 6 ++++-- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cba563e..e34e83f 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,22 @@ # icinga2_vmware_snapshots -Icinga2 Check for monitoring the Age und Count of VMware Snapshots. +Icinga2 Check for monitoring age and count of VMware Snapshots. -I modified the Original Check from https://github.com/simonmeggle/check_vmware_snapshots, by changing the Perl Nagios::Plugin to the Monitoring::Plugin. I also added Icinga Command Definitions. +I modified the Original Check from [simonmeggle](https://github.com/simonmeggle/check_vmware_snapshots), to use the Monitoring::Plugin instead the old Nagios::Plugin which is not available on CPAN anymore. + +I also added Icinga Command Definitions to integrate the Check easier into your Icinga Installation. + +--- ## How to Use -Put the Plugin check_vmware_snapshots.pl in the IcingaPluginDir. -Put the Icinga Command Definitions in your Icinga Configuration Directory. -Add the Checks to your hosts. +1. Put the Plugin check_vmware_snapshots.pl in the Icinga-PluginDir. +2. Put the Icinga Command Definitions in your Icinga-ConfigDir. +3. Define and Apply the Services. +4. Configure the Service through your Hosts according to your needs. + +There are already Defaultthresholds set in the Command Definition change them if needed. +You can also check the script itself for documentation and examples. +--- ## Example ### Services diff --git a/check_vmware_snapshots.pl b/check_vmware_snapshots.pl index 9e4c073..6dca21d 100755 --- a/check_vmware_snapshots.pl +++ b/check_vmware_snapshots.pl @@ -21,9 +21,11 @@ # along With this program; If Not, write To the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# VERSION 0.16 +# VERSION 0.17 # -# Version history: +# Version history: +# 2018/12/17 - v0.17 +# now uses Monitoring::Plugin instead of Nagios::Plugin(not in cpan anymore) # 2015/05/29 - v0.16 # added properties to API query; improves execution speed. (Thanks to Natxo Asenjo) # 2013/12/24 - v0.15