LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 11-22-2018, 02:27 AM   #1
cvbngrocks
LQ Newbie
 
Registered: Nov 2018
Posts: 10

Rep: Reputation: Disabled
IS there a way for raspberry pi to alert you if it crashed or locked up?


Hi everyone,

I never owned a raspberry pi so all I know is what I read and saw on youtube videos.

I want to setup a headless Plex server.

I don't know how stable the rasp PI hardware is or the plex server app, so I want to know if it is possible to be alerted if either one has crashed or locked up.

Or do I just need to periodically login via ssh to it and check that way. Thanks
 
Old 11-22-2018, 02:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
Quote:
Originally Posted by cvbngrocks View Post
I don't know how stable the rasp PI hardware is or the plex server app,
If you won't overclock or underpower the device it will work fine. And really stable. (and obviously it has some resource limitations). Probably you need to buy an UPS for it.

Quote:
Originally Posted by cvbngrocks View Post
if it is possible to be alerted if either one has crashed or locked up.
That is unclear for me. If it was crashed or locked it won't be able to do anything (like alert too).

Quote:
Originally Posted by cvbngrocks View Post
Or do I just need to periodically login via ssh to it and check that way.
Obviously you can do that. I don't think it is really important, but you know.
 
Old 11-22-2018, 02:37 AM   #3
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,331
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726
I have not used the watchdog timer myself, but that kind of thing is what it is there for:

https://www.switchdoc.com/2014/11/re...-raspberry-pi/

Hardware specs here:

https://www.raspberrypi.org/document...e/raspberrypi/

However, it would be very, very unusual for the Raspbian distro to lock up on you. During a blackout you might prefer to have it connected to batteries, but they are inexpensive.
 
Old 11-22-2018, 03:45 AM   #4
NicoD SBC
Member
 
Registered: May 2018
Posts: 88

Rep: Reputation: Disabled
Quote:
Originally Posted by cvbngrocks View Post
Hi everyone,

I never owned a raspberry pi so all I know is what I read and saw on youtube videos.
You are better with a Rock64 for that. Faster and cheaper.

" I don't know how stable the rasp PI hardware is or the plex server app, so I want to know if it is possible to be alerted if either one has crashed or locked up. "

Just write a simple script that flashes an led every second. If it stops flashing it`s crashed.

For `UPS` just use a good powerbank. Be sure to check if they work for this before buying.

Greetings. NicoD
 
Old 11-23-2018, 03:40 AM   #5
cvbngrocks
LQ Newbie
 
Registered: Nov 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by NicoD SBC View Post
You are better with a Rock64 for that. Faster and cheaper.

" I don't know how stable the rasp PI hardware is or the plex server app, so I want to know if it is possible to be alerted if either one has crashed or locked up. "
Can the ROCK64 or other SBC use those images from https://www.raspberrypi.org/downloads/

Or I do I have to use images only for ROCK64 or other SBC? Thanks
 
Old 11-23-2018, 03:51 AM   #6
NicoD SBC
Member
 
Registered: May 2018
Posts: 88

Rep: Reputation: Disabled
Quote:
Originally Posted by cvbngrocks View Post
Can the ROCK64 or other SBC use those images from https://www.raspberrypi.org/downloads/

Or I do I have to use images only for ROCK64 or other SBC? Thanks
You can not use the same images. The Rock64 has got it`s own images. And it`s got Armbian support.
The Rock64 has got USB3, true gigabit ethernet, is true 64-bit, ddr3 ram, runs at 1.5Ghz, ...

The RPi has none of that.
The Rock64 is also cheaper han RPi. 25dollar for 1GB version, 35dollar for the 2GB version and 45dollar for the 4GB one.

The difference for a plex/nas is immense. Greetings.
 
1 members found this post helpful.
Old 11-23-2018, 04:55 AM   #7
cvbngrocks
LQ Newbie
 
Registered: Nov 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by NicoD SBC View Post
You can not use the same images. The Rock64 has got it`s own images. And it`s got Armbian support.
The Rock64 has got USB3, true gigabit ethernet, is true 64-bit, ddr3 ram, runs at 1.5Ghz, ...

The RPi has none of that.
The Rock64 is also cheaper han RPi. 25dollar for 1GB version, 35dollar for the 2GB version and 45dollar for the 4GB one.

The difference for a plex/nas is immense. Greetings.
Thanks for letting me know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OPENNMS -how can i get disk space alert & memory alert BY MAIL saravanakumar Linux - Server 11 05-30-2014 08:45 AM
yum update and !!! - Is it an alert? An alert to what problem? BASmith Linux - Software 5 07-24-2012 09:02 AM
opennms --memory alert & disk alert issue saravanakumar Linux - Server 4 07-19-2011 10:54 AM
ALERT!!! ALERT!!! I messed up the UNIX!!! Firew Linux - Software 1 11-05-2001 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration