[rt-users] Retrieving the computer name automatically

Tony A localzuk at gmail.com
Mon Nov 10 09:15:08 EST 2008

Hi Todd,

My thoughts were down the lines of using dns resolution based on the IP address. I can't really rely on the IP address itself, as this may well have changed by the time I get round to dealing with it.

So ideally, it'd just be a case of retrieving the REMOTE_HOST variable, running dns resolution against it and using the result of that. But my perl/scrip/RT knowledge is not yet at that level.


---- On Mon, 10 Nov 2008 Todd Chapman <todd at chaka.net> wrote ---- 

 > Tony,
 > If they are submitting the ticket through the web interface you may be able to rely on the source IP of the connection, but there is no way to get the computer name (that I am aware of).
 > -Todd
 > On Mon, Nov 10, 2008 at 8:19 AM, Tony A <localzuk at gmail.com> wrote:
 > Hi,
 > First time i've posted on here, so not sure if this may have been covered before.
 > I have RT set up in our school and I would like to be able to retrieve the name of the machine that a user is posting a request from and insert it into a custom field. This would have to be done automatically, as our users wouldn't do it themselves.
 > Any ideas how I could do this?
 > Ideally, I'd also like to be able to turn this into a link, which I can click on to launch our VNC viewer and connect directly to their machine - but this is not as important as getting the name in the first place.
 > Any help would be much appreciated.
 > Cheers
 > Tony Ayre
 > Network Manager
 > Minehead Middle School
 > _______________________________________________
 > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 > Community help: http://wiki.bestpractical.com
 > Commercial support: sales at bestpractical.com
 > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 > Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20081110/8814e228/attachment.htm>

More information about the rt-users mailing list