FAQ
Hello.

Sorry my english, because i will be brief..

I have FreeBSD 8.3-STABLE Sat Apr 28 10:09:22 SAMT 2012 with munin:
[CODE]
[root@gw ~]# pkg_info |grep munin
munin-common-2.0.6 Common components between a munin node and server
munin-master-2.0.6_1 Collector part of Munin
munin-node-2.0.6 Node-specific part of Munin
[/CODE]

and i have 3com 2250 switch with enable snmp 2c and R/O community public:
[CODE]
[root@gw ~]# telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at gw.sintetic.local
nodes
192.168.27.17
gw.sintetic.local
.
list 192.168.27.17
snmp_192.168.27.17_if_1 snmp_192.168.27.17_if_10 snmp_192.168.27.17_if_12
... skip ...
snmp_192.168.27.17_if_err_8 snmp_192.168.27.17_if_err_9
snmp_192.168.27.17_uptime
fetch snmp_192.168.27.17_if_1
recv.value 164770069838
send.value 428905385436
.
quit
Connection closed by foreign host.
[root@gw ~]#
[/CODE]
snmp plugin on munin-node is working, but then i run " # su munin -c
'munin-cron'" i dont see snmp on the graph =(

Config of munin-master:
[CODE]
[gw.sintetic.local]
address 127.0.0.1
use_node_name yes

[192.168.27.17]
address 127.0.0.1
use_node_name no
[/CODE]

