Wowza Community

Server Monitor / Reporting

Is there any kind of server monitor and / or reporting mechanism for Wowza Media Server? We are considering upgrading to a commercial license but would like to see reports on peak # of streams that we are serving and some other basic statistics so we can make a better decision on the number of simultaneous streams we need to support?

This sort of info could be derived from the log files, but I would prefer not to write a script if someone has already done so.

Mike

There is a very cool JMX monitoring interface that will give you the data that you want. Read the chapter in the User Guide on “Server Management Console and Monitoring”. It will instruct you on how to use JConsole or MC4J to monitor the server.

There is also a load testing tool on the support page. This tool can be used to generate simulated client connections to the server.

http://www.wowza.com/support.html

Charlie

I’m running my wowza media server on a linux host and want to pull values like total and current connections from vhosts remotely using a linux monitoring system.

Has anyone had any luck getting values out of the rmi interface using command line tools to query individual values?

I’ve had a play with jmxsh but it seem un-necessarily complex for what I want.

Anyone have any suggestions for simple command line monitoring that I can then feed into something like cactus or mrtg for graphing?

If you run Wowza Pro as a Windows service then follow these instructions from the README.html file:

JMX and the Windows Service

When running Wowza Media Server Pro as a Windows service, the JMX interface will not be available unless the service is running as a named user. To configure the service to run as a named user, go to Settings>Control Panel>Administrative Tools>Services and right click on the Wowza Media Server Pro service and select Properties. Next, click on the Log On tab, change the Log on as radio to This account and enter a user name and password for a local user.

If you are running the Wowza Pro server on the same machine as the JMX console then the Wowza Pro class will show up as:

com.wowza.wms.bootstrap.Bootstrap start

Charlie

Are you running Wowza Pro on the same machine that you are running JConsole? What happens when you shutdown the Windows service and startup Wowza Pro standalone from the Start menu? Does it work then? Are you running 32-bit Windows 2003 or 64-bit? Because there is an issue with the Windows service on Windows 2003 64-bit. It does not work (that’s a pretty big issue). I assume you are running the Sun JDK, is that correct? What version of the JDK are you running?

Can you zip up and send me your [install-dir]/logs directory. I would like to have a look at it. Send it to charlie@wowza.com.

Charlie

The following changes should make it work. Edit the file [install-dir]/bin/WowzaMediaServerPro-Service.conf and uncomment and change the lines:

wrapper.java.additional.8=-Dcom.sun.management.jmxremote.port=1099
wrapper.java.additional.9=-Dcom.sun.management.jmxremote.authenticate=false
wrapper.java.additional.10=-Dcom.sun.management.jmxremote.ssl=false

To connect select “Remote Process” and enter “localhost:1099” into the address field (leave Username and Password blank).

I will look at the logs and see if I see anything in regards to it not running as a local process.

Charlie

The easiest method is probably using an HTTPProvider. See this forum post:

http://www.wowza.com/forums/showthread.php?t=5973

Charlie

WOWZA does not show up as a choice at start up and does not show in Mbeans in the JConsole monitor on windows 2003 server. Any advice on dealing with this?

Thanks,

Penneths

Charlie,

Thanks for your reply. I should have mentioned that the service is running as a named user but ‘com.wowza.wms.bootstrap.Bootstrap start’ does not show up. I was wondering if anyone else had this issue.

Thanks,

Penneths

Charlie,

Wowza Pro is on the same machine as JConsole.

Wowza Pro does work as a standalone from the Start menu with JConsole and ‘com.wowza.wms.bootstrap.Bootstrap start’ shows up.

We are running Windows 2003 Standard SP1 32-bit

JDK is 1.6.0

I’ll send some logs.

Thanks,

Penneths

The easiest method is probably using an HTTPProvider. See this forum post:

http://www.wowza.com/community/t/-/84

Charlie

That’s perfect! Thanks. I wish that was in the documentation rather than the much harder to sort out Java console.

I could have saved 3 days looking for command line Java monitoring tools. :stuck_out_tongue:

Thanks again!