# Custom ServerListenerStartupStreamsMonitor

**URL:** <https://community.wowza.com/t/custom-serverlistenerstartupstreamsmonitor/39666>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [April 12, 2014, 9:14am UTC](https://community.wowza.com/t/custom-serverlistenerstartupstreamsmonitor/39666 "2014-04-12T09:14:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Shmayev](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@Sam\_Shmayev](https://community.wowza.com/u/Sam_Shmayev)\
**Post date:** [April 12, 2014, 9:14am UTC](https://community.wowza.com/t/custom-serverlistenerstartupstreamsmonitor/39666/1 "2014-04-12T09:14:28Z")

</div>

Hi,

I need to customize ServerListenerStartupStreamsMonitor module.

Assume

1. I need to read monitored applications list from a json formatted file and not Server.xml.

2. Monitored applications list could be reloaded dynamically.

Where I can find it’s source code?

Hi,

Some idea for enhancement.

Currently applications list is placed inside Server.xml

```auto
<Property>
	<Name>startupStreamsMonitorApplicationList</Name>
	<Value>live</Value>
</Property>

```

It’s not so flexible.

It can’t be reloaded without Wowza restart.

Idea:

1. Declare path to a file startupStreamsMonitorApplicationList.json

```auto
<Property>
	<Name>startupStreamsMonitorApplicationList</Name>
	<Value>/usr/data/share/startupStreamsMonitorApplicationList.json</Value>
</Property>

```

1. File startupStreamsMonitorApplicationList.json contains json

```auto
{
  "appList": ["live1", "live2", ... "liveN"];
}

```

1. Add API function to reload this file on the fly without WowzaMediaEngine restart.

Thanks, any ideas appreciated.

---

<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 14, 2014, 3:08am UTC](https://community.wowza.com/t/custom-serverlistenerstartupstreamsmonitor/39666/2 "2014-04-14T03:08:38Z")

</div>

I answer same in [your post here](https://www.wowza.com/forums/showthread.php?36208-ServerListenerStartupStreamsMonitor-doesn-t-monitor-subdirectories&p=136620#post136620)

Richard
