Generating Smokeping probes and targets with PHP and MySQL