[Nagiosplug-devel] Checking for unknown NIS servers?

C. Bensend benny at bennyvision.com
Mon Feb 13 10:54:07 CET 2006


> And this is where the trouble lies. How long should we wait for any
> other server to respond, and how many broadcasts should we send?

Yes, I think _I_ would make these configurable parameters.  On my
network, I wouldn't have to wait that long.  On other networks,
NIS servers might be overwhelmed, or other factors, that would
necessitate a different timeout and number-of-broadcasts values.

> A much better way is to set up a daemon which listens to broadcasts and
> shouts out loud if it hears one from the wrong server. You still have to
> implement the NIS protocol (partially) but you can get rid of the
> problem of having plugins run with elevated privileges and determining
> how long to wait.

Well, the _clients_ broadcast, but I don't think the servers
do?

Hmmmm, elevated privs - do you need root privs to broadcast?  I've
never touched that sort of thing myself.

Benny


-- 
"A computer lets you make more mistakes faster than any invention
in human history, with the possible exceptions of handguns and
tequila."                                          -- Dave Pooser





More information about the Devel mailing list