Results 1 to 7 of 7

Thread: Current number of Logged on users

  1. #1
    Join Date
    Jun 2006
    Posts
    86
    Rep Power
    9

    Default Current number of Logged on users

    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
    otel consulting, inc.
    www.otelconsulting.com | facebook | twitter

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    zmsoap -z DumpSessionsRequest @name=listSessions @groupByAccount

  3. #3
    Join Date
    Jun 2006
    Posts
    86
    Rep Power
    9

    Default

    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.
    otel consulting, inc.
    www.otelconsulting.com | facebook | twitter

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    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.

  5. #5
    Join Date
    Jun 2006
    Posts
    86
    Rep Power
    9

    Default

    any idea how to send a soap request for a list of users and their total storage size similar to this cmd

    zmprov gqu 'zimbraserver.com'
    otel consulting, inc.
    www.otelconsulting.com | facebook | twitter

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    zmsoap -z GetQuotaUsageRequest
    Check /opt/zimbra/docs/soap-admin.txt for what information you can get from the admin interface.

  7. #7
    Join Date
    Jun 2006
    Posts
    86
    Rep Power
    9

    Default

    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.

    Code:
    zmsoap -z DumpSessionsRequest @name=listSessions @groupByAccount
    Given that I think I can take that and run with it for my zimbra cacti stats package.

    Either way uxbod you've been a big help and thanks!
    otel consulting, inc.
    www.otelconsulting.com | facebook | twitter

Similar Threads

  1. Replies: 1
    Last Post: 03-20-2008, 03:48 AM
  2. Creating accounts problem
    By d64 in forum Administrators
    Replies: 17
    Last Post: 02-13-2008, 07:24 AM
  3. number of logged in users
    By sasha in forum Administrators
    Replies: 4
    Last Post: 09-30-2006, 11:39 AM
  4. Check current logged on users
    By achow in forum Users
    Replies: 5
    Last Post: 05-24-2006, 06:55 PM
  5. Replies: 1
    Last Post: 01-25-2006, 11:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •