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
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
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.
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,
Hello,
you can access the MonitorConsole pointing your browser to an URL like this: http://yourserver/monitor/
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.
Hi,
please can you post the <monitor_provider> element from your Lightstreamer_conf.xml file?
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
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.
Thanks Mone,
Now it is working.
Bookmarks