Can anyone help me with nagios check issue
Created shell script to monitor the root password expiry, The plugin working fine on the nrpe client server below is the output
Code: Select all
/usr/lib64/nagios/plugins/check_pwd_expire
WARNING: Days until root password expiry = 57
Below is the false output from nagios server (check_pwd is the nrpe command for above script)
Code: Select all
/usr/lib64/nagios/plugins/check_nrpe -H <HostName> -c check_pwd
OK: Days until root password expiry =
Thanks in advance