Quantcast
Channel: THWACK: Popular Discussions - Kiwi CatTools
Viewing all 21331 articles
Browse latest View live

Linux Jump Server

$
0
0

Greetings,

 

I'm attempting to backup our devices that are accessible via a Linux server and according to the CatTools help section, sited bellow,  under "Connect via" this should be achievable:

 

For example, if your device is behind an access list, but a Linux box has access to that device, you can connect via the Linux box first, then launch a telnet or SSH session to the destination device from there.

 

So looks like this: http://i.imgur.com/IFoVOYz.png

 

And it's obvious looking at the debug log that when the back connects to the Linux server there are no issue, it's from the Linux to the Cisco device there is an issue and it appear that issue is with the ssh command it's passing:

 

-8:55:20 PM>ssh -2 -l  x.x.x.x

<R-8:55:20 PM>ssh -2 -l  x.x.x.x

<W-8:55:20 PM>[13]

<R-8:55:20 PM>[13][10]usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec][13][10]

<W-5:41:52 PM>ssh -2 -l  x.x.x.x

<R-5:41:52 PM>ssh -2 -l  x.x.x.x

<W-5:41:52 PM>[13]

 

It's attempting to use a Cisco ssh command and not a a Linux/Bash ssh syntax which looks like this username@<IP Address>

 

 

Am I missing something in the config?

 

Thanks for your suggestions.


using bash commands in Device.CLI.Send Commands fails

$
0
0

Hi

I am trying to create a script in order to backup a F5 BigIP.

The scripts runs without issues on the device when i run it on the console(ssh) , but when i use Kiwi Cattools, the script fails.

The reason i''m using variables, is to be able to backup multiple F5 devices into one dir, retaining the ID of the device.

I must be doing something dumb, or i don't get it.

 

#!/bin/bash

terminal width 120
FTPHOST=[IP]
HOST=$HOSTNAME
USER=F5
PASS=XXXXX
UPATH1=Config'/'Current'/'
UPATH=`date +%Y'/'%m'/'%d`
FPATH="$UPATH1$UPATH"

 

cd /config
tmsh -c "save sys config base"
cp bigip_base.conf $HOST.conf
ftp -inv << EOF
open $FTPHOST
user $USER $PASS
bin
mkdir $FPATH
put /config/$HOST.conf /$FPATH/$HOST.txt
close
bye
EOF

 

KiwiCattools fails on reading the variables, i get "waiting for respons to command", waiting for an echo.

I am using Device.CLI.Send Commands.

Question ofcourse is... :how to fix it, how to set specifics for each device using variables ? Am i missing the point completly? Is it even possible what i''d like to achieve.

What am i doing wrong?

 

If anybody can point me to some docs on how to use bash within scripts for KiwiCatTools, that would be great too.

Thank you in advance.

With kind regards, Thijn

Latest Cattools on SG300 switches?

$
0
0

Can the latest RC of Cattools perform config backups on Cisco Small Business SG300 switches? We are having a hard time getting this working over SSH with TACACS.

Cisco SF-300 Backup Problem- Did not receive command prompt after connecting via SSH

$
0
0

Hello,

 

I am pretty new in Kiwi CatTools so don't expect much.

The switch i wanted to back-up is the Cisco.SmallBusiness SF-300-24PP.

I keep getting this error;

'' Did not receive command prompt after connecting via SSH ''

Cisco Router with Cisco Unity Express

$
0
0

Have a 2800 series router with cisco unity express.

There is no provided mechanism to backup the device (CUE).

CatTools is perfect for this but I'm not a coder!!

Can someone help me get past the point I'm at....

I'm using the device.cli.send to push the following commands;

serv serv 0/1 sess - this gets me into the cue module

after that need to hit enter key a few times to "wake it up" as you have to do this when you are logged in and interactive.

Once you hit enter a few times you get the prompt.

Any suggestions?

Thanks,

Paul.

Error while unpacking program, code LP5. Please report to author.

$
0
0

Kiwi Cattools is stopping after trying to execute it.  Error windows pops up with message: "Error while unpacking program, code LP5. Please report to author."

Tried to unistall and reinstall the product (Kiwi CatTools 3.4.0) without success.  CatTools has been running since years without any problems, until now.  Probably some other recently (automatic) installed application or service is the cause, but I am not able to identify; I have installed nothing new for the last weeks.

Any help or advise is appreciated... thanks

The Freeware edition of Kiwi CatTools v3.7 supports

$
0
0

Hi,

I'm evaluating CatTools v3.7.
After the evaluation period is expired, I selected "Free mode".

Then I tryed to add a new device, CatTools displayed the following message.

================================================

Sorry, the Freeware edition is limited to 1 device.

================================================

