Unsolved
This post is more than 5 years old
2 Posts
0
562
August 30th, 2017 06:00
SMB2 stats with XML API on VNX File.
Hi,
I would like to use the XML API with VNX File for monitoring purpose. I'm very surprised that only SMB1 statistics are available.
I use this request
I retrieve the full list of available stats from the XML API, here is:
[ResourceUsage, Network-IP, Network-TCP, Network-UDP, Network-Devices, Network-All, CIFS-SMB-Procs, CIFS-Trans2-Procs, CIFS-NT-Procs, CIFS-SMB-Time, CIFS-Trans2-Time, CIFS-NT-Time, CIFS-State, CIFS-Totals, CIFS-All, NFSV2-Procs, NFSV2-Time, NFSV2-Failures, NFSV3-Procs, NFSV3-Time, NFSV3-Failures, NFSV4-Procs, NFSV4-Time, NFSV4-Failures, NFS-RPC, NFS-Lookup-Cache, NFS-All, Performance-Summary-Distribution
I'm very surprised that SMB2 statistics is not available.
Does anyone know a way to get SMB2 statistics with the XML API ?
My VNX is running VNX OE for File 8.1.9.211
Thanks



Rainer_EMC
4 Operator
•
8.6K Posts
0
September 3rd, 2017 07:00
Do you have proof that SMB2 calls arent included in the the SMB stats ?
NicolasLecointe
2 Posts
0
December 12th, 2017 06:00
Hi Rainer,
Yes. I run this simple script on a live vnx :
----
IP=127.0.0.1
curl -c temp.file -k -X POST --data "user=nasadmin&password=nasadmin&Login=Login" https://$IP/Login
date > api1.txt
curl --insecure -X POST https://$IP/servlets/CelerraManagementServices --cookie temp.file -d ' http://www.emc.com/schemas/celerra/xml_api " apiVersion="V1_2"> ' >> api1.txt
server_stats server_2 -monitor cifsOps-std -i 20 -c 3 -terminationsummary no -format csv -file stats.txt
date > api2.txt
curl --insecure -X POST https://$IP/servlets/CelerraManagementServices --cookie temp.file -d ' http://www.emc.com/schemas/celerra/xml_api " apiVersion="V1_2"> ' >> api2.txt
----
The content of files api1.txt and api2.txt is identical (except date).
In stats.txt i see "SMB Operation SMB2_Write Op Calls/s" 3