Archive for the ‘Network Info’ Category

Observium – network monitoring with intuition

Dienstag, April 26th, 2022

Observium – network monitoring with intuition

Mailcow – Single Mail Restore über Proxmox Backup Server

Sonntag, April 24th, 2022

Raspberry Pi – how to create a SNMP client configuration for Observium CE 21.10.11666 an intuitive network management and monitoring system

Sonntag, April 24th, 2022
root@rpi-iot-jsho-snmp-01:~# apt-get install snmpd
root@rpi-iot-jsho-snmp-01:~# wget -O /usr/local/bin/distro https://www.observium.org/files/distro
root@rpi-iot-jsho-snmp-01:~# chmod +x /usr/local/bin/distro
root@rpi-iot-jsho-snmp-01:~# cd /etc/snmp
root@rpi-iot-jsho-snmp-01:/etc/snmp# vi snmpd.conf
# Listen for connections on all interfaces (both IPv4 *and* IPv6)
agentAddress udp:161,udp6:[::1]:161
# Full view access
view all included .1
# system + hrSystem groups only
view systemonly included .1.3.6.1.2.1.1
view systemonly included .1.3.6.1.2.1.25.1
# Default access to full view
rocommunity JSHO default -V all
# Default access to basic system info
#rocommunity public default -V systemonly
# System contact and location
syslocation Rack/Room/Building, Street, City, Country [GPSX,Y]
syscontact Contact Person <your@email.address>
# Disk Monitoring
disk / 10000
disk /var 5%
includeAllDisks 10%
# Unacceptable 1-, 5-, and 15-minute load averages
load 12 10 5
# This line allows Observium to detect the host OS if the distro script is installed
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/local/bin/distro
# This lines allows Observium to detect hardware, vendor and serial
# Common Linux:
# extend .1.3.6.1.4.1.2021.7890.2 hardware /bin/cat /sys/devices/virtual/dmi/id/product_name
# extend .1.3.6.1.4.1.2021.7890.3 vendor /bin/cat /sys/devices/virtual/dmi/id/sys_vendor
# extend .1.3.6.1.4.1.2021.7890.4 serial /bin/cat /sys/devices/virtual/dmi/id/product_serial
# Raspberry Pi:
extend .1.3.6.1.4.1.2021.7890.2 hardware /bin/cat /proc/device-tree/model
extend .1.3.6.1.4.1.2021.7890.4 serial /bin/cat /proc/device-tree/serial
# This line allows Observium to collect an accurate uptime
extend uptime /bin/cat /proc/uptime
# This line enables Observium’s ifAlias description injection
pass_persist .1.3.6.1.2.1.31.1.1.1.18 /usr/local/bin/ifAlias_persist
root@rpi-iot-jsho-snmp-01:/etc/snmp# systemctl restart snmpd
root@rpi-iot-jsho-snmp-01:/etc/snmp# systemctl status snmpd
root@rpi-iot-jsho-snmp-01:/etc/snmp#

Observium CE 21.10.11666 – keep an eye on your network

Samstag, April 23rd, 2022

Raspberry Pi – how to install Observium CE 21.10.11666 an intuitive network management and monitoring system