I believe I can add up to 20 devices on Freeware edition.
http://www.kiwisyslog.com/kiwi-cattools-licensing/

The Freeware edition of Kiwi CatTools supports:
        - Up to 20 devices in the device database
        - Up to 20 scheduled activities
        - Up to 10 simultaneous TFTP sessions
        - Up to 5 client threads

Why cannot I add the device?

Change Password for Hirschmann RS20 Switch

$
0
0

I'm trying to write a script to change password's for Hirschmann RS20 Switch.

 

Debug:

<W-16:03:06>users passwd user[13]

<R-16:03:06>u

<R-16:03:06>sers passwd user[13][10][13][10]Enter old password:

<W-16:03:06>public[13]

<R-16:03:06>*

<R-16:03:06>**[13][10][13][10]Incorrect Password![13][10][13][10](egvko1swvis6) (Config)#

 

.... but the password is right.

 

Script:

     ReDim rgMult(5)

   

    rgMult(1) = "Enter old password:"

    rgMult(2) = "Enter new password:"

    rgMult(3) = "Confirm new Password:"

    rgMult(4) = "... irgendwas"

    rgMult(5) = "Incorrect Password!"

   

    cl.Log 4, "SendData '" & sCmd & "'"

    cl.SendData sCmd & vbCr

   

    iRetValPWD = cl.WaitForMultData(rgMult, , COMMAND_TIMEOUT)

    cl.Log 4, "Buffer '" & cl.RxBuffer & "'"

   

    Select Case iRetValPWD

     Case 1, 2, 3, 4

           ' Password accepted - a valid device prompt was received back

           iNumSuccess = iNumSuccess + 1

           iChangePWD = iChangePWD + 1

           cl.Log 4, "SendData ok"

     Case 5

           cl.Log 4, "Incorrect Password!"

           SendCommandsMultiple = False

           Exit Do

     Case Else

           ' Unexpected response received back from device

           cl.Log 4, "Did not receive expected response after sending password"

           iNumErrors = iNumErrors + 1

    End Select

    cl.FlushRxBuffer


Strange output in Mikrotik Backup

$
0
0

Hi All,

 

We've purchased KiwiCattools to perform regular backups of our Mikrotik Routers.

Logging in and exporting goes without a problem however if we look at the exported files then there's some strange output.

 

The config file starts with the text below.

 

[admin@XXXX] >

[admin@XXXX] >                                                                

[admin@XXXX] > export verbose

[admin@XXXX] > export verbose

 

 

# dec/28/2017 16:11:14 by RouterOS 6.27

# software id = TI2W-S6JC

#

 

Is it possilble to remove this text so that the first line in the config starts after the third "#"

 

 

Thanks in advanced.

CatTools + CUCM PLM

$
0
0

I have CatTools installed on my system, and I have a Cisco PLM on my LAN. I want to use CatTools to send commands to the PLM via ssh. I've had some success. I've created an activity "device.cli.send.commands " and I CAN login via ssh. However I cannot enter any meaningful commands. Even something trivial like "show hardware" fails to return any outputs (reports).See Image 1. If I enter invalid commands (like say the letter "l") CatTools believes it is successful - however the reports say "incomplete command entered". See Image two. Could someone help me execute a command like "show hardware" successfully?

 

The Kiwi CatTools service terminated unexpectedly.

$
0
0

Hey guys,

 

recently, our Kiwi CatTools Service crashes. This occurs randomly, we could not find the reason so far. We did not do any changes, except maybe changing an ip address or stuff.

 

The Windows Log sais the following:

 

System: The Kiwi CatTools service terminated unexpectedly.  It has done this 5 time(s).

Applic.: Faulting application CatTools_Service.exe, version 3.3.0.17, faulting module KiwiTFTP.dll, version 2.2.0.0, fault address 0x0000c98c.            or:

            Faulting application CatTools_Service.exe, version 3.3.0.17, faulting module unknown, version 0.0.0.0, fault address 0x00000000.

 

Steps to resolve this issue:

 

- delete all devices, we don't need anymore (we have more than 100 devices)

- shrink the database

- reinstall kiwi cattools 3.3.17

- check timings of the jobs

- searched google and thwack for known issues

 

If you guys could help me that would be great, thx for your help. Maybe someone has similar problems. Maybe some recent Windows updates cause this error?

 

regards,

dash

WS5100 Login Issue

$
0
0

The Motorola (Symbol?) WS5100 wireless LAN controller has a Cisco CLI style interface - except for the login. On an initial SSH connection the prompt is "login as:" and the correct input is "cli" sans quotes. Then the traditional username and password prompts occur. I can't figure out a way to make Cattools input that first "cli" in the first prompt - it always tries to use the ssh credentials. I've used variations and set the pre-login stuff but with no success. Now I'm trying to do a custom device but I can't see anywhere to put a prelogin command to accommodate. Have any of you had any experience with this and can lend some ideas on how to proceed?

 

