Blue Iris monitoring through Uptime Kuma

kcrawford

n3wb
Apr 5, 2021
3
1
CT
Hi folks, long time lurker of the fourms here. I have an installation of Blue Iris and 6 Dahua/EmpireTech cameras that I setup for someone else. I also set them up with the Blue Iris app on their phone to be able to monitor the video feed remotely and get notifications from the app. Last Wednesday Windows update kicked in and applied an update for "Intel Corporation - Display - 31.0.101.2130". The same minute the update was applied is when Blue Iris stopped recording the video feed from all 6 cameras. CPU usage of Blue Iris shot up to 100% and a restart of the Blue Iris app was needed to get things working again. I also sent all this information off to Blue Iris support along with logs from Event Viewer and screenshots.

I am building a Raspberry Pi to run Uptime Kuma which is a lovely piece of free software that runs in Docker to perform uptime monitoring. I plan on having it ping the Blue Iris machine and an HTTP ping on port 81. But I was looking for some deeper monitoring of the machine. There is a json interface (page 282) available however the login process is not compatible with Uptime Kuma.

I have built a helper program written in Golang that I am intending on running on the Blue Iris machine that preforms the login process using a separate user account and exposes a separate webserver on port 8000 (configurable). This program will listen for requests to paths such as
Code:
/v1/status
and respond back accordingly.

Looking forward to input from the community regarding this.
 
  • Like
Reactions: Mike A.
I use Uptime Kuma to monitor BI but all that I do is test via HTML (and for some key cameras and use it at times to monitor other problem cams, and for network and other internal/external services). Don't have much need to do more than that myself but can appreciate the utility of deeper ability.

What conditions are you wanting to monitor? There are so many ways that things can screw up between BI and cams and network it would be hard to do something comprehensive as far as monitoring whether things are actually functioning properly. Then you have the other side of it where you create too much noise on the monitoring side.
 
What conditions are you wanting to monitor? There are so many ways that things can screw up between BI and cams and network it would be hard to do something comprehensive as far as monitoring whether things are actually functioning properly. Then you have the other side of it where you create too much noise on the monitoring side.
Agreed, I monitor alerts for my day job and their is an astounding amount of noise. I setup the Raspberry Pi with Uptime Kuma to monitor the Blue Iris webui through http ping as well as ping on all the cameras. I have all the cameras connected to a router that doesn't have internet access so I used a usb to ethernet adapter to enable dual networking. I used wireguard to build a VPN tunnel back so I can remotely manage it through Salt.

I also added ntp and syslog-ng to the Pi to capture logs from the cameras and allow the cameras to have an ntp source.

I am still experimenting with the script I wrote and also came across this Prometheus exporter for Blue Iris: GitHub - wymangr/blueiris_exporter: Prometheus Exporter for Blue Iris