[Rack] ops machine

Dr. Jesus j at hug.gs
Thu Oct 28 14:32:38 PDT 2010


On Thu, Oct 28, 2010 at 11:28 AM, Jonathan Lassoff <jof at thejof.com> wrote:
> On Thu, Oct 28, 2010 at 10:54 AM, Dr. Jesus <j at hug.gs> wrote:
>> Sorry for the delay in getting back to you; yes, conserver would be great.
>>
>> One thing I wanted to do was have active polling of the router
>> consoles so we could be alerted when someone unplugged them.  Is there
>> a way to do that with conserver?
>
> I haven't played with all the features. Nothing is jumping out at me,
> though I suppose we can shove a CR down the pipe periodically and see
> that we get back a login prompt. It'll fill the logs though.
>
> I suppose if someone goes and unplugs it again and leaves it at a root
> shell, it'll be clear when that's not in the logs.
>
> I wonder if there's some non-printable characters I could use to
> "ping" a getty...

You can ping the tty code by asking it for a report of some kind:

  http://www.termsys.demon.co.uk/vtansi.htm

http://linux.about.com/library/cmd/blcmdl4_console_codes.htm

ESC[5n looks like a good choice.


More information about the Rack mailing list