• Network Accessory for Monitoring Uptime / Outages
    3 replies, posted
Hey Hardware and Software, I was wondering if there's some kind of box or whatnot that can be either wirelessly or through ethernet connected to a router / modem which does nothing but keep a log of the network's connection to the internet and the time and duration of any outages. I have a raspberry pi which could probably be configured to do this with some effort, but I'm really looking for a one-piece plug and play solution. I also have a variety of DD-WRT flashed ancient Linksys routers - is there a log function on these that could do something similar? I very much want the monitoring device to be separate from my actual router and modem. I did some googling but didn't see anything obviously along these lines. My reason for wanting this is that last year I had several Canary IP cameras set up monitoring my room while I was away, and a variety of disturbing things happened to them: laser pointers flickered across the lenses, one of them was removed from the wall and placed on the floor with its micro-usb charger broken (camera was fine despite what would have been 10 foot fall onto cement), etc. The only explanation is that someone simply unplugged the router (in the livingroom) and then plugged it back in later. I'm out of this living situation now, but interested in setting the cameras up to monitor my new house's front and back doors. I'd like to have a record of any potential network downtime to compare to times when the cameras might potentially not produce any footage.
Like you said, you want it seperate from the router, in case the outage is related to a router crash or failure. There are probably enterprise solutions for that, but they will be expensive and/or require a service contract. Or they are just software that runs off a normal server anyway. This is such a niche for home use, that I doubt there is a "plug and play" device that does it. The raspberry pi is honestly going to be your best bet. You could probably write a simple Python script that would ping google once every minute or something. And if the ping fails, write it to a log file. That's about as stupid simple as it gets. Those old DDWRT routers would also work, but its the same situation as the Pi. I don't believe there is anything built into DDWRT for this, so your on your own again. Or if you had a VPS you could do the reverse, and ping your own IP (or make a connection to the Pi). Then you could send yourself an alert to your phone if it goes down. More complex, and costs extra if you don't have a VPS, but it is immediate and almost tamper proof.
When I had to monitor my net I used my NUC with a lua script that checked against google. It was far from efficant but did the job. I can try and dig the script up if you want it
[QUOTE=lordofdafood;51515344]When I had to monitor my net I used my NUC with a lua script that checked against google. It was far from efficant but did the job. I can try and dig the script up if you want it[/QUOTE] I'd really appreciate that. Thank you both for your responses.
Sorry, you need to Log In to post a reply to this thread.