Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_dellwarranty
0.5
2012-09-30
- Nagios 2.x
- Nagios 3.x
GPL
59510
File | Description |
---|---|
check_dellwarranty.rb | check_dellwarranty.rb script |
LICENSE | GPL License |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
nagios-check_dellwarranty
Poll Dell SOAP service for service contract expiration dates.
Usage
check_dellwarranty.rb [options]
-H, --hostname HOSTNAME Hostname to get warranty status for. Uses SNMP
-s, --servicetag ServiceTag ID to check
-C, --community SNMP Community to use when polling for service tag
--snmpver SNMP Version to use when polling for service tag
-w, --warning WARNDAYS Warning threshold for number of days
remaining on contract (Default: 90)
-c, --critical CRITDAYS Critical threshold for number of days
remaining on contract (Default: 30)
-D, --distant Consider only the contract expiring in the
most distant future
-l, --link Include an HTML link to Dell's warranty page for
this server
-v, --verbose Enable verbose output
-d, --debugging Enable debugging output
-h, --help Display this screen
You must supply either a hostname or a service tag. If a hostname is supplied, this script will poll OpenManage on the server via SNMP to retrieve the service tag.
Caveats
Change the hashbang line to point to your Ruby installation
Only tested on REE 1.8.7
You must install the 'snmp' Gem (or have the snmp Ruby library available by some other means)
History
0.5 (2012-09-30)
Feature: Add -D (most distant future) option, to only consider the contract expiring in the most distant future
Feature: Add -l (html link) option, to also include an HTML link to the Dell site with the warranty details
Fix: Now supports snmp libs without needing rubygems
0.4 (2012-08-29)
Feature: Add -v (verbose) option and make -d (debug) work better
Fix: Fix -w and -c params
0.3 (2012-08-29)
Bugfix: Issue #1 - Deal with instances where Dell doesn't pass back ServiceLevel codes and descriptions
0.2 (2012-08-28)
Feature: First publicly released version (That's a feature, right?!)
Poll Dell SOAP service for service contract expiration dates.
Usage
check_dellwarranty.rb [options]
-H, --hostname HOSTNAME Hostname to get warranty status for. Uses SNMP
-s, --servicetag ServiceTag ID to check
-C, --community
--snmpver
-w, --warning WARNDAYS Warning threshold for number of days
remaining on contract (Default: 90)
-c, --critical CRITDAYS Critical threshold for number of days
remaining on contract (Default: 30)
-D, --distant Consider only the contract expiring in the
most distant future
-l, --link Include an HTML link to Dell's warranty page for
this server
-v, --verbose Enable verbose output
-d, --debugging Enable debugging output
-h, --help Display this screen
You must supply either a hostname or a service tag. If a hostname is supplied, this script will poll OpenManage on the server via SNMP to retrieve the service tag.
Caveats
Change the hashbang line to point to your Ruby installation
Only tested on REE 1.8.7
You must install the 'snmp' Gem (or have the snmp Ruby library available by some other means)
History
0.5 (2012-09-30)
Feature: Add -D (most distant future) option, to only consider the contract expiring in the most distant future
Feature: Add -l (html link) option, to also include an HTML link to the Dell site with the warranty details
Fix: Now supports snmp libs without needing rubygems
0.4 (2012-08-29)
Feature: Add -v (verbose) option and make -d (debug) work better
Fix: Fix -w and -c params
0.3 (2012-08-29)
Bugfix: Issue #1 - Deal with instances where Dell doesn't pass back ServiceLevel codes and descriptions
0.2 (2012-08-28)
Feature: First publicly released version (That's a feature, right?!)
Reviews (0)
Be the first to review this listing!