Hi All,
I was hoping someone would have insight into what I'm doing to cause a
problem I'm having here... ;)
I have Ganglia 3.1.2 installed on OpenSolaris 2009.06, I installed it
from the OpenSolaris "contrib" repository. I'm just running gmond,
reporting to another gmetad on a linux box nearby. The gmond.conf is
the stock one that came with the package, the only mods I made were the
cluster name and multicast send/receive channels.
It mostly works, but some metrics are not being reported, as in, the
graphs exist but are empty (they just report 0.00 for those metrics).
Specifically, none of the disk metrics are working and some of the
memory metrics aren't working (Memory Buffers, Cached Memory, Shared
Memory). Nearly all the other metrics work like a charm and report
correctly.
Here's my config file, it it helps at all (99% of this is stock from the
config file that came with the package from the repo). After that, I've
posted some debug output from gmond:
----------
globals {
daemonize = yes
setuid = yes
user = nobody
debug_level = 0
max_udp_msg_len = 1472
mute = no
deaf = no
allow_extra_data = yes
host_dmax = 7200 /*secs */
cleanup_threshold = 300 /*secs */
gexec = no
send_metadata_interval = 0
}
cluster {
name = "Servers"
owner = "Our Group"
}
host {
location = "unspecified"
}
udp_send_channel {
mcast_join = 211.2.11.71
port = 8149
ttl = 1
}
udp_send_channel {
host = 168.14.48.122
port = 8649
}
udp_recv_channel {
port = 8649
}
tcp_accept_channel {
port = 8649
}
modules {
module {
name = "core_metrics"
}
module {
name = "cpu_module"
path = "modcpu.so"
}
module {
name = "disk_module"
path = "moddisk.so"
}
module {
name = "load_module"
path = "modload.so"
}
module {
name = "mem_module"
path = "modmem.so"
}
module {
name = "net_module"
path = "modnet.so"
}
module {
name = "proc_module"
path = "modproc.so"
}
module {
name = "sys_module"
path = "modsys.so"
}
}
include ('/etc/ganglia/conf.d/*.conf')
collection_group {
collect_once = yes
time_threshold = 20
metric {
name = "heartbeat"
}
}
collection_group {
collect_once = yes
time_threshold = 1200
metric {
name = "cpu_num"
title = "CPU Count"
}
metric {
name = "cpu_speed"
title = "CPU Speed"
}
metric {
name = "mem_total"
title = "Memory Total"
}
metric {
name = "swap_total"
title = "Swap Space Total"
}
metric {
name = "boottime"
title = "Last Boot Time"
}
metric {
name = "machine_type"
title = "Machine Type"
}
metric {
name = "os_name"
title = "Operating System"
}
metric {
name = "os_release"
title = "Operating System Release"
}
metric {
name = "location"
title = "Location"
}
}
collection_group {
collect_once = yes
time_threshold = 300
metric {
name = "gexec"
title = "Gexec Status"
}
}
collection_group {
collect_every = 20
time_threshold = 90
/* CPU status */
metric {
name = "cpu_user"
value_threshold = "1.0"
title = "CPU User"
}
metric {
name = "cpu_system"
value_threshold = "1.0"
title = "CPU System"
}
metric {
name = "cpu_idle"
value_threshold = "5.0"
title = "CPU Idle"
}
metric {
name = "cpu_nice"
value_threshold = "1.0"
title = "CPU Nice"
}
metric {
name = "cpu_aidle"
value_threshold = "5.0"
title = "CPU aidle"
}
metric {
name = "cpu_wio"
value_threshold = "1.0"
title = "CPU wio"
}
}
collection_group {
collect_every = 20
time_threshold = 90
/* Load Averages */
metric {
name = "load_one"
value_threshold = "1.0"
title = "One Minute Load Average"
}
metric {
name = "load_five"
value_threshold = "1.0"
title = "Five Minute Load Average"
}
metric {
name = "load_fifteen"
value_threshold = "1.0"
title = "Fifteen Minute Load Average"
}
}
collection_group {
collect_every = 80
time_threshold = 950
metric {
name = "proc_run"
value_threshold = "1.0"
title = "Total Running Processes"
}
metric {
name = "proc_total"
value_threshold = "1.0"
title = "Total Processes"
}
}
collection_group {
collect_every = 40
time_threshold = 180
metric {
name = "mem_free"
value_threshold = 1024.0
title = "Free Memory"
}
metric {
name = "mem_shared"
value_threshold = 1024.0
title = "Shared Memory"
}
metric {
name = "mem_buffers"
value_threshold = 1024.0
title = "Memory Buffers"
}
metric {
name = "mem_cached"
value_threshold = 1024.0
title = "Cached Memory"
}
metric {
name = "swap_free"
value_threshold = 1024.0
title = "Free Swap Space"
}
}
collection_group {
collect_every = 40
time_threshold = 300
metric {
name = "bytes_out"
value_threshold = 4096
title = "Bytes Sent"
}
metric {
name = "bytes_in"
value_threshold = 4096
title = "Bytes Received"
}
metric {
name = "pkts_in"
value_threshold = 256
title = "Packets Received"
}
metric {
name = "pkts_out"
value_threshold = 256
title = "Packets Sent"
}
}
collection_group {
collect_every = 1800
time_threshold = 3600
metric {
name = "disk_total"
value_threshold = 1.0
title = "Total Disk Space"
}
}
collection_group {
collect_every = 40
time_threshold = 180
metric {
name = "disk_free"
value_threshold = 1.0
title = "Disk Space Available"
}
metric {
name = "part_max_used"
value_threshold = 1.0
title = "Maximum Disk Space Used"
}
}
/* solaris specific metrics begin */
collection_group {
collect_every = 20
time_threshold = 90
metric {
name = "rcache"
value_threshold = 1.0
}
metric {
name = "wcache"
value_threshold = 1.0
}
metric {
name = "bread_sec"
value_threshold = 1.0
}
metric {
name = "bwrite_sec"
value_threshold = 1.0
}
metric {
name = "lread_sec"
value_threshold = 1.0
}
metric {
name = "lwrite_sec"
value_threshold = 1.0
}
metric {
name = "phread_sec"
value_threshold = 1.0
}
metric {
name = "phwrite_sec"
value_threshold = 1.0
}
}
/* end solaris specific metrics */
----------
From what folks tell me, all the metrics in this package should work on
OpenSolaris, since it worked in their test environment and I got the
package from their repo. Can anyone see what some metrics are not being
reported correctly?
Also, here's some debug output from gmond, note that the disk metrics
are just all zeros:
r...@server:/etc/ganglia# /usr/ganglia/sbin/gmond --debug=10 -c
/etc/ganglia/gmond.conf
loaded module: core_metrics
loaded module: cpu_module
loaded module: disk_module
loaded module: load_module
loaded module: mem_module
loaded module: net_module
loaded module: proc_module
loaded module: sys_module
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='ncpus'
ncpus: kc is 8096668
ncpus: Just did kstat_lookup().
ncpus: Looked up.
ncpus: Kstat data type: 2, Value returned: 12, 12 12 12
ncpus: Kernel close. Val returned: 12
metric_init: Assigning cpu_num value (12) to ncpus.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='boot_time'
boot_time: kc is 8096668
boot_time: Just did kstat_lookup().
boot_time: Looked up.
boot_time: Kstat data type: 2, Value returned: 1273704346, 1273704346
1273704346 1273704346
boot_time: Kernel close. Val returned: 1273704346
Lookup up kstat: km (unix?)='cpu_info', ks
(system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz'
clock_MHz: kc is 8096668
clock_MHz: Just did kstat_lookup().
clock_MHz: Looked up.
clock_MHz: Kstat data type: 1, Value returned: 2600, 2600 2600 2600
clock_MHz: Kernel close. Val returned: 2600
running update_metric_data() ...
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_15min'
avenrun_15min: kc is 8096668
avenrun_15min: Just did kstat_lookup().
avenrun_15min: Looked up.
avenrun_15min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_15min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_5min'
avenrun_5min: kc is 8096668
avenrun_5min: Just did kstat_lookup().
avenrun_5min: Looked up.
avenrun_5min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_5min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_1min'
avenrun_1min: kc is 8096668
avenrun_1min: Just did kstat_lookup().
avenrun_1min: Looked up.
avenrun_1min: Kstat data type: 2, Value returned: 33, 33 33 33
avenrun_1min: Kernel close. Val returned: 33
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='nproc'
nproc: kc is 8096668
nproc: Just did kstat_lookup().
nproc: Looked up.
nproc: Kstat data type: 2, Value returned: 67, 67 67 67
nproc: Kernel close. Val returned: 67
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagesfree'
pagesfree: kc is 8096668
pagesfree: Just did kstat_lookup().
pagesfree: Looked up.
pagesfree: Kstat data type: 2, Value returned: 5279362, 5279362 5279362
5279362
pagesfree: Kernel close. Val returned: 5279362
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagestotal'
pagestotal: kc is 8096668
pagestotal: Just did kstat_lookup().
pagestotal: Looked up.
pagestotal: Kstat data type: 2, Value returned: 33552203, 33552203
33552203 33552203
pagestotal: Kernel close. Val returned: 33552203
Before PageToK(): mem_free = 5279362, mem_total = 33552203
PageToK(): 5279362 * PAGESIZE (4096) / 1024 (Kb conversion) = 21117448
PageToK(): 33552203 * PAGESIZE (4096) / 1024 (Kb conversion) = 134208812
PageToK(): 3228180 * PAGESIZE (4096) / 1024 (Kb conversion) = 12912720
PageToK(): 3185339 * PAGESIZE (4096) / 1024 (Kb conversion) = 12741356
Old/new: Total = 3228180/12912720 , Free = 3185339/12741356
solaris.c: metric_init() ok.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='ncpus'
ncpus: kc is 8096668
ncpus: Just did kstat_lookup().
ncpus: Looked up.
ncpus: Kstat data type: 2, Value returned: 12, 12 12 12
ncpus: Kernel close. Val returned: 12
metric_init: Assigning cpu_num value (12) to ncpus.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='boot_time'
boot_time: kc is 8096668
boot_time: Just did kstat_lookup().
boot_time: Looked up.
boot_time: Kstat data type: 2, Value returned: 1273704346, 1273704346
1273704346 1273704346
boot_time: Kernel close. Val returned: 1273704346
Lookup up kstat: km (unix?)='cpu_info', ks
(system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz'
clock_MHz: kc is 8096668
clock_MHz: Just did kstat_lookup().
clock_MHz: Looked up.
clock_MHz: Kstat data type: 1, Value returned: 2600, 2600 2600 2600
clock_MHz: Kernel close. Val returned: 2600
running update_metric_data() ...
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_15min'
avenrun_15min: kc is 8096668
avenrun_15min: Just did kstat_lookup().
avenrun_15min: Looked up.
avenrun_15min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_15min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_5min'
avenrun_5min: kc is 8096668
avenrun_5min: Just did kstat_lookup().
avenrun_5min: Looked up.
avenrun_5min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_5min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_1min'
avenrun_1min: kc is 8096668
avenrun_1min: Just did kstat_lookup().
avenrun_1min: Looked up.
avenrun_1min: Kstat data type: 2, Value returned: 33, 33 33 33
avenrun_1min: Kernel close. Val returned: 33
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='nproc'
nproc: kc is 8096668
nproc: Just did kstat_lookup().
nproc: Looked up.
nproc: Kstat data type: 2, Value returned: 67, 67 67 67
nproc: Kernel close. Val returned: 67
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagesfree'
pagesfree: kc is 8096668
pagesfree: Just did kstat_lookup().
pagesfree: Looked up.
pagesfree: Kstat data type: 2, Value returned: 5279356, 5279356 5279356
5279356
pagesfree: Kernel close. Val returned: 5279356
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagestotal'
pagestotal: kc is 8096668
pagestotal: Just did kstat_lookup().
pagestotal: Looked up.
pagestotal: Kstat data type: 2, Value returned: 33552203, 33552203
33552203 33552203
pagestotal: Kernel close. Val returned: 33552203
Before PageToK(): mem_free = 5279356, mem_total = 33552203
PageToK(): 5279356 * PAGESIZE (4096) / 1024 (Kb conversion) = 21117424
PageToK(): 33552203 * PAGESIZE (4096) / 1024 (Kb conversion) = 134208812
PageToK(): 3228180 * PAGESIZE (4096) / 1024 (Kb conversion) = 12912720
PageToK(): 3185339 * PAGESIZE (4096) / 1024 (Kb conversion) = 12741356
Old/new: Total = 3228180/12912720 , Free = 3185339/12741356
solaris.c: metric_init() ok.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='ncpus'
ncpus: kc is 8096668
ncpus: Just did kstat_lookup().
ncpus: Looked up.
ncpus: Kstat data type: 2, Value returned: 12, 12 12 12
ncpus: Kernel close. Val returned: 12
metric_init: Assigning cpu_num value (12) to ncpus.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='boot_time'
boot_time: kc is 8096668
boot_time: Just did kstat_lookup().
boot_time: Looked up.
boot_time: Kstat data type: 2, Value returned: 1273704346, 1273704346
1273704346 1273704346
boot_time: Kernel close. Val returned: 1273704346
Lookup up kstat: km (unix?)='cpu_info', ks
(system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz'
clock_MHz: kc is 8096668
clock_MHz: Just did kstat_lookup().
clock_MHz: Looked up.
clock_MHz: Kstat data type: 1, Value returned: 2600, 2600 2600 2600
clock_MHz: Kernel close. Val returned: 2600
running update_metric_data() ...
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_15min'
avenrun_15min: kc is 8096668
avenrun_15min: Just did kstat_lookup().
avenrun_15min: Looked up.
avenrun_15min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_15min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_5min'
avenrun_5min: kc is 8096668
avenrun_5min: Just did kstat_lookup().
avenrun_5min: Looked up.
avenrun_5min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_5min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_1min'
avenrun_1min: kc is 8096668
avenrun_1min: Just did kstat_lookup().
avenrun_1min: Looked up.
avenrun_1min: Kstat data type: 2, Value returned: 33, 33 33 33
avenrun_1min: Kernel close. Val returned: 33
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='nproc'
nproc: kc is 8096668
nproc: Just did kstat_lookup().
nproc: Looked up.
nproc: Kstat data type: 2, Value returned: 67, 67 67 67
nproc: Kernel close. Val returned: 67
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagesfree'
pagesfree: kc is 8096668
pagesfree: Just did kstat_lookup().
pagesfree: Looked up.
pagesfree: Kstat data type: 2, Value returned: 5279366, 5279366 5279366
5279366
pagesfree: Kernel close. Val returned: 5279366
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagestotal'
pagestotal: kc is 8096668
pagestotal: Just did kstat_lookup().
pagestotal: Looked up.
pagestotal: Kstat data type: 2, Value returned: 33552203, 33552203
33552203 33552203
pagestotal: Kernel close. Val returned: 33552203
Before PageToK(): mem_free = 5279366, mem_total = 33552203
PageToK(): 5279366 * PAGESIZE (4096) / 1024 (Kb conversion) = 21117464
PageToK(): 33552203 * PAGESIZE (4096) / 1024 (Kb conversion) = 134208812
PageToK(): 3228180 * PAGESIZE (4096) / 1024 (Kb conversion) = 12912720
PageToK(): 3185339 * PAGESIZE (4096) / 1024 (Kb conversion) = 12741356
Old/new: Total = 3228180/12912720 , Free = 3185339/12741356
solaris.c: metric_init() ok.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='ncpus'
ncpus: kc is 8096668
ncpus: Just did kstat_lookup().
ncpus: Looked up.
ncpus: Kstat data type: 2, Value returned: 12, 12 12 12
ncpus: Kernel close. Val returned: 12
metric_init: Assigning cpu_num value (12) to ncpus.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='boot_time'
boot_time: kc is 8096668
boot_time: Just did kstat_lookup().
boot_time: Looked up.
boot_time: Kstat data type: 2, Value returned: 1273704346, 1273704346
1273704346 1273704346
boot_time: Kernel close. Val returned: 1273704346
Lookup up kstat: km (unix?)='cpu_info', ks
(system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz'
clock_MHz: kc is 8096668
clock_MHz: Just did kstat_lookup().
clock_MHz: Looked up.
clock_MHz: Kstat data type: 1, Value returned: 2600, 2600 2600 2600
clock_MHz: Kernel close. Val returned: 2600
running update_metric_data() ...
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_15min'
avenrun_15min: kc is 8096668
avenrun_15min: Just did kstat_lookup().
avenrun_15min: Looked up.
avenrun_15min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_15min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_5min'
avenrun_5min: kc is 8096668
avenrun_5min: Just did kstat_lookup().
avenrun_5min: Looked up.
avenrun_5min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_5min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_1min'
avenrun_1min: kc is 8096668
avenrun_1min: Just did kstat_lookup().
avenrun_1min: Looked up.
avenrun_1min: Kstat data type: 2, Value returned: 33, 33 33 33
avenrun_1min: Kernel close. Val returned: 33
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='nproc'
nproc: kc is 8096668
nproc: Just did kstat_lookup().
nproc: Looked up.
nproc: Kstat data type: 2, Value returned: 67, 67 67 67
nproc: Kernel close. Val returned: 67
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagesfree'
pagesfree: kc is 8096668
pagesfree: Just did kstat_lookup().
pagesfree: Looked up.
pagesfree: Kstat data type: 2, Value returned: 5279362, 5279362 5279362
5279362
pagesfree: Kernel close. Val returned: 5279362
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagestotal'
pagestotal: kc is 8096668
pagestotal: Just did kstat_lookup().
pagestotal: Looked up.
pagestotal: Kstat data type: 2, Value returned: 33552203, 33552203
33552203 33552203
pagestotal: Kernel close. Val returned: 33552203
Before PageToK(): mem_free = 5279362, mem_total = 33552203
PageToK(): 5279362 * PAGESIZE (4096) / 1024 (Kb conversion) = 21117448
PageToK(): 33552203 * PAGESIZE (4096) / 1024 (Kb conversion) = 134208812
PageToK(): 3228180 * PAGESIZE (4096) / 1024 (Kb conversion) = 12912720
PageToK(): 3185339 * PAGESIZE (4096) / 1024 (Kb conversion) = 12741356
Old/new: Total = 3228180/12912720 , Free = 3185339/12741356
solaris.c: metric_init() ok.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='ncpus'
ncpus: kc is 8096668
ncpus: Just did kstat_lookup().
ncpus: Looked up.
ncpus: Kstat data type: 2, Value returned: 12, 12 12 12
ncpus: Kernel close. Val returned: 12
metric_init: Assigning cpu_num value (12) to ncpus.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='boot_time'
boot_time: kc is 8096668
boot_time: Just did kstat_lookup().
boot_time: Looked up.
boot_time: Kstat data type: 2, Value returned: 1273704346, 1273704346
1273704346 1273704346
boot_time: Kernel close. Val returned: 1273704346
Lookup up kstat: km (unix?)='cpu_info', ks
(system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz'
clock_MHz: kc is 8096668
clock_MHz: Just did kstat_lookup().
clock_MHz: Looked up.
clock_MHz: Kstat data type: 1, Value returned: 2600, 2600 2600 2600
clock_MHz: Kernel close. Val returned: 2600
running update_metric_data() ...
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_15min'
avenrun_15min: kc is 8096668
avenrun_15min: Just did kstat_lookup().
avenrun_15min: Looked up.
avenrun_15min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_15min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_5min'
avenrun_5min: kc is 8096668
avenrun_5min: Just did kstat_lookup().
avenrun_5min: Looked up.
avenrun_5min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_5min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_1min'
avenrun_1min: kc is 8096668
avenrun_1min: Just did kstat_lookup().
avenrun_1min: Looked up.
avenrun_1min: Kstat data type: 2, Value returned: 33, 33 33 33
avenrun_1min: Kernel close. Val returned: 33
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='nproc'
nproc: kc is 8096668
nproc: Just did kstat_lookup().
nproc: Looked up.
nproc: Kstat data type: 2, Value returned: 67, 67 67 67
nproc: Kernel close. Val returned: 67
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagesfree'
pagesfree: kc is 8096668
pagesfree: Just did kstat_lookup().
pagesfree: Looked up.
pagesfree: Kstat data type: 2, Value returned: 5279357, 5279357 5279357
5279357
pagesfree: Kernel close. Val returned: 5279357
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagestotal'
pagestotal: kc is 8096668
pagestotal: Just did kstat_lookup().
pagestotal: Looked up.
pagestotal: Kstat data type: 2, Value returned: 33552203, 33552203
33552203 33552203
pagestotal: Kernel close. Val returned: 33552203
Before PageToK(): mem_free = 5279357, mem_total = 33552203
PageToK(): 5279357 * PAGESIZE (4096) / 1024 (Kb conversion) = 21117428
PageToK(): 33552203 * PAGESIZE (4096) / 1024 (Kb conversion) = 134208812
PageToK(): 3228180 * PAGESIZE (4096) / 1024 (Kb conversion) = 12912720
PageToK(): 3185339 * PAGESIZE (4096) / 1024 (Kb conversion) = 12741356
Old/new: Total = 3228180/12912720 , Free = 3185339/12741356
solaris.c: metric_init() ok.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='ncpus'
ncpus: kc is 8096668
ncpus: Just did kstat_lookup().
ncpus: Looked up.
ncpus: Kstat data type: 2, Value returned: 12, 12 12 12
ncpus: Kernel close. Val returned: 12
metric_init: Assigning cpu_num value (12) to ncpus.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='boot_time'
boot_time: kc is 8096668
boot_time: Just did kstat_lookup().
boot_time: Looked up.
boot_time: Kstat data type: 2, Value returned: 1273704346, 1273704346
1273704346 1273704346
boot_time: Kernel close. Val returned: 1273704346
Lookup up kstat: km (unix?)='cpu_info', ks
(system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz'
clock_MHz: kc is 8096668
clock_MHz: Just did kstat_lookup().
clock_MHz: Looked up.
clock_MHz: Kstat data type: 1, Value returned: 2600, 2600 2600 2600
clock_MHz: Kernel close. Val returned: 2600
running update_metric_data() ...
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_15min'
avenrun_15min: kc is 8096668
avenrun_15min: Just did kstat_lookup().
avenrun_15min: Looked up.
avenrun_15min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_15min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_5min'
avenrun_5min: kc is 8096668
avenrun_5min: Just did kstat_lookup().
avenrun_5min: Looked up.
avenrun_5min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_5min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_1min'
avenrun_1min: kc is 8096668
avenrun_1min: Just did kstat_lookup().
avenrun_1min: Looked up.
avenrun_1min: Kstat data type: 2, Value returned: 33, 33 33 33
avenrun_1min: Kernel close. Val returned: 33
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='nproc'
nproc: kc is 8096668
nproc: Just did kstat_lookup().
nproc: Looked up.
nproc: Kstat data type: 2, Value returned: 67, 67 67 67
nproc: Kernel close. Val returned: 67
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagesfree'
pagesfree: kc is 8096668
pagesfree: Just did kstat_lookup().
pagesfree: Looked up.
pagesfree: Kstat data type: 2, Value returned: 5279354, 5279354 5279354
5279354
pagesfree: Kernel close. Val returned: 5279354
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagestotal'
pagestotal: kc is 8096668
pagestotal: Just did kstat_lookup().
pagestotal: Looked up.
pagestotal: Kstat data type: 2, Value returned: 33552203, 33552203
33552203 33552203
pagestotal: Kernel close. Val returned: 33552203
Before PageToK(): mem_free = 5279354, mem_total = 33552203
PageToK(): 5279354 * PAGESIZE (4096) / 1024 (Kb conversion) = 21117416
PageToK(): 33552203 * PAGESIZE (4096) / 1024 (Kb conversion) = 134208812
PageToK(): 3228180 * PAGESIZE (4096) / 1024 (Kb conversion) = 12912720
PageToK(): 3185339 * PAGESIZE (4096) / 1024 (Kb conversion) = 12741356
Old/new: Total = 3228180/12912720 , Free = 3185339/12741356
solaris.c: metric_init() ok.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='ncpus'
ncpus: kc is 8096668
ncpus: Just did kstat_lookup().
ncpus: Looked up.
ncpus: Kstat data type: 2, Value returned: 12, 12 12 12
ncpus: Kernel close. Val returned: 12
metric_init: Assigning cpu_num value (12) to ncpus.
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='boot_time'
boot_time: kc is 8096668
boot_time: Just did kstat_lookup().
boot_time: Looked up.
boot_time: Kstat data type: 2, Value returned: 1273704346, 1273704346
1273704346 1273704346
boot_time: Kernel close. Val returned: 1273704346
Lookup up kstat: km (unix?)='cpu_info', ks
(system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz'
clock_MHz: kc is 8096668
clock_MHz: Just did kstat_lookup().
clock_MHz: Looked up.
clock_MHz: Kstat data type: 1, Value returned: 2600, 2600 2600 2600
clock_MHz: Kernel close. Val returned: 2600
running update_metric_data() ...
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_15min'
avenrun_15min: kc is 8096668
avenrun_15min: Just did kstat_lookup().
avenrun_15min: Looked up.
avenrun_15min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_15min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_5min'
avenrun_5min: kc is 8096668
avenrun_5min: Just did kstat_lookup().
avenrun_5min: Looked up.
avenrun_5min: Kstat data type: 2, Value returned: 36, 36 36 36
avenrun_5min: Kernel close. Val returned: 36
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='avenrun_1min'
avenrun_1min: kc is 8096668
avenrun_1min: Just did kstat_lookup().
avenrun_1min: Looked up.
avenrun_1min: Kstat data type: 2, Value returned: 33, 33 33 33
avenrun_1min: Kernel close. Val returned: 33
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn
(resulting metric?)='nproc'
nproc: kc is 8096668
nproc: Just did kstat_lookup().
nproc: Looked up.
nproc: Kstat data type: 2, Value returned: 67, 67 67 67
nproc: Kernel close. Val returned: 67
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagesfree'
pagesfree: kc is 8096668
pagesfree: Just did kstat_lookup().
pagesfree: Looked up.
pagesfree: Kstat data type: 2, Value returned: 5279354, 5279354 5279354
5279354
pagesfree: Kernel close. Val returned: 5279354
Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn
(resulting metric?)='pagestotal'
pagestotal: kc is 8096668
pagestotal: Just did kstat_lookup().
pagestotal: Looked up.
pagestotal: Kstat data type: 2, Value returned: 33552203, 33552203
33552203 33552203
pagestotal: Kernel close. Val returned: 33552203
Before PageToK(): mem_free = 5279354, mem_total = 33552203
PageToK(): 5279354 * PAGESIZE (4096) / 1024 (Kb conversion) = 21117416
PageToK(): 33552203 * PAGESIZE (4096) / 1024 (Kb conversion) = 134208812
PageToK(): 3228180 * PAGESIZE (4096) / 1024 (Kb conversion) = 12912720
PageToK(): 3185337 * PAGESIZE (4096) / 1024 (Kb conversion) = 12741348
Old/new: Total = 3228180/12912720 , Free = 3185337/12741348
solaris.c: metric_init() ok.
udp_recv_channel mcast_join=NULL mcast_if=NULL port=8649 bind=NULL
tcp_accept_channel bind=NULL port=8649
udp_send_channel mcast_join=239.2.11.71 mcast_if=NULL host=NULL port=8649
udp_send_channel mcast_join=NULL mcast_if=NULL host=128.114.48.122 port=8649
metric 'cpu_user' being collected now
* * * * Setting alpha to 0.016667 and beta to 0.983333 because timediff = 0
getting kstat: km ='cpu_stat', ki ='0',ks='cpu_stat0'
getting kstat: km ='cpu_stat', ki ='1',ks='cpu_stat1'
getting kstat: km ='cpu_stat', ki ='2',ks='cpu_stat2'
getting kstat: km ='cpu_stat', ki ='3',ks='cpu_stat3'
getting kstat: km ='cpu_stat', ki ='4',ks='cpu_stat4'
getting kstat: km ='cpu_stat', ki ='5',ks='cpu_stat5'
getting kstat: km ='cpu_stat', ki ='6',ks='cpu_stat6'
getting kstat: km ='cpu_stat', ki ='7',ks='cpu_stat7'
getting kstat: km ='cpu_stat', ki ='8',ks='cpu_stat8'
getting kstat: km ='cpu_stat', ki ='9',ks='cpu_stat9'
getting kstat: km ='cpu_stat', ki ='10',ks='cpu_stat10'
getting kstat: km ='cpu_stat', ki ='11',ks='cpu_stat11'
Raw: bread / bwrite / lread / lwrite / phread / phwrite
0,0,0 / 0,0,0 / 0,0,0 / 0,0,0 / 1142448,0,1142448 / 0,0,0
Aftermath: 0.000000 0.000000 0.000000 0.000000 0.000893 0.000000 delta =
1279831075
** ** ** ** ** Are percentages electric? Try 0%, 0% , 1% , 1% , 1% 0%
metric 'cpu_user' has value_threshold 1.000000
metric 'cpu_system' being collected now
metric 'cpu_system' has value_threshold 1.000000
metric 'cpu_idle' being collected now
metric 'cpu_idle' has value_threshold 5.000000
metric 'cpu_nice' being collected now
metric 'cpu_nice' has value_threshold 1.000000
metric 'cpu_aidle' being collected now
metric 'cpu_aidle' has value_threshold 5.000000
metric 'cpu_wio' being collected now
metric 'cpu_wio' has value_threshold 1.000000
metric 'load_one' being collected now
metric 'load_one' has value_threshold 1.000000
metric 'load_five' being collected now
metric 'load_five' has value_threshold 1.000000
metric 'load_fifteen' being collected now
metric 'load_fifteen' has value_threshold 1.000000
metric 'proc_run' being collected now
metric 'proc_run' has value_threshold 1.000000
metric 'proc_total' being collected now
metric 'proc_total' has value_threshold 1.000000
metric 'mem_free' being collected now
metric 'mem_free' has value_threshold 1024.000000
metric 'mem_shared' being collected now
metric 'mem_shared' has value_threshold 1024.000000
metric 'mem_buffers' being collected now
metric 'mem_buffers' has value_threshold 1024.000000
metric 'mem_cached' being collected now
metric 'mem_cached' has value_threshold 1024.000000
metric 'swap_free' being collected now
metric 'swap_free' has value_threshold 1024.000000
metric 'bytes_out' being collected now
metric 'bytes_out' has value_threshold 4096.000000
metric 'bytes_in' being collected now
metric 'bytes_in' has value_threshold 4096.000000
metric 'pkts_in' being collected now
metric 'pkts_in' has value_threshold 256.000000
metric 'pkts_out' being collected now
metric 'pkts_out' has value_threshold 256.000000
metric 'disk_total' being collected now
For all disks: 0.000 GB total, 0.000 GB free for users.
metric 'disk_total' has value_threshold 1.000000
metric 'disk_free' being collected now
For all disks: 0.000 GB total, 0.000 GB free for users.
metric 'disk_free' has value_threshold 1.000000
metric 'part_max_used' being collected now
For all disks: 0.000 GB total, 0.000 GB free for users.
metric 'part_max_used' has value_threshold 1.000000
metric 'rcache' being collected now
metric 'rcache' has value_threshold 1.000000
metric 'wcache' being collected now
metric 'wcache' has value_threshold 1.000000
metric 'bread_sec' being collected now
metric 'bread_sec' has value_threshold 1.000000
metric 'bwrite_sec' being collected now
metric 'bwrite_sec' has value_threshold 1.000000
metric 'lread_sec' being collected now
metric 'lread_sec' has value_threshold 1.000000
metric 'lwrite_sec' being collected now
metric 'lwrite_sec' has value_threshold 1.000000
metric 'phread_sec' being collected now
metric 'phread_sec' has value_threshold 1.000000
metric 'phwrite_sec' being collected now
metric 'phwrite_sec' has value_threshold 1.000000
sending metadata for metric: heartbeat
sent message 'heartbeat' of length 48 with 0 errors
sending metadata for metric: cpu_num
sent message 'cpu_num' of length 44 with 0 errors
sending metadata for metric: cpu_speed
sent message 'cpu_speed' of length 48 with 0 errors
sending metadata for metric: mem_total
sent message 'mem_total' of length 48 with 0 errors
sending metadata for metric: swap_total
sent message 'swap_total' of length 48 with 0 errors
sending metadata for metric: boottime
sent message 'boottime' of length 44 with 0 errors
sending metadata for metric: machine_type
sent message 'machine_type' of length 56 with 0 errors
sending metadata for metric: os_name
sent message 'os_name' of length 52 with 0 errors
sending metadata for metric: os_release
sent message 'os_release' of length 52 with 0 errors
sending metadata for metric: location
sent message 'location' of length 56 with 0 errors
sending metadata for metric: gexec
sent message 'gexec' of length 48 with 0 errors
sending metadata for metric: cpu_user
sent message 'cpu_user' of length 44 with 0 errors
sending metadata for metric: cpu_system
sent message 'cpu_system' of length 48 with 0 errors
sending metadata for metric: cpu_idle
sent message 'cpu_idle' of length 44 with 0 errors
sending metadata for metric: cpu_nice
sent message 'cpu_nice' of length 44 with 0 errors
sending metadata for metric: cpu_aidle
sent message 'cpu_aidle' of length 48 with 0 errors
sending metadata for metric: cpu_wio
sent message 'cpu_wio' of length 44 with 0 errors
sending metadata for metric: load_one
sent message 'load_one' of length 44 with 0 errors
sending metadata for metric: load_five
sent message 'load_five' of length 48 with 0 errors
sending metadata for metric: load_fifteen
sent message 'load_fifteen' of length 48 with 0 errors
sending metadata for metric: proc_run
sent message 'proc_run' of length 44 with 0 errors
sending metadata for metric: proc_total
sent message 'proc_total' of length 48 with 0 errors
sending metadata for metric: mem_free
sent message 'mem_free' of length 44 with 0 errors
sending metadata for metric: mem_shared
sent message 'mem_shared' of length 48 with 0 errors
sending metadata for metric: mem_buffers
sent message 'mem_buffers' of length 48 with 0 errors
sending metadata for metric: mem_cached
sent message 'mem_cached' of length 48 with 0 errors
sending metadata for metric: swap_free
sent message 'swap_free' of length 48 with 0 errors
sending metadata for metric: bytes_out
sent message 'bytes_out' of length 48 with 0 errors
sending metadata for metric: bytes_in
sent message 'bytes_in' of length 44 with 0 errors
sending metadata for metric: pkts_in
sent message 'pkts_in' of length 44 with 0 errors
sending metadata for metric: pkts_out
sent message 'pkts_out' of length 44 with 0 errors
sending metadata for metric: disk_total
sent message 'disk_total' of length 52 with 0 errors
sending metadata for metric: disk_free
sent message 'disk_free' of length 52 with 0 errors
sending metadata for metric: part_max_used
sent message 'part_max_used' of length 52 with 0 errors
sending metadata for metric: rcache
sent message 'rcache' of length 44 with 0 errors
sending metadata for metric: wcache
sent message 'wcache' of length 44 with 0 errors
sending metadata for metric: bread_sec
sent message 'bread_sec' of length 48 with 0 errors
sending metadata for metric: bwrite_sec
sent message 'bwrite_sec' of length 48 with 0 errors
sending metadata for metric: lread_sec
sent message 'lread_sec' of length 48 with 0 errors
sending metadata for metric: lwrite_sec
sent message 'lwrite_sec' of length 48 with 0 errors
sending metadata for metric: phread_sec
sent message 'phread_sec' of length 48 with 0 errors
sending metadata for metric: phwrite_sec
sent message 'phwrite_sec' of length 48 with 0 errors
Cheers,
erich
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general