# Simple Server Statistics

**URL:** <https://community.wowza.com/t/simple-server-statistics/34648>\
**Category:** Wowza Developer Dojo\
**Created:** [November 4, 2010, 5:51pm UTC](https://community.wowza.com/t/simple-server-statistics/34648 "2010-11-04T17:51:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jin-mo\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jin-mo\_Kang](https://community.wowza.com/u/Jin-mo_Kang)\
**Post date:** [November 4, 2010, 5:51pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/1 "2010-11-04T17:51:50Z")

</div>

- Hour, day, month Server Statistics to Graph(HTML5 Canvas or VML(ie)).

- Ajax Communicate.

- Use Sqlite Database. (no install, use only jar file).

- Auto delete old record.

![](http://www.homux.co.kr/download/homux-stats/SCREENSHOT.jpg)

Setup :

1. Download & unzip following sqlite & stats module.

[http://www.homux.co.kr/download/homux-stats/homux-stat.zip](http://www.homux.co.kr/download/homux-stats/homux-stat.zip)

1. Copy homux-serverstat.jar, sqlitejdbc-v056.jar into [install-dir]/lib and homux-stat.db into anywhere.

2. Server.xml enter the module information.

```auto
<ServerListener>
	<BaseClass>com.homux.wms.server.ServerStat</BaseClass>
</ServerListener>

```

1. Add the following property to the Properties. (homux-dbFile property is homux-stat.db location, homux-insertCycle is db insert cycle. default 60 sec.)

```auto
<Property>
	<Name>homux-dbFile</Name>
	<Value>c:/homux-stat.db</Value>
</Property>
<Property>
	<Name>homux-insertCycle</Name>
	<Value>60000</Value>
</Property>

```

1. Vhost.xml enter the Admin HostPort(8086) HTTPProviders module information.

```auto
<HTTPProvider>
	<BaseClass>com.homux.wms.http.ServerReport</BaseClass>
	<RequestFilters>serverreport*</RequestFilters>
	<AuthenticationMethod>admin-digest</AuthenticationMethod>
</HTTPProvider>

```

1. Wowza Media Server restarting.

2. Enter the following URL into the Web browser on your PC.

http://[wowza-address]:8086/serverreport

auto refresh time : hour - 1 min, day - 12 min, month - 3 hour.

enjoy~

Jinmo.

---

<div class="post-metadata">

**Author:** ![Bjarki\_Jonsson](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Bjarki\_Jonsson](https://community.wowza.com/u/Bjarki_Jonsson)\
**Post date:** [November 4, 2010, 10:18am UTC](https://community.wowza.com/t/simple-server-statistics/34648/2 "2010-11-04T10:18:22Z")

</div>

Anyone got this working on Linux or Mac?

I get this error:

ERROR server comment - Error loading: com.sqlite.JDBC : java.lang.ClassNotFoundException: org.sqlite.JDBC

SQLException: No suitable driver found for jdbc:sqlite:/db/homux-stat.db

SQLState: 08001

VendorError: 0

---

<div class="post-metadata">

**Author:** ![Fred\_Lunau](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@Fred\_Lunau](https://community.wowza.com/u/Fred_Lunau)\
**Post date:** [March 31, 2011, 5:48am UTC](https://community.wowza.com/t/simple-server-statistics/34648/3 "2011-03-31T05:48:31Z")

</div>

Thanks for this - it rocks! Now if there was only a simple way of breaking down the stats per Wowza Application… any plans on adding this? In either case, many thanks again for providing this to us!!

---

<div class="post-metadata">

**Author:** ![Federico\_Deis](https://avatars.discourse-cdn.com/v4/letter/f/e68b1a/32.png) [@Federico\_Deis](https://community.wowza.com/u/Federico_Deis)\
**Post date:** [June 8, 2011, 6:13pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/4 "2011-06-08T18:13:32Z")

</div>

Hi comjakma,

Great app indeed. I’m using Wowza in a Mac OS X 10.6.x and everything works fine except the graphics are not display. After 2 days, the graphs show no stats, the db file seems not to be written by homux. The db file is r/w for everyone and the path has been defined in Properties. I even put the db file in the root directory of the volume with no luck. If i go to http://[wowza-address]:8086/serverreport/getData.html, I can see the stats working. Any suggestions would be greatly appreciated. Thanx

---

<div class="post-metadata">

**Author:** ![Marcus\_Vinicius\_Maga](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Marcus\_Vinicius\_Maga](https://community.wowza.com/u/Marcus_Vinicius_Maga)\
**Post date:** [August 7, 2013, 4:58pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/5 "2013-08-07T16:58:33Z")

</div>

hello… you can give a copy of this file … homux-stat.zip thank you!!!

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 7, 2011, 10:18pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/6 "2011-04-07T22:18:15Z")

</div>

Did you restart Wowza after adding jar files to the lib folder?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 8, 2011, 5:39pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/7 "2011-04-08T17:39:13Z")

</div>

Check the error log.

Also check on port 1935, in case you put the HTTProvider in that HostPort:

http://[wowza-address]:1935/serverreport/getData.html

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 7, 2011, 11:28pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/8 "2011-06-07T23:28:24Z")

</div>

Review your changes to /conf/VHost.xml. Undo and start over if possible.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 17, 2011, 9:50am UTC](https://community.wowza.com/t/simple-server-statistics/34648/9 "2011-08-17T09:50:23Z")

</div>

Take a look at connectioncounts HTTProvider

[https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics](https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 23, 2011, 2:15pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/10 "2011-08-23T14:15:47Z")

</div>

Mamoor,

This shows that Wowza is installed and running. You can proceed to configuring applications and testing playback in supported clients.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 22, 2013, 2:06pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/11 "2013-01-22T14:06:57Z")

</div>

This is usually audio+video bitrate. It is probabably outBitRate, i.e., server to client bitrate, but I am not sure about Simple Server Statistics, I have not used it.

Richard

---

<div class="post-metadata">

**Author:** ![Andre\_Marcelo](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@Andre\_Marcelo](https://community.wowza.com/u/Andre_Marcelo)\
**Post date:** [February 15, 2011, 1:35pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/12 "2011-02-15T13:35:57Z")

</div>

Hi,

Thanks for this app. But it did not work for me, look:

[http://66.228.126.145:8086/serverreport](http://66.228.126.145:8086/serverreport)

No error in log files.

Any idea?

Thanks

---

<div class="post-metadata">

**Author:** ![Andre\_Marcelo](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@Andre\_Marcelo](https://community.wowza.com/u/Andre_Marcelo)\
**Post date:** [April 24, 2011, 12:32am UTC](https://community.wowza.com/t/simple-server-statistics/34648/13 "2011-04-24T00:32:14Z")

</div>

Please send a PM with the price for stats per application.

> Stats per application are shared with my contracted customers currently. But I haven’t decided whether or not to open them.
> 
> Jinmo

---

<div class="post-metadata">

**Author:** ![Sebastien\_Faure](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sebastien\_Faure](https://community.wowza.com/u/Sebastien_Faure)\
**Post date:** [January 28, 2011, 2:05pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/14 "2011-01-28T14:05:36Z")

</div>

Many thanks comjakma! Works great!

---

<div class="post-metadata">

**Author:** ![Sebastien\_Faure](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sebastien\_Faure](https://community.wowza.com/u/Sebastien_Faure)\
**Post date:** [February 15, 2011, 5:43pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/15 "2011-02-15T17:43:14Z")

</div>

@PLUG.Andre: About Step 5: you must insert the HTTPProvider block before the one about com.wowza.wms.http.HTTPServerVersion. Should work then …

---

<div class="post-metadata">

**Author:** ![Daniel\_Tremblay](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Daniel\_Tremblay](https://community.wowza.com/u/Daniel_Tremblay)\
**Post date:** [September 17, 2011, 8:41am UTC](https://community.wowza.com/t/simple-server-statistics/34648/16 "2011-09-17T08:41:48Z")

</div>

On os x it works for me!

homux-dbFile

/Library/WowzaMediaServer-2.1.1/conf/homux-stat.db

On EC2 too:

homux-dbFile

/home/wowza/conf/homux-stat.db

homux-insertCycle

10000

i now need to create the upload package including it to my edges… and a web page including all of those edges nice graphs picking each edges automatically …

GREAT APP!

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [April 7, 2011, 2:16pm UTC](https://community.wowza.com/t/simple-server-statistics/34648/17 "2011-04-07T14:16:47Z")

</div>

I can´t get this work !! Help please

My VHost.xml

> 4
> 
> \*
> 
> 1935
> 
> true
> 
> 24000
> 
> 65000
> 
> true
> 
> 100
> 
> cupertinostreaming,smoothstreaming,sanjosestreaming
> 
> com.homux.wms.http.ServerReport
> 
> serverreport\*
> 
> admin-digest
> 
> com.wowza.wms.http.HTTPCrossdomain
> 
> \*crossdomain.xml
> 
> none
> 
> com.wowza.wms.http.HTTPClientAccessPolicy
> 
> \*clientaccesspolicy.xml
> 
> none
> 
> com.wowza.wms.http.HTTPServerVersion \*
> 
> none
> 
> 1
> 
> \*
> 
> 8086
> 
> true
> 
> 16000
> 
> 16000
> 
> true
> 
> 100
> 
> com.homux.wms.http.ServerReport
> 
> serverreport\*
> 
> admin-digest
> 
> com.wowza.wms.http.streammanager.HTTPStreamManager
> 
> streammanager\*
> 
> admin-digest
> 
> com.wowza.wms.http.HTTPServerInfoXML
> 
> serverinfo\*
> 
> admin-digest
> 
> com.wowza.wms.http.HTTPConnectionInfo
> 
> connectioninfo\*
> 
> admin-digest
> 
> com.wowza.wms.http.HTTPConnectionCountsXML
> 
> connectioncounts\*
> 
> admin-digest
> 
> com.wowza.wms.http.HTTPServerVersion
> 
> \*
> 
> none
> 
> smoothstreaming
> 
> smoothstreaming
> 
> cupertinostreaming
> 
> cupertinostreaming
> 
> sanjosestreaming
> 
> sanjosestreaming
> 
> 120
> 
> 80
> 
> 4
> 
> 50
> 
> 5
> 
> 4
> 
> 250
> 
> true
> 
> 65000
> 
> 24000
> 
> true
> 
> 100
> 
> 2000
> 
> 90000
> 
> 250
> 
> 75
> 
> true
> 
> 256000
> 
> 65000
> 
> 50
> 
> 4096
> 
> true
> 
> 65000
> 
> 65000
> 
> 50
> 
> 4096
> 
> 4
> 
> 8
> 
> 4
> 
> 4
> 
> 60000
> 
> 12000
> 
> 20000
> 
> 0
> 
> 60000
> 
> true

My Server.xml

> \*
> 
> 8083
> 
> Server,VHost,VHostItem,Application,ApplicationInstance,MediaCaster,Module,IdleWorker
> 
> false
> 
> localhost
> 
> localhost
> 
> 8084
> 
> 8085
> 
> true
> 
> ${com.wowza.wms.ConfigHome}/conf/jmxremote.password
> 
> ${com.wowza.wms.ConfigHome}/conf/jmxremote.access
> 
> false
> 
> Shockwave Flash|CFNetwork|MacNetwork/1.0 (Macintosh)
> 
> com.homux.wms.server.ServerStat
> 
> 10
> 
> 10
> 
> 6970
> 
> false
> 
> homux-dbFile
> 
> /usr/local/WowzaMediaServer-2.2.2/conf/homux-stat.db
> 
> homux-insertCycle
> 
> 60000

What im doing wrong ?!?! I already upload the files homux-serverstat.jar, sqlitejdbc-v056.jar into [install-dir]/lib and homux-stat.db into anywhere

Thks

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [April 8, 2011, 9:34am UTC](https://community.wowza.com/t/simple-server-statistics/34648/18 "2011-04-08T09:34:06Z")

</div>

Hi rrlanham, Yes I restrted Wowza after adding jar files into the lib folder, actually i just restarted again

> root@empresarios [~]# /etc/init.d/WowzaMediaServer restart
> 
> WowzaMediaServer: stopping
> 
> waiting for processes to exit
> 
> waiting for processes to exit [OK]
> 
> WowzaMediaServer: starting [OK]
> 
> comjakma: When I go to http://[wowza-address]:8086/serverreport/getData.html I just got a blank page !
> 
> What do you think might be doing wrong? Can you help me?
> 
> Thanks guys

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [April 11, 2011, 9:36am UTC](https://community.wowza.com/t/simple-server-statistics/34648/19 "2011-04-11T09:36:32Z")

</div>

nothing …

Do u think its something to do with uncomment the stats appender in /conf/log4j.properties file. ??? because i have not touch that file !

Thks

---

<div class="post-metadata">

**Author:** ![Andres\_Lopezvictoria](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Andres\_Lopezvictoria](https://community.wowza.com/u/Andres_Lopezvictoria)\
**Post date:** [May 2, 2011, 5:34am UTC](https://community.wowza.com/t/simple-server-statistics/34648/20 "2011-05-02T05:34:55Z")

</div>

> Please send a PM with the price for stats per application.

I’m interesting to buy stats per application too, thks

[Next page](https://community.wowza.com/t/simple-server-statistics/34648.md?page=2)
