Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Jan 2008
    Location
    Mumbai
    Posts
    39

    Question How to Monitor LS Server

    hi,

    1. what is Basic HTML Monitoring Console where can I find this in LS and

    2. what is LS Monitor consolel where can I find this or how can I configure this on my machine. and

    3. How can I monitor LS server

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    The Monitor Console is a simple html console like this one shipped with LS.

    The Monitor Console is by default not active. Follow this explanation from GETTING_STARTED.TXT to activate it:

    -------------------------------
    4) Activate the Monitor Console
    -------------------------------

    Lightstreamer features an internal Monitor Console that provides
    the state of the Server in real time through an HTML page.
    The default configuration comes with the Monitor Console not
    activated, to avoid accidentally keeping it unprotected in production
    environments. To activate the Monitor Console, edit the
    "lightstreamer_conf.xml" file: go to the <monitor_provider> block and
    change <public> from N to Y; then change <available_on_all_servers>
    from N to Y.
    For production environments, remmeber to protect the Monitor Console
    through a user id and a password.

  3. #3
    Senior Member
    Join Date
    Jan 2008
    Location
    Mumbai
    Posts
    39
    Thanks for your reply Mone.

    I am using Free moderator version as for now, So to use Monitor console I uncommented <available_on_server> element under <monitor_provider> block.

    So, here my question is how can I see the Monitor Console for results or how can browse to it for monitoring purpose as you showed on this link http://app.lightstreamer.com/MonitorConsole/

    Thanks,

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hello,

    you can access the MonitorConsole pointing your browser to an URL like this: http://yourserver/monitor/

  5. #5
    Senior Member
    Join Date
    Jan 2008
    Location
    Mumbai
    Posts
    39
    Thanks,

    Now I can access monitor page and I can see the page but I can't see any monitoring information on the page,

    When I browse to the page it is asking me to provide username and password eventhough I didn't mentioned any Uname & PWD in xml file and I also checked by giving my uname & pwd but it was not taking them.

  6. #6
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    please can you post the <monitor_provider> element from your Lightstreamer_conf.xml file?

  7. #7
    Senior Member
    Join Date
    Jan 2008
    Location
    Mumbai
    Posts
    39
    Hi,

    This is my monitor_provider

    <monitor_provider>

    <!-- Optional. Enabling of the monitor access without credentials.
    Can be one of the following:
    - Y: requests to the monitor provider are always allowed;
    - N: requests to the monitor provider must specify the fields
    LS_user and LS_password and they must match the credentials
    set in the "user" elements.
    Default: N. -->
    <public>N</public>

    <!-- Optional and cumulative (but ineffective if "public" is set to "Y").
    Credentials of the users enabled to send monitor requests.
    Only alphanumeric characters and the characters * @ - _ + . /
    are supported in user and password names. -->
    <!--
    <user id="put_your_monitor_user_here" password="put_your_monitor_password_here" />
    -->
    <!--
    <user id="other_user" password="other_password" />
    -->

    <!-- Optional. Enabling of the monitor access through all server
    sockets. Can be one of the following:
    - Y: requests to the monitor provider can be issued through all the
    defined server sockets;
    - N: requests to the monitor provider can be issued only through the
    server sockets specified in the "available_on_server" elements.
    Default: N. -->
    <available_on_all_servers>N</available_on_all_servers>

    <!-- Optional and cumulative (but ineffective if "available_on_all_servers"
    is set to "Y").
    Specify, through the "name" attribute, one of the currently
    defined servers for which requests to the monitor provider can
    be issued.
    If the name has been assigned to more than one server socket,
    then the setting applies to all of them. -->

    <available_on_server name="Lightstreamer HTTP Server" />

    <!-- Optional. Enabling of the reverse lookup on Client IPs and inclusion
    of the Client hostnames while monitoring client activity.
    Can be one of the following:
    - Y: the Client hostname is determined on Client activity
    monitoring; note that the determination of the client hostname
    may be heavy for some systems;
    - N: no reverse lookup is performed and the Client hostname is not
    included on Client activity monitoring.
    Default: N. -->
    <!--
    <enable_hostname_lookup>Y</enable_hostname_lookup>
    -->

    </monitor_provider>

    The bold line indicates where I made the chnages

  8. #8
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    hello,

    you are not allowing public access nor authenticated access:


    you should change the <public> element content to Y or (better) uncomment one or more <user> elements setting the desired user and password.

  9. #9
    Senior Member
    Join Date
    Jan 2008
    Location
    Mumbai
    Posts
    39
    Thanks Mone,

    Now it is working.

 

 

Similar Threads

  1. Log data (on server & monitor)
    By Heritage in forum General
    Replies: 1
    Last Post: April 9th, 2010, 10:12 AM
  2. Lightstreamer Monitor Console
    By phan_lam in forum General
    Replies: 6
    Last Post: February 5th, 2010, 09:01 AM
  3. User and password for access to monitor
    By webfg in forum General
    Replies: 1
    Last Post: April 6th, 2009, 12:29 PM
  4. Monitor Console Adapter
    By JMolina in forum Adapter APIs
    Replies: 1
    Last Post: October 5th, 2007, 09:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:25 AM.