Home Directory Plugins License Management Red Hat Enterprise Linux subscription management

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Red Hat Enterprise Linux subscription management

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2021-01-29
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
License
BSD
Hits
3876
Files:
FileDescription
check_rhel_subscription.shcheck_rhel_subscription.sh
Nagios CSP

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!
This is a plugin that monitors how much days are left before the Red Hat Enterprise Linux subscription expires. It uses the subscription-manager command on RHEL systems.
This is a plugin that monitors how much days are left before the Red Hat Enterprise Linux subscription expires. It uses the subscription-manager command on RHEL systems and must be run with sudo if the user is not root.

The following example would raise a warning if there is less than 30 days before subscription expires:

[nrpe@server ~]# sudo /usr/lib64/nagios/plugins/check_rhel_subscription.sh 30
OK - Subscription expires in 357 days, that is on Fri Jan 21 00:00:00 EST 2022
[nrpe@server ~]#

If the subscription is expired, it returns a critical.

If no subscription is found for RHEL product, it returns an unknown.