For more details, please see ourCookie Policy.

Fibre Channel (SAN)

Occasional Contributor
Posts: 9
Registered: ‎08-01-2012

Looking for .Ksh script template to monitor Brocade San & Disk Arrays

Hi Experts

I need to know can we put both i.e. all brocade San switches and Enterprise disk Arrays in one Korn Shell Script for Daily Environment checks ?

If this is possible then Is there any korn shell script template which we can edit & update ?

I would need your assistance here as to how to create a script for daily environment checks on Brocade san + Arrays.



Regular Contributor
Posts: 226
Registered: ‎01-08-2011

Re: Looking for .Ksh script template to monitor Brocade San & Disk Arrays


does it have to be Korn Shell?

To log on to a Brocade SAN switch and send commands via only ksh I guess you have to use 'expect' in some way, and expect is not really awesome.

I've used Ruby for monitoring switches (not written by me though) and it's been working great.

Perhaps you could write a kornshellscript that uses another language (Perl, Python, Ruby.. there's many of them) which can log on to switches and parse the output.

As for the "Enterprise Disk Array" - this depends on which array and which means of providing information it has.

Join the Broadcom Community

Get quick and easy access to valuable resources across the Broadcom Community Network.