Thursday, March 13, 2008

ITM UA Socket data provider tips

Tips/observations I found using the UA socket data provider with perl while doing work at a customer site..

ITM 6.1 FP4, SuSE Linux 10

1. turn OFF "warn" in perl (#!/usr/bin/perl -w). I use it all the time but I was only getting data from first connection until I turned it off in my script.
2. TCP works great for scheduled (> 30 sec interval) sending of batch data, but use UDP with sporadic alert-type data that *might* be < 30 sec interval data. Using TCP with the latter scenario causes the UA to silently "miss" < 30 sec interval data.

Also, the POST data provider with UDP works great when you can't control the sending program, like with certain network devices.

No comments: