http://qs321.pair.com?node_id=562710

JFarr has asked for the wisdom of the Perl Monks concerning the following question:

Update: Thanks, finally made it work correctly.

Hello Monks,
Sorry this is so long
I'm trying to print to the consloe and a file. The output to the console is correct but the file is having trouble, like the text is being buffered before it is written, and is not written in the correct order. Here is the code I'm using:
mainfile . . . . sub r21HostAvailability { #create the error logging file my $errorLoggingFile = "datetime"."_ErrorLogging"; #need to get l +ocalDateTime my $localPath = "C:\\Rescue21\\installs\\"; my @pinghosts = HostMap::read($myMapFileToUse); my $strPingHost = ""; foreach my $hosts(@pinghosts) { $strPingHost = $strPingHost . Host::get_ip($hosts) . " "; } if( -e $fErrorLogFile ) { #open(ERROR_LOG, "+>>$fErrorLogFile"); open( $stdout , ">&STDOUT" ); open( $stderr , ">&STDERR" ); open( STDOUT , "| tee -a $fErrorLogFile" ); select STDOUT; $| = 1; print "####################################################### +\n"; print "Testing IPPLAN\n"; print "###################################################### +#\n\n"; testIpPlan(); print "####################################################### +\n"; print "Testing the host availability for the region\n"; print "###################################################### +#\n\n"; open( HOST_AVAIL, "perl region_test.pl $strPingHost |"); while(<HOST_AVAIL>) { print $_; if( length $_ > 1 ) { print ERROR_LOG "$_"; } } close(HOST_AVAIL); } else { print "File $_ not present!\n"; } close( STDERR ); close( STDOUT ); open( STDOUT, ">&", $stdout ); open( STDERR , ">&" , $stderr ); } sub testIpPlan { use constant CMD_SUCCESS => 0; use constant CMD_FAILURE => 1; local $hname = ${$siteToUse}{HostFile}; my $hostlist = ""; my $reg_abbr = ""; my $dirIpPlan = ".\\IpPlan\\"; my $labTest = "FALSE"; #if using a lab, we want to do nothing if( $hname =~ m/(preswit\d_|sim_|swit\d+_)/i ) { print "INFO: Using a lab, no IP plan to ping THIS WILL BE FOR + TESTING ONLY\n"; print "Will use either Eastern Shore IP Plan or Atlantic City +IP Plan\n"; print "Based upon what Host is being used\n"; $labTest = 'TRUE'; if( $hname =~ m/atlantic_city/i ) { $hname = $&; $hname =~ s/_/ /g; } elsif( $hanem =~ m/eastern_shore/i ) { $hname = $&; $hname =~ s/_/ /g; } else { die "bad host passed in\n"; } #find the abbreviation $hostlist = new GCCList( $hname ); $reg_abbr = $hostlist->{ region_abbrev }; } else { #find the abbreviation my $hostlist = new GCCList( $hname =~ s/_/ /g ); my $reg_abbr = $hostlist->{ region_abbrev }; print "reg_abbr = $reg_abbr\n"; } $hostlist = new GCCList( $hname ); $reg_abbr = $hostlist->{ region_abbrev }; #create the file name my $fIpPlanName = "region_data_$reg_abbr\.csv"; #make sure the file is open my @aIpPlan = (); if( -e $dirIpPlan.$fIpPlanName ) { local $tfile = $dirIpPlan.$fIpPlanName; open(IPPLAN, "<$tfile"); @aIpPlan = <IPPLAN>; close (IPPLAN); } else { print "ERROR: $fIpPlanName NOT FOUND~\n"; } if( -e $fErrorLogFile ) { print "################################################# +######\n"; print "Testing the IP Plan for the $hname \n"; print "###################################################### +#\n\n"; #PARSE OUT THE CONTENTS FOR EACH ONE AND PING IT foreach my $ipaddr(@aIpPlan) { $retval = CMD_SUCCESS; my($abbrv, $region_name, $site, $sitename, $ip, $device, $state, $yn, $logical_name) = split(/\,/,$ipa +ddr); if( $labTest eq 'TRUE') { $ip = '127.0.0.1'; } my $pinging = Net::Ping->new( "tcp" , 5 ) || die "Ab +ort. Unable to create ping object\n"; my $retval = ( $pinging->ping( $ip ) ? 0 : 1 ); print( ( ( 0 == $retval ) ? "alive : " : "NOT alive : + " ) , $ip ," [", $sitename ," ", $device , "]\n" ); + } } }


btw, to enter this sub, it is a menu call.
As I have said, the console output is fine, just the file output is bad. I've tried moving the open statements to each sub, but that did not help things.

here is my output
####################################################### # # ERROR LOG for Thu Jul 20 13:08:41 2006 # ####################################################### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> PING TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> PING TIME TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> COPY TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> WMI TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] 1) Operator Workstation #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) Domain Server +- Enet I/F #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Domain Server +- Enet I/F #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) Data Server #1 + - Enet I/F #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Data Server #1 + - ILO Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) Data Server #2 + - Enet I/F #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Data Server #2 + - ILO Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) Voice Server # +1 - Enet I/F #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Voice Server # +1 - Enet I/F #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) Voice Server # +2 - Enet I/F #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Voice Server # +2 - Enet I/F #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) Digital Gatewa +y Controller #1 - Enet I/F #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Digital Gatewa +y Controller #1 - Enet I/F #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) Digital Gatewa +y Controller #5 - Enet I/F #1 (GAP)] alive : 127.0.0.1 [Group Communication Center (ac-g01) Digital Gatewa +y Controller #5 - Enet I/F #2 (GAP)] alive : 127.0.0.1 [Group Communication Center (ac-g01) Application Se +rver #1 - Enet I/F #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Application Se +rver #1 - Enet I/F #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) ACIM Gateway # +1] alive : 127.0.0.1 [Group Communication Center (ac-g01) ACIM Gateway # +6 (GAP)] alive : 127.0.0.1 [Group Communication Center (ac-g01) V.24 Gateway # +9 (GAP)] alive : 127.0.0.1 [Group Communication Center (ac-g01) V.24 Gateway # +1] alive : 127.0.0.1 [Group Communication Center (ac-g01) V.24 Gateway # +2] alive : 127.0.0.1 [Group Communication Center (ac-g01) WiNG - VLAN A +Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) KMF Server] alive : 127.0.0.1 [Group Communication Center (ac-g01) KMF Client] alive : 127.0.0.1 [Group Communication Center (ac-g01) Printer] alive : 127.0.0.1 [Group Communication Center (ac-g01) PBX Gateway] alive : 127.0.0.1 [Group Communication Center (ac-g01) LonWorks Gatew +ay] alive : 127.0.0.1 [Group Communication Center (ac-g01) Local Maintena +nce Device] alive : 127.0.0.1 [Group Communication Center (ac-g01) WAN Router - V +LAN B Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) WiNG - VLAN B +Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) RNC #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) WAN Router - V +LAN C Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) WAN Equipment +- Switch Loopback] alive : 127.0.0.1 [Group Communication Center (ac-g01) WAN Equipment +- CSU/DSU Nest] alive : 127.0.0.1 [Group Communication Center (ac-g01) WAN Equipment +- UPS] alive : 127.0.0.1 [Group Communication Center (ac-g01) Satellite Mode +m #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Link Encryptor + #1] alive : 127.0.0.1 [Group Communication Center (ac-g01) Satellite Mode +m #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) Link Encryptor + #2] alive : 127.0.0.1 [Group Communication Center (ac-g01) Satellite Mode +m #3] alive : 127.0.0.1 [Group Communication Center (ac-g01) Link Encryptor + #3] alive : 127.0.0.1 [Group Communication Center (ac-g01) Satellite Mode +m #4] alive : 127.0.0.1 [Group Communication Center (ac-g01) Link Encryptor + #4] alive : 127.0.0.1 [Group Communication Center (ac-g01) WAN Router - V +LAN D Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #1 - Rack +1 UPS 1] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #2 - Rack +1 UPS 2] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #3 - Rack +2 UPS 1] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #4 - Rack +2 UPS 2] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #5 - Rack +3 UPS 1] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #6 - Rack +3 UPS 2] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #7 - Rack +4 UPS 1] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #8 - Conso +le Rack 1 - UPS 1] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #9 - Conso +le Rack 2 - UPS 1] alive : 127.0.0.1 [Group Communication Center (ac-g01) WAN Router - V +LAN E Enet I/F] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #23 (GAP +)] alive : 127.0.0.1 [Group Communication Center (ac-g01) UPS #24 (GAP +)] alive : 127.0.0.1 [Station Cape May (ac-s03) WAN Equipment - Router - + VLAN A Enet I/F] alive : 127.0.0.1 [Station Cape May (ac-s03) LAN Switch - Loopback] alive : 127.0.0.1 [Station Cape May (ac-s03) Operator Workstation #1] alive : 127.0.0.1 [Station Cape May (ac-s03) Operator Workstation #2] alive : 127.0.0.1 [Station Cape May (ac-s03) Printer] alive : 127.0.0.1 [Station Cape May (ac-s03) UPS #1] alive : 127.0.0.1 [Station Cape May (ac-s03) UPS #2] alive : 127.0.0.1 [Station Cape May (ac-s03) WAN Equipment - UPS] alive : 127.0.0.1 [Station Cape May (ac-s03) Local Maintenance Device +] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) WAN Equipment - R +outer - VLAN A Enet I/F] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) LAN Switch - Loop +back] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) Operator Workstat +ion #1] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) Operator Workstat +ion #2] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) Printer] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) UPS #1] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) UPS #2] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) WAN Equipment - U +PS] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) Local Maintenance + Device] alive : 127.0.0.1 [Station Atlantic City (ac-s01) WAN Equipment - Rou +ter - VLAN A Enet I/F] alive : 127.0.0.1 [Station Atlantic City (ac-s01) LAN Switch - Loopba +ck] alive : 127.0.0.1 [Station Atlantic City (ac-s01) Operator Workstatio +n #1] alive : 127.0.0.1 [Station Atlantic City (ac-s01) Operator Workstatio +n #2] alive : 127.0.0.1 [Station Atlantic City (ac-s01) Printer] alive : 127.0.0.1 [Station Atlantic City (ac-s01) UPS #1] alive : 127.0.0.1 [Station Atlantic City (ac-s01) UPS #2] alive : 127.0.0.1 [Station Atlantic City (ac-s01) WAN Equipment - UPS +] alive : 127.0.0.1 [Station Atlantic City (ac-s01) Local Maintenance D +evice] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) WAN Equipment - Ro +uter - VLAN A Enet I/F] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) LAN Switch - Loopb +ack] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) Operator Workstati +on #1] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) Operator Workstati +on #2] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) Printer] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) UPS #1] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) UPS #2] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) WAN Equipment - UP +S] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) Local Maintenance +Device] alive : 127.0.0.1 [RFF Manasquan (ac-r02) WAN Router - VLAN A Enet I/ +F] alive : 127.0.0.1 [RFF Manasquan (ac-r02) LAN Switch - Loopback] alive : 127.0.0.1 [RFF Manasquan (ac-r02) Remote Site Mgr #1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) Analog Gateway Processor #1 + - Enet #1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) Analog Gateway Processor #1 + - Enet #2] alive : 127.0.0.1 [RFF Manasquan (ac-r02) V.24 Gateway #1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) LonWorks Gateway #1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) Async Gateway #1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [RFF Manasquan (ac-r02) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [RFF Manasquan (ac-r02) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [RFF Manasquan (ac-r02) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [RFF Manasquan (ac-r02) Satellite Modem] alive : 127.0.0.1 [RFF Manasquan (ac-r02) Link Encryptor] alive : 127.0.0.1 [RFF Manasquan (ac-r02) Local Maintenance Device] alive : 127.0.0.1 [RFF Salem (ac-r03) WAN Router - VLAN A Enet I/F] alive : 127.0.0.1 [RFF Salem (ac-r03) LAN Switch - Loopback] alive : 127.0.0.1 [RFF Salem (ac-r03) Remote Site Mgr #1] alive : 127.0.0.1 [RFF Salem (ac-r03) Analog Gateway Processor #1 - E +net #1] alive : 127.0.0.1 [RFF Salem (ac-r03) Analog Gateway Processor #1 - E +net #2] alive : 127.0.0.1 [RFF Salem (ac-r03) V.24 Gateway #1] alive : 127.0.0.1 [RFF Salem (ac-r03) LonWorks Gateway #1] alive : 127.0.0.1 [RFF Salem (ac-r03) LonWorks Gateway #2] alive : 127.0.0.1 [RFF Salem (ac-r03) Async Gateway #1] alive : 127.0.0.1 [RFF Salem (ac-r03) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [RFF Salem (ac-r03) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [RFF Salem (ac-r03) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [RFF Salem (ac-r03) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [RFF Salem (ac-r03) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [RFF Salem (ac-r03) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [RFF Salem (ac-r03) Satellite Modem] alive : 127.0.0.1 [RFF Salem (ac-r03) Link Encryptor] alive : 127.0.0.1 [RFF Salem (ac-r03) Local Maintenance Device] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) WAN Router - VLAN A Enet I/ +F] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) LAN Switch - Loopback] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) Remote Site Mgr #1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) Analog Gateway Processor #1 + - Enet #1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) Analog Gateway Processor #1 + - Enet #2] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) V.24 Gateway #1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) LonWorks Gateway #1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) Async Gateway #1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) Satellite Modem] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) Link Encryptor] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) Local Maintenance Device] alive : 127.0.0.1 [RFF Cape May (ac-r01) WAN Router - VLAN A Enet I/F +] alive : 127.0.0.1 [RFF Cape May (ac-r01) LAN Switch - Loopback] alive : 127.0.0.1 [RFF Cape May (ac-r01) Remote Site Mgr #1] alive : 127.0.0.1 [RFF Cape May (ac-r01) Analog Gateway Processor #1 +- Enet #1] alive : 127.0.0.1 [RFF Cape May (ac-r01) Analog Gateway Processor #1 +- Enet #2] alive : 127.0.0.1 [RFF Cape May (ac-r01) V.24 Gateway #1] alive : 127.0.0.1 [RFF Cape May (ac-r01) LonWorks Gateway #1] alive : 127.0.0.1 [RFF Cape May (ac-r01) Async Gateway #1] alive : 127.0.0.1 [RFF Cape May (ac-r01) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [RFF Cape May (ac-r01) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [RFF Cape May (ac-r01) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [RFF Cape May (ac-r01) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [RFF Cape May (ac-r01) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [RFF Cape May (ac-r01) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [RFF Cape May (ac-r01) Satellite Modem] alive : 127.0.0.1 [RFF Cape May (ac-r01) Link Encryptor] alive : 127.0.0.1 [RFF Cape May (ac-r01) Local Maintenance Device] alive : 127.0.0.1 [ERP #1 (ac-e01) WAN Router - VLAN A Enet I/F] alive : 127.0.0.1 [ERP #1 (ac-e01) LAN Switch - Loopback] alive : 127.0.0.1 [ERP #1 (ac-e01) Remote Site Mgr #1] alive : 127.0.0.1 [ERP #1 (ac-e01) Analog Gateway Processor #1 - Enet + #1] alive : 127.0.0.1 [ERP #1 (ac-e01) Analog Gateway Processor #1 - Enet + #2] alive : 127.0.0.1 [ERP #1 (ac-e01) V.24 Gateway #1] alive : 127.0.0.1 [ERP #1 (ac-e01) LonWorks Gateway #1] alive : 127.0.0.1 [ERP #1 (ac-e01) Async Gateway #1] alive : 127.0.0.1 [ERP #1 (ac-e01) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [ERP #1 (ac-e01) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [ERP #1 (ac-e01) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [ERP #1 (ac-e01) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [ERP #1 (ac-e01) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [ERP #1 (ac-e01) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [ERP #1 (ac-e01) Satellite Modem] alive : 127.0.0.1 [ERP #1 (ac-e01) Link Encryptor] alive : 127.0.0.1 [ERP #1 (ac-e01) Local Maintenance Device] alive : 127.0.0.1 [ERP #2 (ac-e02) WAN Router - VLAN A Enet I/F] alive : 127.0.0.1 [ERP #2 (ac-e02) LAN Switch - Loopback] alive : 127.0.0.1 [ERP #2 (ac-e02) Remote Site Mgr #1] alive : 127.0.0.1 [ERP #2 (ac-e02) Analog Gateway Processor #1 - Enet + #1] alive : 127.0.0.1 [ERP #2 (ac-e02) Analog Gateway Processor #1 - Enet + #2] alive : 127.0.0.1 [ERP #2 (ac-e02) V.24 Gateway #1] alive : 127.0.0.1 [ERP #2 (ac-e02) LonWorks Gateway #1] alive : 127.0.0.1 [ERP #2 (ac-e02) Async Gateway #1] alive : 127.0.0.1 [ERP #2 (ac-e02) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [ERP #2 (ac-e02) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [ERP #2 (ac-e02) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [ERP #2 (ac-e02) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [ERP #2 (ac-e02) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [ERP #2 (ac-e02) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [ERP #2 (ac-e02) Satellite Modem] alive : 127.0.0.1 [ERP #2 (ac-e02) Link Encryptor] alive : 127.0.0.1 [ERP #2 (ac-e02) Local Maintenance Device] alive : 127.0.0.1 [ERP #3 (ac-e03) WAN Router - VLAN A Enet I/F] alive : 127.0.0.1 [ERP #3 (ac-e03) LAN Switch - Loopback] alive : 127.0.0.1 [ERP #3 (ac-e03) Remote Site Mgr #1] alive : 127.0.0.1 [ERP #3 (ac-e03) Analog Gateway Processor #1 - Enet + #1] alive : 127.0.0.1 [ERP #3 (ac-e03) Analog Gateway Processor #1 - Enet + #2] alive : 127.0.0.1 [ERP #3 (ac-e03) V.24 Gateway #1] alive : 127.0.0.1 [ERP #3 (ac-e03) LonWorks Gateway #1] alive : 127.0.0.1 [ERP #3 (ac-e03) Async Gateway #1] alive : 127.0.0.1 [ERP #3 (ac-e03) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [ERP #3 (ac-e03) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [ERP #3 (ac-e03) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [ERP #3 (ac-e03) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [ERP #3 (ac-e03) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [ERP #3 (ac-e03) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [ERP #3 (ac-e03) Satellite Modem] alive : 127.0.0.1 [ERP #3 (ac-e03) Link Encryptor] alive : 127.0.0.1 [ERP #3 (ac-e03) Local Maintenance Device] alive : 127.0.0.1 [ERP #4 (ac-e04) WAN Router - VLAN A Enet I/F] alive : 127.0.0.1 [ERP #4 (ac-e04) LAN Switch - Loopback] alive : 127.0.0.1 [ERP #4 (ac-e04) Remote Site Mgr #1] alive : 127.0.0.1 [ERP #4 (ac-e04) Analog Gateway Processor #1 - Enet + #1] alive : 127.0.0.1 [ERP #4 (ac-e04) Analog Gateway Processor #1 - Enet + #2] alive : 127.0.0.1 [ERP #4 (ac-e04) V.24 Gateway #1] alive : 127.0.0.1 [ERP #4 (ac-e04) LonWorks Gateway #1] alive : 127.0.0.1 [ERP #4 (ac-e04) Async Gateway #1] alive : 127.0.0.1 [ERP #4 (ac-e04) UPS #1 - Rack 1 - UPS 1] alive : 127.0.0.1 [ERP #4 (ac-e04) UPS #2 - Rack 1 - UPS 2] alive : 127.0.0.1 [ERP #4 (ac-e04) UPS #3 - Rack 2 - UPS 1] alive : 127.0.0.1 [ERP #4 (ac-e04) UPS #4 - Rack 2 - UPS 2] alive : 127.0.0.1 [ERP #4 (ac-e04) UPS #5 - Rack 3 - UPS 1] alive : 127.0.0.1 [ERP #4 (ac-e04) UPS #6 - Rack 3 - UPS 2] alive : 127.0.0.1 [ERP #4 (ac-e04) Satellite Modem] alive : 127.0.0.1 [ERP #4 (ac-e04) Link Encryptor] alive : 127.0.0.1 [ERP #4 (ac-e04) Local Maintenance Device] alive : 127.0.0.1 [Station Cape May (ac-s03) WAN Link into Cape May S +TA from CGDN+] alive : 127.0.0.1 [RFF Cape May (ac-r01) WAN Link into Cape May RFF f +rom CGDN+] alive : 127.0.0.1 [RFF Manasquan (ac-r02) WAN Link into Manasquan RFF + from CGDN+] alive : 127.0.0.1 [RFF Salem (ac-r03) WAN Link into Salem RFF from CG +DN+] alive : 127.0.0.1 [RFF Tuckerton (ac-r04) WAN Link into Tuckerton RFF + from CGDN+] alive : 127.0.0.1 [Station Atlantic City (ac-s01) WAN Link into Stati +on AC from CGDN+] alive : 127.0.0.1 [Station Barnegat Light (ac-s02) WAN Link into Barn +egat from CGDN+] alive : 127.0.0.1 [Station Manasquan Inlet (ac-s04) WAN Link into Man +asquan Sta from CGDN+] ####################################################### Testing the host availability for the region ####################################################### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> PING TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] alive : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> PING TIME TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" 0ms : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] average "approximate +round trip time" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> COPY TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] okay : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>> WMI TEST >>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ] NOT configured : AZ25-C1W7K71.gddsi.com [ 137.162.140.21 ]

Thanks in advance

READMORE tags added by Arunbear