# Cisco Configuration Remote Inventory Plugin

# Introduction

This utility retrieves running-config from target cisco device.

You can register it in your Pandora FMS Console in order to be able to configure remote inventory on cisco devices.

# Compatibility matrix

<table border="1" id="bkmrk-sistemas-donde-se-ha" style="border-collapse: collapse; width: 100%; height: 58px;"><tbody><tr style="height: 28px;"><td style="width: 50%; height: 28px;">**Systems where it has been tested**</td><td style="width: 50%; height: 28px;">Fedora

</td></tr><tr style="height: 28px;"><td style="width: 50%; height: 30px;">**Systems where it should work**</td><td style="width: 50%; height: 30px;">Any linux system

</td></tr></tbody></table>

# Prerequisites

Required:

- A cisco devide
- perl installed
- Module perl-Net-Telnet installed

# Configuration

**Fedora**

For install perl if you dont have perl installed

```
$ sudo dnf install perl-core
```

For install module perl-Net-Telnet

```
sudo yum install perl-Net-Telnet
```

# Manual execution and parameters

To manually run the plugin, execute the following command

If your cisco device needs only the password to enter :

```
get_config.pl <ip_address> <login_pass> <enable_pass>
```

If your cisco device needs user plus password to log in :

```
 get_config.pl <ip_address> <login_pass> <enable_pass> <username> 
```

<table border="1" id="bkmrk-par%C3%A1metro-descripci%C3%B3" style="border-collapse: collapse; width: 100%; height: 145px;"><tbody><tr style="height: 29px;"><td style="width: 50%; height: 29px;">**Parámeter**</td><td style="width: 50%; height: 29px;">**Description**</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">ip-address</td><td style="width: 50%; height: 29px;">ip telnet (required)</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">login-pass</td><td style="width: 50%; height: 29px;">your password (required)</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">enable\_pass</td><td style="width: 50%; height: 29px;">your password for enable (required)</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">username</td><td style="width: 50%; height: 29px;">your username (only required if you need for login in your configuration)</td></tr></tbody></table>