/build/static/layout/Breadcrumb_cap_w.png

Track IP Address changes

Is there a way to track IP address changes in Kace1000?

Scenario: User has workstation with IP A.B.C.D. User moves workstation to another location and now has IP D.C.B.A.

Thanks,

Dave

1 Comment   [ + ] Show comment
  • Thanks dteetz. I found myself needing a report just like this. Your SQL worked like a charm. - ArroyoD 6 years ago

Answers (3)

Answer Summary:
Posted by: dteetz 10 years ago
Senior Yellow Belt
1
Thanks @chucksteel - you pushed me in the right direction.

I looked through the machine history for a workstation that I know changed IP addresses. I was able to find the change in the history and then was able to find the change in the ASSET_HISTORY table.

To extend this a bit, I created a new SQL script to grab the info I want. I added values from the MACHINE table, so I could get the current IP address and set a time frame of, basically, yesterday:

Select MACHINE.NAME As Name, MACHINE.IP As "Current IP". ASSET_HISTORY.TIME As Time, ASSET_HISTORY.FIELD_NAME, ASSET_HISTORY.VALUE1, ASSET_HISTORY.VALUE2 

From MACHINE,ASSET_HISTORY

WHERE 

ASSET_HISTORY.NAME = MACHINE.NAME AND ASSET_HISTORY.FIELD_NAME = "IP" AND

TIME > Date_Sub(Now(), Interval 1 Day)

I'm no SQL guru, so if there is a way to clean this up, I'd be very open to suggstions. I know ASSET_HISTORY.FIELD_NAME isn't needed, but it serves to remind me that other names are avaialble.

Thanks for the help.
Posted by: chucksteel 10 years ago
Red Belt
0
You can sometimes see this in the machine history but KACE does not always seem to report the IP address that a machine has checked in with in the history.
Posted by: jknox 10 years ago
Red Belt
0
I don't believe it's tracked, but it should be relatively simple to set up a script and custom inventory rule to return the data.

A script could run something like this:

ipconfig | findstr /R /C:"IPv4 Address" > C:\ProgramData\Dell\KACE\ipaddress.txt

Then, a custom inventory rule:

ShellCommandTextReturn(type C:\ProgramData\Dell\KACE\ipaddress.txt)

Some other ideas:

http://stackoverflow.com/questions/5898763/how-do-i-get-the-ip-address-into-a-batch-file-variable

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