Unsolved
This post is more than 5 years old
6 Posts
0
1677
July 4th, 2017 00:00
Regarding hardware check CLI for 5 to 6 box at a single time.
Hi All
I have 6 vnx boxes of different IPs in different locations.
I want to write a scripts for that so that i can check all the hardware issues without login to the box.
I mean to say Health Check of all the VNX boxes
Pool utilization
enclosures etc.
Can you please help me regarding this.EMC Administrator Administrator
No Events found!



maniemc
169 Posts
1
July 4th, 2017 21:00
You need to write a script to check on one system and you can loop that across other systems.
Can you start something and post here if you encounter something?.
But if all you need is, to check for general health, by joining all these arrays under one Unisphere Domain, Unisphere GUI will tell you the health easily under one place.
bunty444
6 Posts
0
July 4th, 2017 22:00
Hi maniemc
Good Day !
echo "COUNTRY NAME" >> Region
naviseccli -h -User ABC -Password ABC@123 -Scope 0 faults -list >> Region
naviseccli -h -User ABC -Password ABC@123 -Scope 0 storagepool -list | findstr -i "Percent" | findstr -i "full" | findstr /v "Threshold" >> Region
naviseccli -h -User ABC -Password ABC@123 -Scope 0 storagepool -list | findstr -i "Name" >> Region
naviseccli -h -User ABC -Password ABC@123 -Scope 0 storagepool -list | findstr -i "Capacity" | findstr -i "Available" | findstr /v "Blocks" >> Region
naviseccli -h -User ABC -Password ABC@123 -Scope 0 storagepool -list | findstr -i "Total Subscribed Capacity (GBs):" | findstr /v "Blocks" | findstr /v "Oversubscribed"| findstr /v "Available"| findstr /v "Consumed" | findstr /v "User" | findstr /v "Raw" >> Region
naviseccli -h -User ABC -Password ABC@123 -Scope 0 storagepool -list | findstr -i "Percent Subscribed:" | findstr /v "Full" | findstr /v "Completed" >> Region
I have used this scripts but i am not getting any automated reply to my mail box as pdf.
its encountered correctly and showing all the info as a notepad.
and its running in one pc. I want to run this one in every pc of my work location.
And my colleagues also want to run this scripts in their respective pc.
Can you please assist me maniemc
bunty444
6 Posts
0
July 6th, 2017 01:00
maniemc
Can you please assist me on this?
dynamox
9 Legend
•
20.4K Posts
1
July 7th, 2017 10:00
those naviseccli command are used to capture array output, you will need to write the code that emails you the output if that's what you want.
bunty444
6 Posts
0
July 20th, 2017 07:00
Hi dynamox can you give me any example regarding this.
I mean to say the code.
dynamox
9 Legend
•
20.4K Posts
0
July 22nd, 2017 04:00
you will find plenty of examples online, use google
bunty444
6 Posts
0
July 22nd, 2017 04:00
dynamox I didn't get. Thats why i posted here, if you have any examples den please send me on debasishbishoyi1995@gmail.com.
Kindly do needful.
bunty444
6 Posts
0
July 22nd, 2017 04:00
Actually I need that code dynamox
Rainer_EMC
4 Operator
•
8.6K Posts
0
July 24th, 2017 06:00
If you dont have the time or skills to develop the scripts yourself from the manuals referenced or pay someone to do so I would suggest to look at implementing a management software that does this.
VNX M&R or UniSphere Central for example