OpenVZ Forum - RDF feed
type: channel
items: Munin: Extended Version for old system using user_beancounter.
items: Re: Munin: Extended Version for old system using user_beancounter.
items: [solved] Re: Munin: Extended Version for old system using user_beancounter.

Munin: Extended Version for old system using user_beancounter.
type: item
description: Hello, I got problems to get graphs with the wiki plugin for munin: http://wiki.openvz.org/Monitoring_openvz_resources_using_mun in How can I debug this? There are no *.png generated, but html files, without much content: $ lynx --dump /var/www/munin/localdomain/localhost.localdomain-vebc_numfile_privvmpages_lockedpages_001.html REFRESH(300 sec): [1]file://localhost/var/www/munin/localdomain/localhost.localdomain-ve bc_numfile_privvmpages_lockedpages_001.html [2]Overview :: [3]localdomain :: [4]localhost.localdomain :: vebc_numfile_privvmpages_lockedpages_001 _________________________________________________________________ daily graph weekly graph monthly graph yearly graph 'VE bean counters info' _________________________________________________________________ Field Internal name [5]Type Warn Crit [6]localdomain : This page was generated by [7]Munin version 1.2.5 at 2007-11-03 T 00:20:36 References 1. file://localhost/var/www/munin/localdomain/localhost.localdomain-vebc_numfile_privvmpages_lockedpages_001.html 2. file://localhost/var/www/munin/index.html 3. file://localhost/var/www/munin/localdomain/index.html 4. file://localhost/var/www/munin/localdomain/localhost.localdomain.html 5. file://localhost/var/www/munin/definitions.html#data_types 6. file://localhost/var/www/munin/localdomain/index.html 7. http://munin.sourceforge.net/ [...] [...] but, there are no png-files created: $ ls -l /var/www/munin/localdomain/localhost.localdomain-vebc_numfile_privvmpages_lockedpages_001*png ls: /var/www/munin/localdomain/localhost.localdomain-vebc_numfile_privvmpages_lockedpages_001*png: No such file or directory $ /usr/share/munin/munin-update --debug --nofork --stdout --host localhost.localdomain --service vebc_numfile_privvmpages_lockedpages_001 Nov 03 00:26:00 - [19831] Starting munin-update Nov 03 00:26:00 - [19831] Processing domain: localdomain Nov 03 00:26:00 - [19831] Processing node: localhost.localdomain Nov 03 00:26:00 - [19831] Configuring node: localhost.locald…
creator: floogy
date: 2007-11-02T23:37:20-00:00

Re: Munin: Extended Version for old system using user_beancounter.
type: item
description: I read this thread now http://sourceforge.net/mailarchive/forum.php?thread_name=468 93903.2010901%40nerim.net&forum_name=munin-users , and did this: munin-run Warning: Unknown config option in "/etc/munin/plugin-conf.d/munin-node" under "[vebc*]": env.config at /usr/sbin/munin-run line 619, <IN> line 19. [...] Use of uninitialized value in concatenation (.) or string at /usr/sbin/munin-run line 321. ERROR: Could not execute plugin (plugin doesn't exist?). less -N `which munin-run` [...] 619 warn "Warning: Unknown config option in \"$dir/$file\" under \"[$service]\": $_";[...] I commented that line in /etc/munin/plugin-conf.d/munin-node out: # env.config but I still get: [...] Use of uninitialized value in concatenation (.) or string at /usr/sbin/munin-run line 321. ERROR: Could not execute plugin (plugin doesn't exist?). less -N `which munin-run` [...] 321 next unless ($file =~ /^$ARGV[0]$/); I also tried to debug with telnet: # telnet localhost 4949 Trying 127.0.0.1... Connected to pv10.ncsrv.de. Escape character is '^]'. # munin node at pv10.ncsrv.de fetch vebc_numfile_privvmpages_lockedpages_001 . config vebc_numfile_privvmpages_lockedpages_001 # Unknown service . Connection closed by foreign host. Hmmm... it's an unknown service, why? $ /usr/share/munin/munin-update --debug --nofork --stdout --host foo.example.com --service vebc_numfile_privvmpages_lockedpages_001 Nov 03 17:38:43 - [22244] Starting munin-update Nov 03 17:38:43 - [22244] Processing domain: localdomain Skipping host "localhost.localdomain" - not in hostlist Nov 03 17:38:43 - [22244] Processed domain: localdomain (0.00 sec) Nov 03 17:38:43 - [22244] Munin-update finished (0.09 sec) $ /usr/sbin/munin-run vebc_numfile_privvmpages_lockedpages_001 config Warning: Unknown config option in "/etc/munin/plugin-conf.d/munin-node" under "[apache_accesses]": env.autoconf at /usr/sbin/munin-run line 619, <IN> line 12. graph_title beancounter for VE001: numfile privvmpages lockedpages graph_category VE001 graph…
creator: floogy
date: 2007-11-03T16:20:14-00:00

[solved] Re: Munin: Extended Version for old system using user_beancounter.
type: item
description: I managed to solve the problem: Quote: # su root -c "cat /proc/user_beancounters" Version: 2.5 uid resource held maxheld barrier limit failcnt 33189: kmemsize 4542834 5069947 12582912 14680064 0 lockedpages 255 255 344 344 189 privvmpages 49055 50262 65536 67072 142 I had to change every appearance of myid to uid, and rename the symlinks from *_001 to *_33189 mv /etc/munin/plugins/vebc_numfile_privvmpages_lockedpages_001 /etc/munin/plugins/vebc_numfile_privvmpages_lockedpages_33189 # /etc/munin/plugins/vebc_numfile_privvmpages_lockedpages_33189 config graph_title beancounter for VE33189: numfile privvmpages lockedpages graph_category VE33189 graph_info 'VE bean counters info' lockedpages.label lockedpages lockedpages.warning 344 lockedpages.critical 344 189 privvmpages.label privvmpages privvmpages.warning 65536 privvmpages.critical 67072 146 numfile.label numfile numfile.warning 2500 numfile.critical 2500 3982 kmemsize lockedpages lockedpages lockedpages.value 255 privvmpages lockedpages privvmpages.value 48871 shmpages lockedpages dummy lockedpages numproc lockedpages physpages lockedpages vmguarpages lockedpages oomguarpages lockedpages numtcpsock lockedpages numflock lockedpages numpty lockedpages numsiginfo lockedpages tcpsndbuf lockedpages tcprcvbuf lockedpages othersockbuf lockedpages dgramrcvbuf lockedpages numothersock lockedpages dcachesize lockedpages numfile lockedpages numfile.value 2197 dummy lockedpages dummy lockedpages dummy lockedpages numiptent lockedpages
creator: floogy
date: 2007-11-04T00:27:50-00:00