Chequea y alerta si un usuario del sistema local tiene la cuenta próxima a expirar.
Usage: -u <username> [-w <INTEGER>] [-c <INTEGER>] [-h | –help] [-V | –version]

-u, –username
Username to check in /etc/shadow
-w, –warning
Days. Less than this days is Warning
Default Warning value is 10 days
-c, –critical
Days. Less than this days is Critical
Default Critical value is 5 days
-h, –help
Print detailed help screen
-V, –version
Print version information

One thought on “

  1. Claudio Kuenzler

    Hi, thanks for this plugin. You should consinder the following change so that the plugin works without having a fixed nagios plugins path:

    use strict;
    use Getopt::Long;
    use FindBin;
    use lib $FindBin::Bin;
    use vars qw($PROGNAME);
    use utils qw (%ERRORS &print_revision &support);


Leave a Reply

Your email address will not be published. Required fields are marked *


Comment moderation is enabled. Your comment may take some time to appear.