Is there a way to get the current number of logged on users via
command line, soap, ldap?
I am building some graphs to interface with cacti
Code:zmsoap -z DumpSessionsRequest @name=listSessions @groupByAccount
great that worked perfect! I have never really messed around with soap.
The cacti script i am making which lives on a different server to pull stats.
I asume I could translate this to an actual external soap request?
uxbod do you have an email address I could use someone knowlegable like you in order to build out this cacti graphic then make it avalible to the cacti community. I wouldn't bother you to much PM me your email if you would like to lend some knowlege.
Just add a '-v' to show the XML request; or even switch to using JSON by adding '--json' on the end of the SOAP request.
Check /opt/zimbra/docs/soap-admin.txt for what information you can get from the admin interface.Code:zmsoap -z GetQuotaUsageRequest
I noticed in your other forms you seem to have a lot of experience in SOAP and PHP. I am a bit new to SOAP but have knowlege of PHP.
Can you paste a code example with either curl or soapclient for the following request.
Given that I think I can take that and run with it for my zimbra cacti stats package.Code:zmsoap -z DumpSessionsRequest @name=listSessions @groupByAccount
Either way uxbod you've been a big help and thanks!