Hi,
I would like to know how many users are connected to MWG at a given time? Is there a command? also can we consider Requests per second in console equals to # of users? i dont want to use CSR or some other tool for this.
Thanks,
Sridhar
Hello,
so far I know there is no client count available on MWG.
Via CLI commands you can only request amount of current connections for example but this is not equal to the client count:
#/opt/mwg/bin/mwg-core -S Connections
Maybe there is a chance to use Linux commands to strip/parse this output and count unique IP's but I haven't seen this.
So I guess a reporting solution such as CSR or any other will be required.
(If someone knows an easy way on MWG I would appreciate a response 😁 )
# Number of unique client IP addresses connected to proxy
/opt/mwg/bin/mwg-core -S connections | awk -F'|' '{split($5,IPPORT,":"); if (NR>2 && IPPORT[1]~/\./){print IPPORT[1]}}' | sort | uniq -c | wc -l
Requests per second is not the same as number of client IPs. One IP address can have multiple concurrent connections to different resources.
BTW, why you cannot use MWG UI to read/visualize the number of Active Proxy Connections?
Dashboards - Charts and Tables - System Summary - Number of Active Proxy Connections.
I'm not sure, but probably you can also read those numbers by SNMP. They are in "Currently connected clients":
stClientCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Currently connected clients"
::= { mwgMiscellaneous 2 }
MIB you can download from MWG UI: Configuration - Appliances - SNMP - SNMP MIB Files (at the bottom).
Have a good luck.
Thq for your response. i will try SNMP.
Wish McAfee incorporates this in the future versions.
Where in ePO or CSR I can find that information? Thanks
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.
Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership: