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

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
375
Files:
FileDescription
check_rhel_subscription.shcheck_rhel_subscription.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.