GithubHelp home page GithubHelp logo

joubbi / backup_scalance Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

A script for backing up Siemens Scalamce switches.

License: Other

icinga icinga-plugin nagios nagios-plugin op5 siemens scalance

backup_scalance's Introduction

backup_scalance

DO NOT USE THIS SCRIPT! (and reconsider using Siemens Scalance switches at all)

There is a bug (or maybe a feature?) that reboots any Scalance switch when logging in with SSH and issuing commands interactively. Siemes technical support is informed about this. They have confirmed the problem, but not fixed it to my knowledge.

This is a script for backing up Siemens Scalamce switches.

The script logs in and connects with SSH to the switch, then copies the current configuration to a TFTP server. (The Scalance switches don't support a more secure protocol)

Make sure that you have expect installed on your system.

Add/change the address of the TFTP server inside the script.

Supply the hostname or IP address of the switch together with a username and a password as arguments to the script.

There is no confirmation from within a Scalance switch to see if the command "cfgsave" was successful. So this script is not able to tell if the configuration backup is actually on the TFTP server when finished.

The script can be added to Op5 or some other Nagios like system, or automated in other ways.

Version history

  • 1.0 2015-08-17 Initial version.
  • 0.9 2015-02-16 Proof of concept.

Licensed under the Apache License Version 2.0

Written by [email protected]

http://www.joubbi.se/monitoring.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.