But won't the above do it. whether there's a login or not there's at least a getty or a login screen of some sort running there, so shouldn't we just be able to monitor for that?

Bill Arlofski wrote:

Sudev Barar wrote:
On 09/03/06, Joe Auerbach <[EMAIL PROTECTED]> wrote:

It won't respond to ping because once set up they have the ip of the
server, as far as I know.

I often use netstat | grep ltsp | less to check what's active and look
for my workstation identifiers (ex: ws016).

Dave Close wrote:


What is the recommended way to monitor when LTSP client machines are
powered-on and connected to the net, even when no one is logged into
them? Mine don't respond to ping or to any other ports I've been able
to detect. Can I enable rwho?


I have bee using the following to know how many users online:
last|less|grep still | sort  |uniq|wc -l

Drop wc -l and you get the list and workstation the user is on.
Drop -k 3 from sort to sort by user name.


If you are only looking for LTSP station logins, I'd use:

who | egrep ws\[0-9\]\{3\} | wc -l

because "last | grep still" also lists ssh logins and console logins on
the server. :)


But none of us has answered his question really since he wants to
monitor stations "even when no one is logged onto them"  :)


Dave Close:   If I were you and you really wanted to know when each
station was powered on/running/up/down etc, I would set up something
like Big Brother (or Big sister, or nagios etc) on the LTSP server or
another available system.

Configure each LTSP workstation in Big Brother for example and you will
have a nice web page showing you which machines are online and which are
currently offline with a complete history of their on-to-off and/or
off-to-on transitions. Heck, you can even get notified via email (god
forbid lol!) whenever one comes online or goes offline.  :)


--
Bill Arlofski
Reverse Polarity



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
     https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net




--

joe auerbach
systems administrator
pcb / rossman and co
614-523-4150
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
     https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to