wombat.ch

your Partner for Network Design and CMS

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

Add a comment

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

Add a comment
Munin-Node | SNMP - Cisco Switch 3560


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
Munin-Node | opnSense



     
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

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 848 guests and no members online

We have 868 guests, one bot and no members online


one bot:
1 x BOT for JCE