Ethernet Fabric (VDX, CNA)

Reply
Senior Member
Posts: 1
Registered: ‎02-03-2015

VDX6740 File System Monitoring

Hi,

 

because we were hitting some BUG's in the past where the File System was running out of space, we would like to monitor the usage. Is there any chance to monitor this via SNMP or do we need a script or is there a script available?

 

# foscmd bash
bash-2.04# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root             1.8G  1.0G  682M  61% /
/dev/sda2             1.8G  652M  1.1G  37% /mnt

 

 

Thanks in advance!

 

Florian

Highlighted
Brocade Moderator
Posts: 100
Registered: ‎02-04-2015

Re: VDX6740 File System Monitoring

[ Edited ]

Hello Florian,

 

There is no OID you can pull through snmp to get flash utilization.

 

You can use an "expect" script to pull the details of the flash from a linux server. I have put the simple script below to help you with this issue.

 

#!/usr/bin/expect -f

puts "\n##############\n# xxx.26.4.xxx #\n##############\n"

spawn ssh -l root xxx.26.4.xxx "df -h"

expect "root@xxx.26.4.xxx's password:"

send "PASSWORD\r"

expect "Use Control-C to exit or press 'Enter' key to proceed."

 

You will need to ssh manually to the switch once so the ssh key fingerprint gets added to the hosts file. 

 

The output can be directed to a file, and a cron job can be added so the script runs automatically.

 

Hope this helps addressing your concern.

 

Regards,

Os 

Any and all information provided by me is not reviewed, approved or endorsed by Brocade and is provided solely as a convenience for Brocade customers.

All systems and all networks are different and unique. If you have a service affecting network problem, please open a TAC service request for service through Brocade, or through your OEM equipment provider. If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution" .

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.