[rt-users] Extract IP's from queue

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Fri Jan 21 17:10:46 EST 2005


Dave Dennis wrote:
> Dear List,
> 
> Something that we would find great is the ability to run a script against
> a queue and extract all IP into a flat file.  Nothing fancy.  We would
> be stripping off the RT header ip / mail server ip, and be left with
> origin ip which would assist us in some automation.  Anyone have such
> a script already written or know of a perl module that should be used to
> do it?
Nobody posted here. Wrote it just for fun, see attachment.
Tested with 3.0.x and 3.2.x

You may change cb_attachment output if you need.

Use it.

Regards,
Ruslan.

> 
> Thanks..!
> 
> +-------------------------
> + Dave Dennis
> + Seattle, WA
> + dmd at speakeasy.org
> + http://www.dmdennis.com
> +-------------------------
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training at bestpractical.com for details.
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: last_IP.pl
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050122/d5dfba16/attachment.pl>


More information about the rt-users mailing list