Harnau, Sebastian
2010-01-13 16:46:30 UTC
Hello,
i tried to build munin 1.4.3 for SLES 10 / 11 manually from sources and
i thought it went fine:
munin server behaves as it should behave, but munin-node seems to be
broken.
I can run the plugins via munin-run without any problems:
lx1016:/usr/lib/munin/plugins # munin-run cpu
user.value 65941756
nice.value 101256810
system.value 15934643
idle.value 385659485
iowait.value 42223921
irq.value 174098
softirq.value 641320
steal.value 0
But when i try to communicate via telnet with munin-node it doesn't
work:
lx1016:/usr/lib/munin/plugins # telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at lx1016.iv.local
list
acpi bonding_err_bond0 cpu df df_inode entropy forks fw_packets
http_loadtime if_bond0 if_err_bond0 if_err_eth0 if_err_eth1 if_eth0
if_eth1 interrupts iostat iostat_ios irqstats linux_diskstat_iops_sda
linux_diskstat_iops_sdb linux_diskstat_latency_sda
linux_diskstat_latency_sdb linux_diskstat_throughput_sda
linux_diskstat_throughput_sdb load memory munin_stats netstat nfsd nfsd4
open_files open_inodes postfix_mailqueue postfix_mailvolume proc_pri
processes swap threads uptime users vmstat
nodes
lx1016.iv.local
.
fetch cpu
#.
There isn't any output for the listed plugins.
I followed the instructions in the wiki and activated debugmode for the
node. Then i found in the node's logfile:
2010/01/13-17:30:04 [5287] DEBUG: < fetch cpu
2010/01/13-17:30:04 [5287] DEBUG: Running command "fetch cpu".
2010/01/13-17:30:04 [5287] Error output from cpu:
2010/01/13-17:30:04 [5287] # Set /rgid/ruid/egid/euid/ to
/107/65534/107 107 /65534/
2010/01/13-17:30:04 [5287] # Setting up environment
2010/01/13-17:30:04 [5287] # About to run '/etc/munin/plugins/cpu'
I haven't found the part in the source which produces the wrong output
so I'm not able to unterstand why running the plugins over telnet -->
munin-node has other output than running plugins via munin-run or
directly via shell:
lx1016:/usr/lib/munin/plugins # /etc/munin/plugins/cpu
user.value 65949345
nice.value 101267226
system.value 15937120
idle.value 385712241
iowait.value 42225806
irq.value 174114
softirq.value 641389
steal.value 0
I would be happy if someone could give me a hint where to find the
problem in my scenario...
Thanks a lot, Sebastian.
_____________________________________________________________________
IVI Informationsverarbeitungs GmbH
Itzehoer Platz, 25524 Itzehoe
Geschäftsführer: Uwe Müller, Stefan Schwalbach.
Sitz: Itzehoe, Registergericht: Amtsgericht Pinneberg
HRB 2073 IZ, Ust.-ID-Nr. DE 134 777 598
_____________________________________________________________________
i tried to build munin 1.4.3 for SLES 10 / 11 manually from sources and
i thought it went fine:
munin server behaves as it should behave, but munin-node seems to be
broken.
I can run the plugins via munin-run without any problems:
lx1016:/usr/lib/munin/plugins # munin-run cpu
user.value 65941756
nice.value 101256810
system.value 15934643
idle.value 385659485
iowait.value 42223921
irq.value 174098
softirq.value 641320
steal.value 0
But when i try to communicate via telnet with munin-node it doesn't
work:
lx1016:/usr/lib/munin/plugins # telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at lx1016.iv.local
list
acpi bonding_err_bond0 cpu df df_inode entropy forks fw_packets
http_loadtime if_bond0 if_err_bond0 if_err_eth0 if_err_eth1 if_eth0
if_eth1 interrupts iostat iostat_ios irqstats linux_diskstat_iops_sda
linux_diskstat_iops_sdb linux_diskstat_latency_sda
linux_diskstat_latency_sdb linux_diskstat_throughput_sda
linux_diskstat_throughput_sdb load memory munin_stats netstat nfsd nfsd4
open_files open_inodes postfix_mailqueue postfix_mailvolume proc_pri
processes swap threads uptime users vmstat
nodes
lx1016.iv.local
.
fetch cpu
#.
There isn't any output for the listed plugins.
I followed the instructions in the wiki and activated debugmode for the
node. Then i found in the node's logfile:
2010/01/13-17:30:04 [5287] DEBUG: < fetch cpu
2010/01/13-17:30:04 [5287] DEBUG: Running command "fetch cpu".
2010/01/13-17:30:04 [5287] Error output from cpu:
2010/01/13-17:30:04 [5287] # Set /rgid/ruid/egid/euid/ to
/107/65534/107 107 /65534/
2010/01/13-17:30:04 [5287] # Setting up environment
2010/01/13-17:30:04 [5287] # About to run '/etc/munin/plugins/cpu'
I haven't found the part in the source which produces the wrong output
so I'm not able to unterstand why running the plugins over telnet -->
munin-node has other output than running plugins via munin-run or
directly via shell:
lx1016:/usr/lib/munin/plugins # /etc/munin/plugins/cpu
user.value 65949345
nice.value 101267226
system.value 15937120
idle.value 385712241
iowait.value 42225806
irq.value 174114
softirq.value 641389
steal.value 0
I would be happy if someone could give me a hint where to find the
problem in my scenario...
Thanks a lot, Sebastian.
_____________________________________________________________________
IVI Informationsverarbeitungs GmbH
Itzehoer Platz, 25524 Itzehoe
Geschäftsführer: Uwe Müller, Stefan Schwalbach.
Sitz: Itzehoe, Registergericht: Amtsgericht Pinneberg
HRB 2073 IZ, Ust.-ID-Nr. DE 134 777 598
_____________________________________________________________________