Our Hikvision IP cameras are installed at remote properties and the easy way to disable them is to simply switch off the router.
Is there any simple method of creating an alert when a router is switched off?
you can track down the open port from vpn server...
there are many monitoring tools(online as webservice or as tool on own server/pc) for this .. just check every 10minutes,....
So trying to ping or access the same from the outside would result in what?!?
Nothing . . .
right. thats the point and how it works.
you monitor your device from outside, if you cannot reach them then you have a problem. device down or internet down. no matter what the reason is, you have to fix it asap.
the master suggestion is not opening ports and use vpn. so if you use vpn you have to open at least one port which you can monitor.... i disable ping for a good reason in my routers, but sure. you can use a ddns , allow ping from outside and ping the router.
dont know why you want to make it complicate, but this is the normal way to monitor iot devices.. you can use amazon or google cloud for that... i think they offer it also as a service...
OP wants to get a notfication if router (internet) is offline. For what reason do he need (redundant) internet on site for THIS ?
even a backup internet connection wouldnt be enough. you need a redundant power supply and also a backup battery. what happens after your battery dies ? right you need a generator..
where do you start and where do you end overengineering a simple question: how can i get an alert if my router is offline?
You missed the whole point I indicated up above. There are countless reasons why something could not be accessed from the outside in. There are countless reasons for something not being able to get outside too.
Fixed: Thanks, dang fat fingers on a laptop. That's my story.Err, ahhh....I think that link is broken @looney2ns
I understand everything you have said. i agree with you in most ..... BUT
The question was how to SIMPLE get an alert if the router is offline (i.e. no internet).
So you can overengineer the question...
build up a second internet connection (i.e. LTE/4G) ... you have more problems, because these connections block any connection from outside, so you have to use p2p cloud from hikvision or an outside vpn-server and connect it as client...
or.. you send the notification over second internet connection.... but wait...
how do you check if your router is offline ? you need another server(or whatever) inside your site which checks if the router is offline... but wait..
yes. you have the same problems you are talking about. its only INSIDE rather than OUTSIDE. thats why no one is doing this (or better i dont know someone)... you solve one problem and have a ton of critical questions.
again.. if you (or better OP) is not using a vpn, its a good start. No matter what the reason is to not reach the vpn server (internet offline, vpn server died.............) you cannot reach your camera system and have to worry about.
after you get the alert sure, you can wait, try yourself whatever... but you have the alert that you may have a problem. any system send outs alert. its only a notification that a human is need to check whats going on... not call 911
As I noted up above the only true way is to have another method to connect
At that point, I would be alerted by email there was a problem. Does this exist??
for simple ping with email alert ....... www.uptimerobot.com ... or ipct service as looney mention... Uptime Watchdog
I am currently rethinking my setup but this takes time, money and expertise. It's the expertise I'm struggling with mostly but can't find someone reliable and not to expensive to take on the project. I'm considering placing a post on ipcamtalk (if permissible) looking for such a person.but you should rethink your setup... port forwarding ?? no recording of cameras ?? guests who have physical access to routers ??
is this a rent thing ?? if i am a renter of a (vacation) home i would pull out any camera which i could see for sure ...
Please remember that these are holiday homes / vacation lets and the router is placed beside the telephone point and not locked away which would interfere with the wifi around the properties.