From: Rob S. <r.s...@hr...> - 2011-04-27 16:01:11
|
Hi All, I'm sure I'm just missing something obvious or getting the syntax slightly wrong, but I'm blind to it now! Can anyone offer some help to create custom charts from data collected from SNMP plugins? What I'm trying to do is get a quick picture of CPU usage of a few servers. Simple with Linux servers, as shown below. However when I try using data from SNMP for Windows boxes I haven't managed to get any custom charts to be drawn. Just to clarify, each server does show the default charts correctly so SNMP data collection is working. It's just sums and any other custom charts that I'm struggling with. I think the critical line might be this (pulled out from below): wincpu.W1.sum \ W1.domain.tld:snmp_W1_domain_tld_cpuload.cpu3 \ W1.domain.tld:snmp_W1_domain_tld_cpuload.cpu4 Note, cpu3 and cpu4 are the `internal names` given for the W1's individual CPU usage chart. Though I've also tried 'cpu', 'cpu1', and 'cpu2' with no success. So, can anyone identify the cause of the problem I'm having? I suspect it's just syntax of the above line, but it might be that I'm completely off track! I've pasted some relevant info below - extract from munin.conf, list of SNMP plugins in /etc/munin/plugins, munin-graph.log file and some system info. If there's anything else that might help, please let me know! Many thanks for reading and for any help you can offer Rob File: /etc/munin.conf ###Windows [W1.domain.tld] address 127.0.0.1 [W2.domain.tld] address 127.0.0.1 ###Linux servers: [L1.domain.tld] address 1.2.3.1 use_node_name yes [L2.domain.tld] address 1.2.3.2 use_node_name yes [domain.tld;Totals] update no ###Windows summary chart wincpu.graph_title Windows server CPU% Summary wincpu.W1.label Win 1 wincpu.W1.sum \ W1.domain.tld:snmp_W1_domain_tld_cpuload.cpu3 \ W1.domain.tld:snmp_W1_domain_tld_cpuload.cpu4 ###Linux summary chart linuxcpu.graph_title Linux server CPU% Summary linuxcpu.L1.label Linux 1 linuxcpu.L1.sum L1.domain.tld:cpu.user L1.domain.tld:cpu.system linuxcpu.L2.label Linux 2 linuxcpu.L2.sum L2.domain.tld:cpu.user L2.domain.tld:cpu.system SNMP Plugins in /etc/munin/plugins: W1.domain.tld_cpuload -> /usr/share/munin/plugins/snmp__cpuload W1.domain.tld_df -> /usr/share/munin/plugins/snmp__df W1.domain.tld_if_2 -> /usr/share/munin/plugins/snmp__if_ W1.domain.tld_if_err_2 -> /usr/share/munin/plugins/snmp__if_err_ W1.domain.tld_memory -> /usr/share/munin/plugins/snmp__memory W1.domain.tld_netapp_diskusage_ -> /usr/share/munin/plugins/snmp__netapp_diskusage_ W1.domain.tld_processes -> /usr/share/munin/plugins/snmp__processes W1.domain.tld_uptime -> /usr/share/munin/plugins/snmp__uptime W1.domain.tld_users -> /usr/share/munin/plugins/snmp__users W2.domain.tld_cpuload -> /usr/share/munin/plugins/snmp__cpuload W2.domain.tld_df -> /usr/share/munin/plugins/snmp__df W2.domain.tld_if_2 -> /usr/share/munin/plugins/snmp__if_ W2.domain.tld_if_err_2 -> /usr/share/munin/plugins/snmp__if_err_ W2.domain.tld_memory -> /usr/share/munin/plugins/snmp__memory W2.domain.tld_netapp_diskusage_ -> /usr/share/munin/plugins/snmp__netapp_diskusage_ W2.domain.tld_processes -> /usr/share/munin/plugins/snmp__processes W2.domain.tld_uptime -> /usr/share/munin/plugins/snmp__uptime W2.domain.tld_users -> /usr/share/munin/plugins/snmp__users file: /var/log/munin/munin-graph.log 2011/04/27 15:50:48 [PERL WARNING] print() on closed filehandle $STATS at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 1290. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 757. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 774. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 783. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 785. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 786. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 757. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 774. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 783. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 785. 2011/04/27 15:50:48 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Munin/Master/GraphOld.pm line 786. 2011/04/27 15:50:48 [RRD ERROR] Unable to graph /var/www/html/munin/hrw-uk.local/Totals/wincpu-month.png : opening '': No such file or directory 2011/04/27 15:50:48 [RRD ERROR] Unable to graph /var/www/html/munin/hrw-uk.local/Totals/wincpu-week.png : opening '': No such file or directory 2011/04/27 15:50:48 [RRD ERROR] Unable to graph /var/www/html/munin/hrw-uk.local/Totals/wincpu-day.png : opening '': No such file or directory 2011/04/27 15:50:48 [RRD ERROR] Unable to graph /var/www/html/munin/hrw-uk.local/Totals/wincpu-year.png : opening '': No such file or directory 2011/04/27 15:50:48 Graphed service : wincpu (0.02 sec * 4) System info: x86_64 / CentOS 55 ( 2.6.18-194.26.1.el5 ) Munin / munin-node version 1.4.5-5.el5 ________________________________ HR Wallingford uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them. If you have received this message in error please advise us immediately and destroy all copies of it. HR Wallingford Limited Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom Registered in England No. 02562099 ________________________________ |