Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 1995 18:46:01 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        chuckr@eng.umd.edu (Chuck Robey)
Cc:        terry@lambert.org, j@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Fiskars UPS support...
Message-ID:  <199510060146.SAA00522@phaeton.artisoft.com>
In-Reply-To: <Pine.SUN.3.91.951005213208.13086B-100000@espresso.eng.umd.edu> from "Chuck Robey" at Oct 5, 95 09:35:59 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I wanted to do a program myself like this, but I was hung up on one 
> question.  Many UPSs are going to be used to monitor more than one 
> machine, so such a program (it seems to me) is going to have to have a 
> local monitoring part, and a remote 'I take orders' part.  This thing is 
> going to be on the network, then, and have the ability to shut machines 
> down, directly or indirectly.  How then is security controlled?
> 
> It's not too tough a problem on the machine that listens to the UPS port, 
> but on the other machines, I don't see it clearly.  The async port is two 
> way, so only one machine at a time can talk to it.

1)	Assume the host that monitors the thing is up if the thing
	is up.

2)	Make a TCP connection to a priveledged port on that host.
	Retry at intervals if necessary.

3)	It writes you on the connection you made when it wants to notify
	you of some event.

Fairly easy.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510060146.SAA00522>