Random Project

more info

here are recomandations for beginners :

– the ssh passwordless login must be done with user admin : eg ssh admin@cluster-ip
then the security check will be done with user provided in private key

– list your disk groups with command : svcinfo lsmdiskgrp
– the script require to have all parameters set to function. for example :
./check_svc_mdiskgrp.pl -cluster 192.168.1.1 -mdiskgrp B44-SAS -w 90 -c 99
sample output :
OK – B44-SAS ‘Usage %’ = 95.65; OK – B44-SAS ‘Capacity’ = 1672.75; OK – B44-SAS ‘free Capacity’ 72.75; OK – B44-SAS ‘used Capacity’ 1600.00; OK – B44-SAS ‘real Capacity’ 1600.00; OK – B44-SAS ‘virtual Capacity’ 1600.00|’Usage_%’=95.65;98;99;;’Capacity’=1672.75;’free_Capacity’=72.75;’used_Capacity’=1600.00;’real_Capacity=1600.00;’virtual_Capacity’=1600.00