TIA,

 

Eric

cisco stack inventory

$
0
0

Hello,

 

I want to have a full inventory of my switches-stacks. I want the data (model, serial-number,...) of the members of the stack.

Is there a activity for this?

 

thanks

 

CatTools and SonicWall 6.2

$
0
0

Trying to get my SonicWall firewall NSA5600 config to back up via CatTools.  Seems that everything I try doesn't work.  It's trying to enter the wrong commands for displaying the current config.

 

Anyone else having these issues?

Cattools Configuration Backup - Save Changed Configs Only

$
0
0

Has anyone found a standard method or scripted solution for checking whether a configuration has changed before Cattools backs it up?  Ideally, I would like to save a few generations of changed configurations in different folders.

Thanks for the help.  Glenn


Daily backup ( even if the configuration isn't change)

$
0
0

Hi,

 

Due to external audit reason, i need to get 1 backup files/ by day & By device.

 

Today, i success to make all my switch (cisco) under backup ( check everyday & take a copy when config has been changed). However, how can i force the take a backup every day ?

 

thanks a lot for your support.

 

Best regards

 

S.

Fortigate With Vdom backup is not happening

$
0
0

Hi All ,

 

I am not able to take the backup of Fortigate  which has configured on VDOM environment .

Some Fortigate's I am able to take but Vdom configuration's are missing from the Backup .

Did any one faced this issues and what was the solutions you found on Kiwi Cat tools

 

Please help thanks in advance

 

Regards

Vineeth

Change Password for Hirschmann RS20 Switch

$
0
0

I'm trying to write a script to change password's for Hirschmann RS20 Switch.

 

Debug:

<W-16:03:06>users passwd user[13]

<R-16:03:06>u

<R-16:03:06>sers passwd user[13][10][13][10]Enter old password:

<W-16:03:06>public[13]

<R-16:03:06>*

<R-16:03:06>**[13][10][13][10]Incorrect Password![13][10][13][10](egvko1swvis6) (Config)#

 

.... but the password is right.

 

Script:

     ReDim rgMult(5)

   

    rgMult(1) = "Enter old password:"

    rgMult(2) = "Enter new password:"

    rgMult(3) = "Confirm new Password:"

    rgMult(4) = "... irgendwas"

    rgMult(5) = "Incorrect Password!"

   

    cl.Log 4, "SendData '" & sCmd & "'"

    cl.SendData sCmd & vbCr

   

    iRetValPWD = cl.WaitForMultData(rgMult, , COMMAND_TIMEOUT)

    cl.Log 4, "Buffer '" & cl.RxBuffer & "'"

   

    Select Case iRetValPWD

     Case 1, 2, 3, 4

           ' Password accepted - a valid device prompt was received back

           iNumSuccess = iNumSuccess + 1

           iChangePWD = iChangePWD + 1

           cl.Log 4, "SendData ok"

     Case 5

           cl.Log 4, "Incorrect Password!"

           SendCommandsMultiple = False

           Exit Do

     Case Else

           ' Unexpected response received back from device

           cl.Log 4, "Did not receive expected response after sending password"

           iNumErrors = iNumErrors + 1

    End Select

    cl.FlushRxBuffer

CatTools: No Results From Device.CLI.Send.commands script against Palo Alto 3050 firewall

$
0
0

I have a Palo Alto 3050 running 8.0.6.  I created a job to send some commands to the firewall and write the output to a file.

 

The test commands I'm sending are:

 

set cli pager off

set cli scripting-mode on

show system info

 

It really doesn't matter what command I send I never receive any output.   Here is what is written to the file/the output:

 

set

fw(active)> set cli [Kjodonnel-adm@NBDCRPIFW1(active)> set cli pager fw(active)> set cli pager off

 

fw(active)> set

fw(active)> set cli

fw(active)> set cli scripting-mode fw(active)> set cli scripting-mode on

fw(active)> show system info

 

 

I can't tell if the firewall isn't interpreting the carriage return of is experiencing an issue with the interactive session.

 

Wondering if anyone else experienced this issue.  I opened an case with support almost 3 weeks ago.  Uploaded a bunch of debugs and screen shots, but not response from tech support since......

 

Thanks!

HowTo: Rename Multiple Devices

$
0
0

Hi,  I need to rename a number of devices so that a fixed portion of their name is changed to a new value.  I thought there was a way to do this by exporting the data, usign a text editor and re-importing. 

I exported the devices but just wanted to check whether CatTools will know which device is which and update them, or whether it will just create a duplicate set of devices?  It depends whether it does a replace and if so, what it uses to match the devices.

Or is there another way?

Cheers

David

Viewing all 21331 articles
Browse latest View live