Software Information
Add also to
vi /etc/cron.d/munin-plugin-apt
03 * * * * root apt update > /dev/null 2>&1
18 * * * * root apt-get update > /dev/null 2>&1
33 * * * * root apt upgrade > /dev/null 2>&1
48 * * * * root apt-get upgrade > /dev/null 2>&1
# service cron reload
==============================================================
Problems:
:/etc/munin/plugins# munin-run apt
pending.value 3
pending.extinfo file libmagic-mgc libmagic1
hold.value 0
---
:/etc/munin/plugins# munin-run apt_all
pending_stable.value 0
hold_stable.value 0
pending_testing.value 0
hold_testing.value 0
pending_unstable.value 0
hold_unstable.value 0
Munin | Group Information
How to use and where to define Groups, and the difference in using the Munin-Master <--> Munin-Node vs. Munin-Master with SNMP
Munin-Master <--> Munin-Node>
in the Munin-Master device in the file
# /etc/munin/munin.conf
you have information like this to add for each Munin-Node
[munin-node.yourDomani.org]
address 10.10.10.10
use_node_name yes
With this ([munin-node.yourDomani.org]) part you are able to define some structure for your device.
The first part, bevor the dot, is your device you wish to monitore, behinde the dot you build your structure.
If you wish to Group it and split your VM, Switch, Hardware, Infrastructure device you could create a structure like this>
[server1.HW]>
[Munin.VM]>
[debian9.VM-Test]
>
Munin-Master <--> SNMP-"Node"
in the Munin-Master device in the file
# /etc/munin/munin.conf
you have information like this to add for each
[munin-node.yourDomani.org]
address 10.10.10.10
use_node_name yes
Quellen/Source:
- Github | syswombat | 2019 | snmp Gude Plugin
- Gude | Wiki Doku - Thema snmp
- Munin DOC | How to write SNMP Plugins
-
-
-
-
- > Add a comment >
Config Cisco Switch
The IP Adresse has to be changed to your Munin-server (down is just a example), the Password change to something better! Configure and securing SNMP only Munin has access on a Cisco 3560er |
Login > enable # conf term (config)# snmp-server community passwort ro 98 (config)# access-list 98 permit host 10.147.42.63 (config)# snmp-server host 10.147.42.63 password2 (config)# exit #wr |
||
Check SNMP | # show snmp # show snmp view # show snmp group # show snmp user |
Config Munin-Server
# vi /etc/hosts | 10.18.14.21 swt-02.Infra.kozo.ch swt-02 | |
# cd /etc/munin/plugin-conf.d/ # vi snmp_communities |
[snmp_swt-02.Infra.kozo.ch_*] env.community public |
|
# munin-node-configure --snmp swt-02.Infra.kozo.ch -shell | sh -x | ||
# cd /usr/share/munin/plugins/ | ||
# ln -s /usr/share/munin/plugins/snmp__uptime /etc/munin/plugins/snmp_swt-02.Infra.kozo.ch_uptime and more to come |
||
# /etc/init.d/munin-node restart | ||
# vi /etc/munin/munin.conf | [swt-02.HV.kozo.ch] address 127.0.0.1 use_node_name no |
|
# /etc/init.d/munin-node restart | ||
Quellen/Source:
. Munin überwacht SNMP-fähige Geräte
- Generating Munin graphs for WRT54GL running DD-WRT via SNMP
- (2019) my Request on Github -because it can't be added to a group
-
- > Add a comment >
all Plugins | # cd /usr/local/share/munin/plugins | |
active Plugins | # cd /usr/local/etc/munin/plugins | |
# ln -s /usr/local/share/munin/plugins/dhcpd3 /usr/local/etc/munin/plugins/dhcpd3 | ||
# /usr/local/etc/rc.d/munin-node restart | ||
Plugins | ||
dhcp3 | defined on the file | location on FreeBSD/opnSense |
env.leasefile /var/lib/dhcp3/dhcpd.leases env.configfile /etc/dhcp3/dhcpd.conf |
/var/dhcpd/var/db/dhcpd.leases /var/dhcpd/etc/dhcpd.conf |
|
- - - -
Quellen/Source:
- Installing munin-node on OPNsense
-
-
-
-
- > Add a comment >
Subcategories
Windows Article Count: 5
Perfect Article Count: 236
Android Article Count: 220
virtualisierung Article Count: 10
Firewall Article Count: 12
- Anker 575 USB-C Docking Station (13-in-1), 85W für Laptops
- Perfect Server Hardware for Virtualization | Proxmox | pve-05
- Pioneer Blu-Ray/BD/DVD/CD Reader/writer USB 3.0 BDR-XD07TB | WORKS OK with Debian 11
- NOT WORKING WITH DEBIAN 11 | Dockingstation | IcyBox 14-in-1 USB Type-C | IB-DK2262AC
- How to remove systemd services
- Laptop | Lenovo | Thinkpad E15 Gen3 AMD
- Laptop | Lenovo | LENOVO-IDEA IdeaPad 3 15IGL05 Notebook (15.6 ", 128 GB SSD, Business Black)
- D. Klimo | Kent monoblocks
- TTN Mapper
- LILYGO TTGO T-Beam V1.1 ESP32 LoRa 868Mhz GPS 18650 Board
- LILYGO® TTGO T-Beam 868MHz -> The Things Network (TTN/TTS) -> Karte | Infos und Video bei Alex (www.aeq-web.com)
- Kabelfarben 3.3V, 5V, 12V, 230V | Durchmesser
- 01 Digi-Bee Stand01 Wetter
- Solar Panel | 6V 3W Solar Panel JY D145x145
- TTGO LoRa32 V2.1_1.6 version 433/868/915Mhz ESP32 LoRa OLED 0.96 Inch SD Card Bluetooth WIFI wireless Module ESP-32 SMA
- -pve-04 | Disk SSD and HDD
- DISK SSD | 1 TB | Samsung SSD 870 EVO 1TB - 1TB
- NanoVNA V2
- CubeSat | antennas |
- KoZo_GS3_433MHz
- tinyGS - shortcut what it means
- TinyGS Telegram community | published Links
- Wolfgang W. Osterhage (Springer Verlag Sachbuch 2021): Die Geschichte der Raumfahrt | (gefundene Fehler)
- ucs Univention some commands
- SMA-Stecker / SMA-Buchse