#!/usr/bin/perl # Prints to stdout lots of host and service downtimes use warnings; use strict; my $max_iterations = shift @ARGV || 1000; my $hostname = "host1"; my $servicename = "Dummy service"; my $servicecomment_id_start=1024; my $servicecomment_ids = {}; my $downtime_id = 2596; my $starttime = 1920000000; my $downtime_template = <{ $id }; $servicecomment_ids->{ $id } = 1; return $id; }