Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Red Hat Enterprise Linux subscription management
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
2710
Files:
File | Description |
---|---|
check_rhel_subscription.sh | check_rhel_subscription.sh |
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.
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.
Reviews (0)
Be the first to review this listing!