- Joined
- Jul 27, 2017
- Messages
- 49
- Reaction score
- 0
Greetings,
I am curious if it is possible to configure email alerting for when the SBC (or even select extensions associated with this SBC) go offline. I am using Rasp Pi 3, Debian Jessie. Example: this weekend we had an SBC go offline and did not find out about it until mid day. Is there a way I can configure email alerts if the SBC goes offline?
Additionally, when the SBC went offline (due to power surge), it should have restarted itself. Not sure why it did this. I am using cron job to restart the sbc if there is power failure:
#!/bin/bash
sleep 30
sudo /etc/init.d/3cxsbc restart
exit
Is there anything else I can do to ensure the SBC restarts in case of power failure?
I am curious if it is possible to configure email alerting for when the SBC (or even select extensions associated with this SBC) go offline. I am using Rasp Pi 3, Debian Jessie. Example: this weekend we had an SBC go offline and did not find out about it until mid day. Is there a way I can configure email alerts if the SBC goes offline?
Additionally, when the SBC went offline (due to power surge), it should have restarted itself. Not sure why it did this. I am using cron job to restart the sbc if there is power failure:
#!/bin/bash
sleep 30
sudo /etc/init.d/3cxsbc restart
exit
Is there anything else I can do to ensure the SBC restarts in case of power failure?