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

check_expiry.sh

Rating
1 vote
Favoured:
0
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
Hits
31224
Files:
FileDescription
check_expiry.readmeReadme
check_expiry.shcheck_expiry
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!
check_expiry.sh
This is a simple plugin that will issue an alert based on the number of days before a password expiration.
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)
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.