Skip to content

Commit

Permalink
Reworked the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Leibold committed Dec 18, 2018
1 parent 65f4ce0 commit 4fc11da
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions check_vmware_snapshots.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fc11da

Please sign in to comment.