Jump to content

Terminal login status warnings


dtempleton

Recommended Posts

I access my server almost exclusively by SSH including SSHfs (works great).  Recently I logged to the Main server page and was surprised that one of my drives had died;  of course the Parity drive meant that everything kept serving as usual, and was easily recovered with a spare drive.  I have no idea how long that drive had been down; it could have been 3-4 weeks, but in the meantime I was logged in via SSH probably 15 times.

 

My request is that when a drive dies or some other dire event happens, that a message be generated that is presented with every login via the terminal.  That way I know to go to the manager page and look to see what's wrong.

 

Dennis

Link to comment

Install the Command Line plugin.  Optionally, you will be presented with this on every login:

login as: root
[email protected]'s password:
Last login: Sun Oct 30 01:02:46 2016 from 192.168.1.2
Linux 4.8.4-unRAID.
            :++====+===:.
          ++.,...=+=.~=====~.             root@Server_A
        =+.++++.=++===.=======            OS: unRAID 6.3.0-rc3 Slackware 14.2
       +,+++,++.+++===..========          Kernel: x86_64 Linux 4.8.4-unRAID
     ,+..+++~++~++====...=========        Uptime: 9h 41m
     +...+++++++++:=+.===~========~       Array:Started Parity Check:n/a
    +:++.+++++++=~==.====.========~~      Disks:11 Cache:1 Disabled:0
   +.,+++.++++=++=+==.===.=======~~~~     CPU: AMD A8-6600K APU with Radeon HD Graphics @ 3.9GHz
  ,,++++++.+=+:==:=======,======~~~~~~    GPU: AMD/ATI Richland [Radeon HD 8570D]
  +++++++++.++~+=~=======.~=====~~~~~~~   RAM: 2358MiB / 11896MiB
==+:+=+++++=+=~+=======..=====~~~~~~~~
+......:+++~..==========,=====~~~~~~~~
=.++++,=++=+=+================~~~~~~~~
~=+:+++~+=++++=.=======.=====~~~~~~~~~
=+++++++.++++==+,=~===,======~~~~~~~~
+=++:++.+++++:===.=,==~=====~~~~~~~~~
+.++++,++++=~+====.~:.======~~~~~~~~
+~++,.+++++,~=====...======~~~~~~~
  +...+:++++.==~===..=======~~~~~~
  ~+.+++++++.===~=.========~~~~~
   ++.+++++..===::=========~~~~
     ++.,~.....===========~~~
       ++++===============:
root@Server_A:~#

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...