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
30463
Files:
FileDescription
check_expiry.readmeReadme
check_expiry.shcheck_expiry
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.