SNMPDv3 Setup

This utility provides an interactive script to install and configure snmpd on a Debian-based system with secure SNMPv3 credentials. It automates the process of setting up a new user with SHA authentication and AES privacy protocols.

The script will prompt for user contact information, automatically detect location details, and configure snmpd accordingly. It also installs the LibreNMS distro detection script.

Automated Installation

To install, run the following command in your terminal. This will download and execute the installation script with sudo privileges. The script will prompt for necessary information and then configure the system.

Using curl:

curl -sL https://random.clusterlabs.dev/scripts/snmpdv3-setup/install.sh | sudo bash

Using wget:

wget -qO- https://random.clusterlabs.dev/scripts/snmpdv3-setup/install.sh | sudo bash

Download install.sh

Installation Script Content:


Automated Uninstallation

To remove the configuration, run the corresponding command below. This will download and execute the uninstallation script with sudo, which will remove the SNMPv3 user and restore the default configuration.

Using curl:

curl -sL https://random.clusterlabs.dev/scripts/snmpdv3-setup/uninstall.sh | sudo bash

Using wget:

wget -qO- https://random.clusterlabs.dev/scripts/snmpdv3-setup/uninstall.sh | sudo bash

Download uninstall.sh

Uninstallation Script Content: