Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_expiry.sh
1.1
2014-02-13
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
30967
File | Description |
---|---|
check_expiry.readme | Readme |
check_expiry.sh | check_expiry |
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)
byshashi_sid, September 8, 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.
(No output on stdout) stderr: Error initializing libuser: could not open configuration file `/etc/default/useradd': Permission denied.