What's new

Offline Alerts

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Mason

New Around Here
Hi there,

I recently learned one of my IP cameras was vandalized and only found out after I happened to walk by. I am curious if I can setup offline alerts for devices. Let's say after one hour.

Currently using three RT-AC68U routers in AiMesh with the RC4 beta. Also a big fan of Merlin.

Cheers,
Steve
 
Hi there,

I recently learned one of my IP cameras was vandalized and only found out after I happened to walk by. I am curious if I can setup offline alerts for devices. Let's say after one hour.

Currently using three RT-AC68U routers in AiMesh with the RC4 beta. Also a big fan of Merlin.

Cheers,
Steve

No idea about the firmware but maybe the camera has software or app that will alert your phone or send an email as an alert.
 
Yes, but not nearly as effective in my case. The cameras jump around nodes and I can't set a threshold for X minutes from them.
 
how about something along these lines?
ping the camera periodically, if it fails then send email notification.

Code:
if ping -q -c 1 -W 1 cameraIP >/dev/null; then
  echo "The camera is up "
else
logger -t $(basename $0) "Unable to reach camera"
# insert email notification script/path here.
  

fi

then use a cron job to run the above script .
 
Code:
if ping -q -c 1 -W 1 cameraIP >/dev/null; then
  echo "The camera is up "
else
logger -t $(basename $0) "Unable to reach camera"
# insert email notification script/path here.
 

fi
Can you give an example of how to send an email from a command line/script?
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top