# Cycle balance monitoring service?

**URL:** <https://forum.dfinity.org/t/cycle-balance-monitoring-service/9352>\
**Category:** Programs & Applications\
**Created:** [December 5, 2021, 5:56pm UTC](https://forum.dfinity.org/t/cycle-balance-monitoring-service/9352 "2021-12-05T17:56:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nomeata](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nomeata/32/733_2.png) [@nomeata](https://forum.dfinity.org/u/nomeata)\
**Post date:** [December 5, 2021, 5:56pm UTC](https://forum.dfinity.org/t/cycle-balance-monitoring-service/9352/1 "2021-12-05T17:56:39Z")

</div>

I am running a few canisters, mostly for demonstration purpose (e.g. the [Capture the ICP](https://github.com/nomeata/capture-the-ic-token) canister, a [Telegram bot](https://github.com/nomeata/ic-telegram-bot), the [Barrier canister](https://forum.dfinity.org/t/ic-barrier-withhold-responses-for-testing-etc/9351), a demonstration of [certified HTTP requests in Motoko](https://github.com/nomeata/capture-the-ic-token)), but I don’t interact with them often, so I wouldn’t notice if they run low on cycles.

Has anyone already built a service that monitors canister and sends me an email if they are about to be frozen?

You might wonder how that would be possible, given that `canister_status` and thus the cycle count is secret by default. But you _can_ make it public: Add the [blackhole canister](https://github.com/ninegua/ic-blackhole) as the controller, and it will make your canister information public (without any other negative effects).

In fact, it would be great if [https://ic.rocks/](https://ic.rocks/) would recognize the blackhole canister among a canister controllers and if it sees it there, use it to fetch and display the canister information. Maybe even with pretty graphs and statistics on cycle consumption! What do you think, @wang?

---

<div class="post-metadata">

**Author:** ![Maxfinity](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/maxfinity/32/1484_2.png) [@Maxfinity](https://forum.dfinity.org/u/Maxfinity)\
**Post date:** [December 5, 2021, 6:36pm UTC](https://forum.dfinity.org/t/cycle-balance-monitoring-service/9352/2 "2021-12-05T18:36:27Z")

</div>

> [@nomeata](#):
>
> In fact, it would be great if [https://ic.rocks/](https://ic.rocks/) would recognize the blackhole canister among a canister controllers and if it sees it there, use it to fetch and display the canister information. Maybe even with pretty graphs and statistics on cycle consumption! What do you think, @wang?

We’ve been writing a canister monitoring service, but have not made use of the black\_hole canister, and have been doing so in Rust. It does not yet send notifications. Happy to walk you through our code if it is of any use.

---

<div class="post-metadata">

**Author:** ![nomeata](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nomeata/32/733_2.png) [@nomeata](https://forum.dfinity.org/u/nomeata)\
**Post date:** [December 5, 2021, 6:57pm UTC](https://forum.dfinity.org/t/cycle-balance-monitoring-service/9352/3 "2021-12-05T18:57:38Z")

</div>

Oh, I could probably write such a service, I just don’t want to :-). I’m hoping for a website where I just paste my canister id and email and that’s it.

---

<div class="post-metadata">

**Author:** ![PaulLiu](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/paulliu/32/4701_2.png) [@PaulLiu](https://forum.dfinity.org/u/PaulLiu)\
**Post date:** [January 16, 2022, 2:32am UTC](https://forum.dfinity.org/t/cycle-balance-monitoring-service/9352/4 "2022-01-16T02:32:58Z")

</div>

Please see [Worry about your favorate canister running low on cycles? You got it covered!](https://forum.dfinity.org/t/worry-about-your-favorate-canister-running-low-on-cycles-you-got-it-covered/10307)

---

<div class="post-metadata">

**Author:** ![nomeata](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nomeata/32/733_2.png) [@nomeata](https://forum.dfinity.org/u/nomeata)\
**Post date:** [January 16, 2022, 2:52pm UTC](https://forum.dfinity.org/t/cycle-balance-monitoring-service/9352/5 "2022-01-16T14:52:42Z")

</div>

Somehow I’m not surprised that you are providing the solution here 🙂
