Hi,

I've installed ZipTie in my office and i've a problem with the Extrema Summit Backup.
In fact when i launch a discover, all it's ok.
But when i launch after a backup; i lost the hostname of the device.

I've look in the adapter and i've see that the parser parse the "show switch" result to find the hostname.
But this don't work for all my device. For any device, this work.

Can you help me ?

I’ve test Ziptie Extreme

I’ve test Ziptie Extreme Adapter.
I’ve discover my devices, all is ok.
But when I backup device, many devices ( not all ), lost the SysName.
The adapter request the SysName with the command “show switch”
$responses->{switch} = $cli_protocol->send_and_wait_for( 'show switch', $prompt_regex );
and parse the result in the Parser.pm on this line :
my ($systemName) = $in->{switch} =~ /^SysName:\s+(\S+)$/mi;

I’ve read in the ziptieAdapter.log and the “show switch” result command is ok :
08-08-29 12:45:35,714 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] [SENDING]
08-08-29 12:45:35,714 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] show switch
08-08-29 12:45:35,714 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] -----------------------------------------------------------------------------
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] -----------------------------------------------------------------------------
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] [WAITING 60 SECOND(S) FOR]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] \*\ C\-RPHA\-001\-S48\-1\:\d+\ \#\s*$
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] -----------------------------------------------------------------------------
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] -----------------------------------------------------------------------------
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] [RESPONSE]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] show switch
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] SysName: C-RPHA-001-S48-1
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] SysLocation: Here
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] SysContact: Exploitation
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] System MAC: 00:01:30:FE:70:D0
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] License: Basic L3 + Security
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] System Mode: 802.1Q EtherType is 9100 (Hex). CPU Tx-Priority = High
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] RED Probability: 0
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] DLCS: Disabled
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] SysHealth Check: Enabled. Alarm Level = Log
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Recovery Mode: None
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] System Watchdog: Enabled
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Reboot Loop Prot: Disabled
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Current Time: Fri Aug 29 12:27:24 2008
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Timezone: [Auto DST Enabled] GMT Offset: 0 minutes, name is GMT.
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] DST of 60 minutes is currently in effect, name is not set.
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] DST begins every first Sunday April at 2:00
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] DST ends every last Sunday October at 2:00
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Boot Time: Tue Dec 18 08:16:26 2007
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Next Reboot: None scheduled
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Timed Upload: None scheduled
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Timed Download: None scheduled
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Temperature: Normal. All fans are operational.
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Power supply: PSU-A OK, PSU-B not present
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Image Selected: Primary
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Image Booted: Primary
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Primary EW Ver: 6.2.2b72
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Secondary EW Ver: 6.2.2b72
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Config Selected: Primary
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Config Booted: Primary
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Primary Config: Created by EW Version: 6.2.2 Build 72 [43]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] 5136 bytes saved on Wed Aug 20 18:15:22 2008
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] Secondary Config: Created by EW Version: 6.2.2 Build 72 [43]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] 5044 bytes saved on Fri Apr 11 14:51:47 2003
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH]
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] * C-RPHA-001-S48-1:3 #
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] -----------------------------------------------------------------------------
08-08-29 12:45:35,774 [PerlServer ] [btpool0-42 ] INFO - 2008-08-29 12:45:35 [ZipTie::SSH] -----------------------------------------------------------------------------

I don”t know how to correct this.
Someone can help me ?

This was the solution

Double-click on one of the devices to open the configurations. Then open the ZipTie-Element-Document. Do you see a sysName in there? If not, change the line in the Parsers.pm module to this.

my ($systemName) = $in->{switch} =~ /SysName:\s+(\S+)/mi;

Yes this work. Thanks...

Yes this work. Thanks...