Hi, I'm setting up monitoring of a qtree space usage via snmp.
To do this I had to find out what the OID is that represents this qtree. Does anyone have any suggestions on easily getting this information short of doing an snmwalk and actually looking for it in the output ???
I thought that the qtree ID number would correlate with the snmp index for the qrKBytesUsed, qrFilesUsed and rPathName. But it does not.
From the 'quota report' output it lists my qtree as ID #1 K-Bytes Files Type ID Volume Tree Used Limit Used Limit Quota Specifier ----- -------- -------- -------- -------- -------- ------- ------- --------------- tree 1 auto2 cns-spool-mail 66340484 104857600 9655 - /vol/auto2/cns-spool-mail
From the 'qtree' output the qtree is #5 Volume Tree Style Oplocks Status -------- -------- ----- -------- --------- auto2 unix enabled normal auto2 cns-mailsrv unix enabled normal auto2 cns-perweb unix enabled normal auto2 cns-roaming unix enabled normal --> auto2 cns-spool-mail unix enabled normal
And looking thru the 'snmpwalk' output it looks like it is #5
enterprises.netapp.netapp1.quota.qrTable.qrEntry.qrKBytesUsed.5 = 66313508 enterprises.netapp.netapp1.quota.qrTable.qrEntry.qrKBytesLimit.5 = 104857600 enterprises.netapp.netapp1.quota.qrTable.qrEntry.qrFilesUsed.5 = 9667 enterprises.netapp.netapp1.quota.qrTable.qrEntry.qrFileLimit.5 = -1 enterprises.netapp.netapp1.quota.qrTable.qrEntry.qrPathName.5 = "/vol/auto2/cns-spool-mail" enterprises.netapp.netapp1.quota.qrVTable.qrVEntry.qrVIndex.1.5 = 5 enterprises.netapp.netapp1.quota.qrVTable.qrVEntry.qrVType.1.5 = qrVTypeTree(3)
So it looks like the #5 entry wins ?! Thanks, George
------------------------------------------------------------------------------- George Kahler e-mail: george@yorku.ca Sr. Systems Administrator humans: (416) 736-2100 x.22699 Computing and Network Services machines: (416) 736-5830 Ontario, Canada, M3J-1P3