I try as in munin wiki
(http://munin-monitoring.org/wiki/Using_SNMP_plugins):
[CODE]
[root@gw ~]# vi /usr/local/etc/munin/plugin-conf.d/snmp_communities
[snmp_192.168.27.17_*]
env.community public
env.version 2
[root@gw ~]# vi /usr/local/etc/munin/plugin-conf.d/snmp
[snmp_192.168.27.17_*]
env.community public
env.version 2
[/CODE]

in console it is working:
[CODE]
[root@gw ~]# perl /usr/local/etc/munin/plugins/snmp_192.168.27.17_if_1
recv.value 164772434650
send.value 428942569921
[/CODE]

please, help me...
many thanks!!

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
munin-users mailing list
munin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/munin-users

Search Discussions

  • Nicolai Langfeldt at Sep 27, 2012 at 12:59 pm

    On 09/27/2012 12:04 PM, Maxim Klyuev wrote:
    and i have 3com 2250 switch with enable snmp 2c and R/O community
    public:
    [CODE]
    [root@gw ~]# telnet localhost 4949
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    # munin node at gw.sintetic.local
    nodes
    192.168.27.17
    gw.sintetic.local
    .
    list 192.168.27.17
    snmp_192.168.27.17_if_1 snmp_192.168.27.17_if_10
    snmp_192.168.27.17_if_12
    ... skip ...
    snmp_192.168.27.17_if_err_8 snmp_192.168.27.17_if_err_9
    snmp_192.168.27.17_uptime
    fetch snmp_192.168.27.17_if_1
    recv.value 164770069838
    send.value 428905385436
    It would be far better if you referenced the switch by name (in dns or
    hosts file) instead of IP.
    snmp plugin on munin-node is working, but then i run " # su munin
    -c
    'munin-cron'" i dont see snmp on the graph =(
    You _must_ run munin-cron regularly from cron to obtain graphs.
    [root@gw ~]# perl
    /usr/local/etc/munin/plugins/snmp_192.168.27.17_if_1
    recv.value 164772434650
    send.value 428942569921
    [/CODE]
    Use munin-run, not like that. If that was in the snmp docs they need
    some fixing.

    Nicolai



    ------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://ad.doubleclick.net/clk;258768047;13503038;j?
    http://info.appdynamics.com/FreeJavaPerformanceDownload.html
    _______________________________________________
    munin-users mailing list
    munin-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/munin-users
  • Maxim Klyuev at Sep 27, 2012 at 1:28 pm
    I so was anxious with the competent description of a problem with my
    english that forgot to ask a question specifically. Problem in that all
    system in the console works as it is necessary. And graphics don't appear.
    On 09/27/2012 12:04 PM, Maxim Klyuev wrote:
    and i have 3com 2250 switch with enable snmp 2c and R/O community
    public:
    [CODE]
    [root@... ~]# telnet localhost 4949
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    # munin node at gw.sintetic.local
    nodes
    192.168.27.17
    gw.sintetic.local
    .
    list 192.168.27.17
    snmp_192.168.27.17_if_1 snmp_192.168.27.17_if_10
    snmp_192.168.27.17_if_12
    ... skip ...
    snmp_192.168.27.17_if_err_8 snmp_192.168.27.17_if_err_9
    snmp_192.168.27.17_uptime
    fetch snmp_192.168.27.17_if_1
    recv.value 164770069838
    send.value 428905385436
    It would be far better if you referenced the switch by name (in dns
    or hosts file) instead of IP.
    I too so think, but while so.
    snmp plugin on munin-node is working, but then i run " # su munin
    -c
    'munin-cron'" i dont see snmp on the graph =(
    You _must_ run munin-cron regularly from cron to obtain graphs.
    I know it, munin-cron ran for test.
    [root@... ~]# perl
    /usr/local/etc/munin/plugins/snmp_192.168.27.17_if_1
    recv.value 164772434650
    send.value 428942569921
    [/CODE]
    Use munin-run, not like that. If that was in the snmp docs they
    need some fixing.
    [root@gw ~]# munin-run snmp_192.168.27.17_if_10
    recv.value 14777290934
    send.value 581569796250

    it is ok. but graphs not appears (((

    cron:
    */5 * * * * /usr/local/bin/munin-cron


    ------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://ad.doubleclick.net/clk;258768047;13503038;j?
    http://info.appdynamics.com/FreeJavaPerformanceDownload.html
    _______________________________________________
    munin-users mailing list
    munin-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/munin-users
  • Maxim Klyuev at Sep 27, 2012 at 4:36 pm
    tail /var/log/munin/munin-update.log

    2012/09/27 20:16:00 [FATAL] Socket read from switch0 failed.
    Terminating process. at
    /usr/local/lib/perl5/site_perl/5.14.2/Munin/Master/UpdateWorker.pm line 394
    2012/09/27 20:16:00 [ERROR] Error in node communication with
    switch0/127.0.0.1:4949: [FATAL] Socket read from switch0 failed.
    Terminating process. at
    /usr/local/lib/perl5/site_perl/5.14.2/Munin/Master/UpdateWorker.pm line 394
    2012/09/27 20:16:00 [ERROR] Munin::Master::UpdateWorker<switch0;switch0>
    failed to connect to node
    2012/09/27 20:16:03 [INFO] Remaining workers: switch0;switch0
    2012/09/27 20:16:03 [INFO] Reaping
    Munin::Master::UpdateWorker<switch0;switch0>. Exit value/signal: 20/0
    2012/09/27 20:16:03 [INFO] No old data available for failed worker
    switch0;switch0. This node will disappear from the html web page hierarchy

    ------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://ad.doubleclick.net/clk;258768047;13503038;j?
    http://info.appdynamics.com/FreeJavaPerformanceDownload.html
    _______________________________________________
    munin-users mailing list
    munin-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/munin-users
  • Bjørn Ruberg at Sep 27, 2012 at 7:08 pm

    On 09/27/2012 06:34 PM, Maxim Klyuev wrote:
    tail /var/log/munin/munin-update.log

    2012/09/27 20:16:00 [FATAL] Socket read from switch0 failed.
    Terminating process. at
    /usr/local/lib/perl5/site_perl/5.14.2/Munin/Master/UpdateWorker.pm line 394
    2012/09/27 20:16:00 [ERROR] Error in node communication with
    switch0/127.0.0.1:4949: [FATAL] Socket read from switch0 failed.
    Please show your munin.conf section for switch0.

    --
    Bjørn


    ------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://ad.doubleclick.net/clk;258768047;13503038;j?
    http://info.appdynamics.com/FreeJavaPerformanceDownload.html
    _______________________________________________
    munin-users mailing list
    munin-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/munin-users
  • Nicolai Langfeldt at Sep 27, 2012 at 7:15 pm

    On 2012-09-27 18:34, Maxim Klyuev wrote:
    2012/09/27 20:16:00 [FATAL] Socket read from switch0 failed.
    Terminating process. at
    /usr/local/lib/perl5/site_perl/5.14.2/Munin/Master/UpdateWorker.pm
    line 394
    2012/09/27 20:16:00 [ERROR] Error in node communication with
    switch0/127.0.0.1:4949: [FATAL] Socket read from switch0 failed.
    Terminating process. at
    /usr/local/lib/perl5/site_perl/5.14.2/Munin/Master/UpdateWorker.pm
    line 394
    2012/09/27 20:16:00 [ERROR]
    Munin::Master::UpdateWorker<switch0;switch0>
    failed to connect to node
    2012/09/27 20:16:03 [INFO] Remaining workers: switch0;switch0
    2012/09/27 20:16:03 [INFO] Reaping
    Munin::Master::UpdateWorker<switch0;switch0>. Exit value/signal:
    20/0
    2012/09/27 20:16:03 [INFO] No old data available for failed worker
    switch0;switch0. This node will disappear from the html web page
    hierarchy
    How long does the plugin need to run?

    "time munin-run snmp_...."

    Nicolai


    ------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://ad.doubleclick.net/clk;258768047;13503038;j?
    http://info.appdynamics.com/FreeJavaPerformanceDownload.html
    _______________________________________________
    munin-users mailing list
    munin-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/munin-users
  • Steve Schnepp at Sep 27, 2012 at 7:14 pm

    Le 27 sept. 2012 21:09, "Nicolai Langfeldt" <janl@langfeldt.net> a écrit :
    "time munin-run snmp_...."
    Just a random idea, but it might be a very good idea to mix snmp with
    munin-async.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmunin-users @
categoriesmunin
postedSep 27, '12 at 10:07a
activeSep 27, '12 at 7:15p
posts7
users4
websitemunin-monitoring.org
irc#munin

People

Translate

site design / logo © 2018 Grokbase