From: Maxim K. <ma...@it...> - 2012-09-27 10:04:49
|
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!! |