wiki:TipAndDoc/monitor/munin

munin 2.0

  • /var/log/munin/munin-graph.log
    2012/10/06 22:10:08 Opened log file
    2012/10/06 22:10:08 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/munin/munin-graph line 74.
    2012/10/06 22:10:08 [PERL WARNING] Use of uninitialized value $graph_fh in <HANDLE> at /usr/share/munin/munin-graph line 75.
    2012/10/06 22:10:08 [PERL WARNING] readline() on unopened filehandle at /usr/share/munin/munin-graph line 75.
    
    • バグ?
    • User support list for the munin RRD graphing front end
    • /usr/share/munin/munin-graph
      my $graph_fh = new IO::File($config->{libdir} . "/graphs");
      
    • /etc/munin/munin.conf に次の一文を追加すればとりあえずエラーは出なくなる
      libdir /var/lib/munin
      
    • 別のエラーを引き起こす
    • /usr/bin/munin-cron
      2012/10/09 17:47:46 [ERROR] config error under [] for 'libdir /var/lib/munin' : Parse error in /etc/munin/munin.conf for libdir:
       Unknown keyword at end of left hand side of line 9 (libdir )
       at /usr/share/munin/munin-update line 49
      ERROR: Failed to parse config file '/etc/munin/munin.conf': [ERROR] config error under [] for 'libdir /var/lib/munin' : Parse error in /etc/munin/munin.conf for libdir:
       Unknown keyword at end of left hand side of line 9 (libdir )
       at /usr/share/munin/munin-update line 49
       at /usr/share/munin/munin-update line 49
      

counter vs derive

change interval

Windows

  • Windows
    [MuninNode]
    PortNumber=4949
    LogConnections=1
    MasterAddress=*
    

plugins

  • Bash-scripting for iptables/munin

    I am trying to write this munin script to log all the accepted TCP/UDP/ICMP packets that are comming trough my iptable firewall.

    echo tcp.value `iptables -vxL | grep 'ACCEPT.*tcp' | cut -c1-8`
    

minecraft

diskstats

Last modified 7 months ago Last modified on Mar 20, 2017 12:58:29 AM