This commit is contained in:
2024-10-14 00:08:40 +02:00
parent dbfba56f66
commit 1462d52e13
4572 changed files with 2658864 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/expect -f
set host [lindex $argv 0]
spawn ssh $host -l admin
expect "Password:"
send "pW4n3taPP\n"
expect "::>"
send "rows 0\n"
expect "::>"
send "set -showseparator :\n"
expect "::>"
send "set -units GB\n"
expect "::>"
set date [timestamp -format %C%y%m%d]
log_file /home/conetadm/scripts/netapp/log
send "vol show -fields vserver,volume,Aggregate,Size,available,percent-used\n"
expect "::>"
send "exit\n"
interact