"Steven Satelle (Service Desk)" <[EMAIL PROTECTED]> writes:

> Its not the user I want to know it is the script, if the script
> knows the switch has changed, then it knows the pc has moved, so it
> asked the user for his new location. then It emails it to us

That is kind of a clunky design.

You would be better off creating a list mapping switch ports to
network jacks, another list mapping network jacks to office locations,
and a third list mapping MAC addresses to machines.  (You should have
such maps anyway; they are very useful for troubleshooting network
problems.)

Then you can query each of your switches' FDBs (dot1dTpFdbTable)
periodically.  Just dump them all to a file and watch for changes.
This will let you detect when a machine moves without bugging the
owner.  And it is centralized, and it works regardless of the user's
OS, and it detects ALL network devices including the ones you were not
expecting.

The FDB is not persistent; entries will time out if a machine is
inactive.  So you will want to ignore it when a MAC simply disappears
or reappears, while still noticing new MACs appearing or old ones
moving around.  But this is not rocket science.

 - Pat
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to