Code fore reading events from scom and automatially create hosts/services in Nagios