From b3a321609272d7fd01332b8a7f635e661a7bdd87 Mon Sep 17 00:00:00 2001 From: cumulusAnia Date: Tue, 7 May 2024 12:36:43 -0700 Subject: [PATCH] updates to snmp --- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 19 ++++++++++--------- .../Configure-SNMP-Traps.md | 10 +++++----- 9 files changed, 85 insertions(+), 77 deletions(-) diff --git a/content/cumulus-linux-51/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-51/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index fa9cc7902f..9065294b61 100644 --- a/content/cumulus-linux-51/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-51/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -366,27 +366,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -396,7 +397,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -406,7 +407,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-52/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-52/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index fa9cc7902f..9065294b61 100644 --- a/content/cumulus-linux-52/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-52/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -366,27 +366,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -396,7 +397,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -406,7 +407,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-53/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-53/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index 20a8cdf62e..6ca83b42f3 100644 --- a/content/cumulus-linux-53/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-53/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -414,27 +414,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -444,7 +445,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -454,7 +455,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-54/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-54/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index 3d306ae461..a1c897c99d 100644 --- a/content/cumulus-linux-54/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-54/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -414,27 +414,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -444,7 +445,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -454,7 +455,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-55/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-55/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index 3d306ae461..a1c897c99d 100644 --- a/content/cumulus-linux-55/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-55/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -414,27 +414,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -444,7 +445,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -454,7 +455,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-56/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-56/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index 3d306ae461..a1c897c99d 100644 --- a/content/cumulus-linux-56/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-56/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -414,27 +414,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -444,7 +445,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -454,7 +455,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-57/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-57/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index 3d306ae461..a1c897c99d 100644 --- a/content/cumulus-linux-57/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-57/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -414,27 +414,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -444,7 +445,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -454,7 +455,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-58/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-58/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index 3d306ae461..a1c897c99d 100644 --- a/content/cumulus-linux-58/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-58/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -414,27 +414,28 @@ cumulus@switch:~$ sudo systemctl restart snmpd.service You can use MIB names instead of OIDs, which greatly improves the readability of the `snmpd.conf` file. You enable this by installing the `snmp-mibs-downloader`, which downloads SNMP MIBs to the switch before enabling traps. -1. Open `/etc/apt/sources.list` in a text editor. - -2. Add the `non-free` repository, then save the file: +1. Open `/etc/apt/sources.list` in a text editor, add the `non-free` repository, then save the file: ``` - cumulus@switch:~$ sudo deb http://ftp.us.debian.org/debian/ buster main non-free + cumulus@switch:~$ sudo nano /etc/apt/sources.list + ... + deb http://deb.debian.org/debian buster main non-free + ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -444,7 +445,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -454,7 +455,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free diff --git a/content/cumulus-linux-59/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md b/content/cumulus-linux-59/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md index 21fb6bfa98..8e6e5bee42 100644 --- a/content/cumulus-linux-59/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md +++ b/content/cumulus-linux-59/Monitoring-and-Troubleshooting/Simple-Network-Management-Protocol-SNMP/Configure-SNMP-Traps.md @@ -423,19 +423,19 @@ You can use MIB names instead of OIDs, which greatly improves the readability of ... ``` -3. Update the switch: +2. Update the switch: ``` cumulus@switch:~$ sudo -E apt-get update ``` -4. Install the `snmp-mibs-downloader`: +3. Install the `snmp-mibs-downloader`: ``` cumulus@switch:~$ sudo -E apt-get install snmp-mibs-downloader ``` -5. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: +4. Open the `/etc/snmp/snmp.conf` file to verify that the `mibs :` line is in comments: ``` # @@ -445,7 +445,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #mibs : ``` -6. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: +5. Open the `/etc/default/snmpd` file to verify that the `export MIBS=` line is in comments: ``` # This file controls the activity of snmpd and snmptrapd @@ -455,7 +455,7 @@ You can use MIB names instead of OIDs, which greatly improves the readability of #export MIBS= ``` -7. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. +6. After you confirm the configuration, remove or comment out the `non-free` repository in `/etc/apt/sources.list`. ``` #deb http://ftp.us.debian.org/debian/ buster main non-free