muninで正しくデータが取得できない時にはmuninサーバーへ直接telnetでつなぎ確認作業をする。
# telnet localhost 4949 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. # munin node at tokyo_server.company_a.com help # Unknown command. Try cap, list, nodes, config, fetch, version or quit nodes tokyo_1.company_a.com tokyo_2.company_a.com . list tokyo_1.company_a.com apache_accesses apache_processes apache_volume cpu df df_inode entropy forks fw_packets if_err_eth1 if_eth1 interrupts irqstats load memory netstat open_files open_inodes postfix_mailqueue postfix_mailvolume proc_pri processes swap threads uptime users vmstat
muninでの監視項目を個別に取得する場合にはmunin-runを利用する。
[root@localhost sbin]# munin-run cpu user.value 591681 nice.value 247240 system.value 491652 idle.value 611314174 iowait.value 142604 irq.value 14972 softirq.value 17624 steal.value 0 guest.value 0
ログ情報を確認する。
muninでは下記のログを利用できる。
- /var/log/munin
- /var/log/munin-nodeを参照