Linux

check_expiry.sh

Description:

This is a simple plugin that will issue an alert based on the number of days before a password expiration.

Current Version

1.1

Last Release Date

2014-02-13

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner


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!
Project Files
Project Photos
Project Notes
This script uses the output of lchage on Linux boxes to determine the number of days left before a password is due to expire for the specified user. This script will generate alerts based on the criteria defined within the script and can be changed easily.
Reviews (1) Add a Review
Script is working perfectly well but it is throwing permission error
by shashi_sid, September 30, 2014
From command line, it works like a charm. But on the Nagios Xi GUI, it is displaying the below error:

(No output on stdout) stderr: Error initializing libuser: could not open configuration file `/etc/default/useradd': Permission denied.
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
31,116