<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body >

Hi Todd,<br><br>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.<br><br>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.<br><br>Cheers<br>Tony<br><br>---- On Mon, 10 Nov 2008 <b>Todd Chapman <todd@chaka.net></b> wrote ---- <br><br><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding: 6px;">Tony,<br clear="none"><br clear="none">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).<br clear="none"><br clear="none">-Todd<br clear="none"><br clear="none"><div>
On Mon, Nov 10, 2008 at 8:19 AM, Tony A <span dir="ltr"><<a shape="rect" href="mailto:localzuk@gmail.com" target="_blank">localzuk@gmail.com</a>></span> wrote:<br clear="none"><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hi,<br clear="none"><br clear="none">First time i've posted on here, so not sure if this may have been covered before.<br clear="none"><br clear="none">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.<br clear="none">
<br clear="none">Any ideas how I could do this?<br clear="none"><br clear="none">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.<br clear="none">
<br clear="none">Any help would be much appreciated.<br clear="none"><br clear="none">Cheers<br clear="none">Tony Ayre<br clear="none">Network Manager<br clear="none">Minehead Middle School<br clear="none"></div><br clear="none">_______________________________________________<br clear="none">
<a shape="rect" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br clear="none">
<br clear="none">
Community help: <a shape="rect" href="http://wiki.bestpractical.com" target="_blank">http://wiki.bestpractical.com</a><br clear="none">
Commercial support: <a shape="rect" href="mailto:sales@bestpractical.com" target="_blank">sales@bestpractical.com</a><br clear="none">
<br clear="none">
<br clear="none">
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br clear="none">
Buy a copy at <a shape="rect" href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br clear="none"></blockquote></div><br clear="none">
</blockquote>

</body></html>