mtakaki / cachet-url-monitor

URL monitor plugin for cachethq.io
MIT License
125 stars 49 forks source link

Support multiple URLs but with same expectations and under the same component #9

Closed mtakaki closed 4 years ago

mtakaki commented 8 years ago

We should be able to support multiple URLs, as long as they all have the same expectation and falls under the same component.

jnnngs commented 8 years ago

Hi, thanks for the super plugin. Any news on the multi url request?

mtakaki commented 8 years ago

I'm sorry for the delay, @neggs. I've been swamped with other projects and I'm not happy with my current implementation for this. I'll try getting it done in the next weeks.

ekim92 commented 7 years ago

Hi, any updates on multi-url?

mtakaki commented 7 years ago

This will require some refactoring. My first attempt was not good and it would be serial. If you had 100 URLs and each took 1s to check, it would take in total 100 seconds to verify all of them. So, instead I'm rewriting it to do it in parallel (with a cap on the number of threads). Just really didn't have time to get it done. This is still on top of my priorities.

ghost commented 6 years ago

@mtakaki any progress? I would like to load up a number of different URL's, also is there a way to turn off SSL verification on https urls?

ColdrickSotK commented 5 years ago

@mtakaki In addition to this improvement, is there any interest in supporting monitoring multiple different URLs but with different expectations and component?

I know its currently possible to do that by running multiple instances of the monitoring process, but ideally I would like to not have to manage configuration in multiple different files.

I'm happy to look at sending a PR for it if you think its worthwhile.

mtakaki commented 4 years ago

This was fixed through #76. All thanks to @aberenshtein