Freitag, April 22nd, 2022
root@rpi-iot-jsho-observium-01:~# apt-get update -y
root@rpi-iot-jsho-observium-01:~# apt-get full-upgrade -y
root@rpi-iot-jsho-observium-01:~# wget http://www.observium.org/observium_installscript.sh
–2022-04-22 17:31:11– http://www.observium.org/observium_installscript.sh
Resolving www.observium.org (www.observium.org)… 51.91.185.43
Connecting to www.observium.org (www.observium.org)|51.91.185.43|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://www.observium.org/observium_installscript.sh [following]
–2022-04-22 17:31:11– https://www.observium.org/observium_installscript.sh
Connecting to www.observium.org (www.observium.org)|51.91.185.43|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 20314 (20K) [text/x-sh]
Saving to: ‘observium_installscript.sh’
observium_installscript.sh 100%[======================================================================================>] 19.84K –.-KB/s in 0.01s
2022-04-22 17:31:12 (1.73 MB/s) – ‘observium_installscript.sh’ saved [20314/20314]
root@rpi-iot-jsho-observium-01:~# chmod +x observium_installscript.sh
root@rpi-iot-jsho-observium-01:~# ./observium_installscript.sh
___ _ _
/ _ \| |__ ___ ___ _ ____ _(_)_ _ _ __ ___
| | | | ‚_ \/ __|/ _ \ ‚__\ \ / / | | | | ‚_ ` _ \
| |_| | |_) \__ \ __/ | \ V /| | |_| | | | | | |
\___/|_.__/|___/\___|_| \_/ |_|\__,_|_| |_| |_|
Welcome to Observium automatic installscript v0.2
Please choose which version of Observium you would like to install
1. Observium Community Edition
2. Observium Pro Edition stable (requires account at https://www.observium.org/subs/)
3. Observium Pro Edition rolling (requires account at https://www.observium.org/subs/)
4. Install the UNIX-Agent
5. Install the SNMPD (snmpd-config will be overwritten)
(1-5):1you choose 1
dpkg-query: no packages found matching mysql-server
dpkg-query: no packages found matching mariadb-server
[*] No MySQL server detected in this server, installing MySQL…
Choose a MySQL root password
[*] Beginning package installtion, this might take up to 30min
[*] We are on Debian 11.x, we will install PHP 7.4. Installing packages…
All packages are up to date.
DONE! UNIX-agent is installed and this server is now monitored by Observium
[*] Installation finished! Use your webbrowser and login to the web interface with the account you just created and add your first device
root@rpi-iot-jsho-observium-01:~#
root@rpi-iot-jsho-snmp-01:~# apt-get install snmpd
root@rpi-iot-jsho-snmp-01:~# cd /etc/snmp
root@rpi-iot-jsho-snmp-01:/etc/snmp# vi snmpd.conf
agentAddress udp:161,udp6:[::1]:161
root@rpi-iot-jsho-snmp-01:/etc/snmp# systemctl restart snmpd
root@rpi-iot-jsho-snmp-01:/etc/snmp# systemctl status snmpd
● snmpd.service – Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/lib/systemd/system/snmpd.service; enabled; vendor preset:>
Active: active (running) since Sat 2022-04-23 18:16:34 CEST; 10s ago
Process: 983 ExecStartPre=/bin/mkdir -p /var/run/agentx (code=exited, statu>
Main PID: 984 (snmpd)
Tasks: 1 (limit: 415)
CPU: 400ms
CGroup: /system.slice/snmpd.service
└─984 /usr/sbin/snmpd -LOw -u Debian-snmp -g Debian-snmp -I -smux >
Apr 23 18:16:34 rpi-iot-jsho-snmp-01 systemd[1]: Starting Simple Network Manage>
Apr 23 18:16:34 rpi-iot-jsho-snmp-01 systemd[1]: Started Simple Network Managem>
root@rpi-iot-jsho-snmp-01:/etc/snmp#

LibreNMS – how to send alert emails with an App Password from your Google Account

Freitag, April 22nd, 2022

Mikrotik Switch – mit RouterOS und VLANs einrichten

Freitag, April 22nd, 2022

AVM FRITZ!Tech – wie viele WLAN Antennen braucht man

Donnerstag, April 21st, 2022

Raspberry Pi – enable the SNMP Agent

Donnerstag, April 21st, 2022

Wireshark 3.6.3 – SSH Remote Packet Capture

Mittwoch, April 20th, 2022

HomeLabNextGeneration – Dokumentation mit Netbox and Observium Monitoring

Mittwoch, April 20th, 2022

OPNSense 22.1 – a powerful open source network firewall and router

Mittwoch, April 20th, 2022

HomeLabNextGeneration – Ubiquiti EdgeRouter 12 Migration ins Rack

Montag, April 18th, 2022

FRITZ! Talk – Updates bei den FRITZ! Apps

Freitag, April 15th, 2022

NethServer 7.9.2009 – how to build your own home server for free

Mittwoch, April 13th, 2022