Tsonga Posted January 29, 2013 Posted January 29, 2013 Hi there, Not sure where to put this so feel free to move if required, I need to log when a device is connected to the network, I can obviously delete it's DHCP lease and check back later to see when it connected....and then delete it again, but I am looking for a solution that better logs the active times of this device. Any suggestions? Thanks
Steve21 Posted January 29, 2013 Posted January 29, 2013 Get it's MAC and check in the DHCP logs? %system32%\dhcp\DhcpSrvLog...somethin Should show everytime it's used DHCP up to about a week in the past I think by default Steve
pete Posted January 29, 2013 Posted January 29, 2013 One device, a handful of devices or all devices? Assuming one device to a handful of devices and you want to know when they're actively connected to the network.... Assign a reserved IP, tell Nagios (or Cacti or whatever you're using) to monitor it via ping every "X" minutes, where "X" depends on the granularity you need. Then look at the pretty graphs it generates / nagios alert logs for those devices. 1
Tsonga Posted January 30, 2013 Author Posted January 30, 2013 One device, a handful of devices or all devices? Assuming one device to a handful of devices and you want to know when they're actively connected to the network.... Assign a reserved IP, tell Nagios (or Cacti or whatever you're using) to monitor it via ping every "X" minutes, where "X" depends on the granularity you need. Then look at the pretty graphs it generates / nagios alert logs for those devices. You had my curiosity, but now you have my attention! Thanks
Duke5A Posted February 1, 2013 Posted February 1, 2013 You could give this a try: VB Script to snoop DHCP logs - Blogs - EduGeek.net The only issue I would see with using ping is if the host you're tying to monitor doesn't respond to ICMP requests. It would be best to parse the DHCP server logs. 1
mac_shinobi Posted February 1, 2013 Posted February 1, 2013 You trying to stop this device(s) from accessing your network or what exactly ? Maybe give it a dhcp reservation with an ip address on the wrong range or assign it a static ip and you could ( if the device allows ICMP traffic ) do a constant ping to see when it is live and not. 1
Danp Posted February 8, 2013 Posted February 8, 2013 In 2008R2 you can right click > deny, then they can't get another IP. 1
Tsonga Posted February 8, 2013 Author Posted February 8, 2013 Hi guys, in the end I went with Robotest and setup a ping every 30 mins, exported this and made a pretty chart. Thanks for all your help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now