# Monitoring "Edge Servers" Connections

**URL:** <https://community.wowza.com/t/monitoring-edge-servers-connections/43164>\
**Category:** Wowza Streaming Engine\
**Created:** [June 4, 2014, 4:46pm UTC](https://community.wowza.com/t/monitoring-edge-servers-connections/43164 "2014-06-04T16:46:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ciro\_Anunciacao](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@Ciro\_Anunciacao](https://community.wowza.com/u/Ciro_Anunciacao)\
**Post date:** [June 4, 2014, 4:46pm UTC](https://community.wowza.com/t/monitoring-edge-servers-connections/43164/1 "2014-06-04T16:46:08Z")

</div>

Hi Guys,

If you’re using Wowza with “edge distribution” you might find this interesting.

Sometimes when you have a large number of “Wowza Edge Servers” running, and it’s hard to monitor the server’s connections.

So I developed a simple combination of a shell script and a python script, that provides the possibility of sending information to AWS CloudWatch.

With these scripts you can send the number of connections to AWS CloudWatch, so you’ll be able to monitor each server individually or globally.

I published the scripts at GitHub.

[https://github.com/ciroanunciacao/wowza-metric](https://github.com/ciroanunciacao/wowza-metric)

I hope it will help you as much it helped me.

Best,

Ciro

---

<div class="post-metadata">

**Author:** ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)\
**Post date:** [June 27, 2014, 1:47pm UTC](https://community.wowza.com/t/monitoring-edge-servers-connections/43164/2 "2014-06-27T13:47:15Z")

</div>

another way you can do this is to set up the Wowza load balancer (without actually using it to load balance), and when you go to [http://server.address:1935/loadbalancer?serverInfoXML](http://server.address:1935/loadbalancer?serverInfoXML), it gives you a nice XML list of all the servers and how many connections are on each, as well as their IP address (which you could then use to programmatically query the edges for more details)

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [June 11, 2014, 6:19pm UTC](https://community.wowza.com/t/monitoring-edge-servers-connections/43164/3 "2014-06-11T18:19:49Z")

</div>

Hi Ciro,

Thank you for sharing your code with the community.

Zoran

---

<div class="post-metadata">

**Author:** ![Justin\_McGee](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Justin\_McGee](https://community.wowza.com/u/Justin_McGee)\
**Post date:** [September 5, 2014, 2:42pm UTC](https://community.wowza.com/t/monitoring-edge-servers-connections/43164/4 "2014-09-05T14:42:24Z")

</div>

> another way you can do this is to set up the Wowza load balancer (without actually using it to load balance), and when you go to [http://server.address:1935/loadbalancer?serverInfoXML](http://server.address:1935/loadbalancer?serverInfoXML), it gives you a nice XML list of all the servers and how many connections are on each, as well as their IP address (which you could then use to programmatically query the edges for more details)

Ian, this interests me. This is true for any situation where you have other servers connected to the origin (Wowza) server? I signed up with a CDN service that uses Wowza on their end to grab the LIVE streams from my dedicated server. I need something like this that pulls the viewer count and IP info from those servers onto my dedi. Can you point me into the right direction to set this up?
