Hi all, When I start gmond in Solaris 9, it ends with "Unable to collect metric 'cpu_in_machine' on this platform. Exiting.". I cannot find anything about this problem.
Does anyone have the same problem or have any idea what could be happening ? # /usr/sbin/gmond --debug=9 Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn (resulting metric?)='ncpus' ncpus: kc is 100140d90 ncpus: Just did kstat_lookup(). ncpus: Looked up. ncpus: Kstat data type: 2, Value returned: 4, 0 0 0 ncpus: Kernel close. Val returned: 4 metric_init: Assigning cpu_num value (4) to ncpus. Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn (resulting metric?)='boot_time' boot_time: kc is 100140d90 boot_time: Just did kstat_lookup(). boot_time: Looked up. boot_time: Kstat data type: 2, Value returned: 1158220143, 0 0 0 boot_time: Kernel close. Val returned: 1158220143 Lookup up kstat: km (unix?)='cpu_info', ks (system_misc?)='cpu_info0',kn (resulting metric?)='clock_MHz' clock_MHz: kc is 100140d90 clock_MHz: Just did kstat_lookup(). clock_MHz: Looked up. clock_MHz: Kstat data type: 3, Value returned: 0, 400 400 400 clock_MHz: Kernel close. Val returned: 400 running update_metric_data() ... Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn (resulting metric?)='avenrun_15min' avenrun_15min: kc is 100140d90 avenrun_15min: Just did kstat_lookup(). avenrun_15min: Looked up. avenrun_15min: Kstat data type: 2, Value returned: 167, 0 0 0 avenrun_15min: Kernel close. Val returned: 167 Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn (resulting metric?)='avenrun_5min' avenrun_5min: kc is 100140d90 avenrun_5min: Just did kstat_lookup(). avenrun_5min: Looked up. avenrun_5min: Kstat data type: 2, Value returned: 192, 0 0 0 avenrun_5min: Kernel close. Val returned: 192 Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn (resulting metric?)='avenrun_1min' avenrun_1min: kc is 100140d90 avenrun_1min: Just did kstat_lookup(). avenrun_1min: Looked up. avenrun_1min: Kstat data type: 2, Value returned: 83, 0 0 0 avenrun_1min: Kernel close. Val returned: 83 Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_misc',kn (resulting metric?)='nproc' nproc: kc is 100140d90 nproc: Just did kstat_lookup(). nproc: Looked up. nproc: Kstat data type: 2, Value returned: 94, 0 0 0 nproc: Kernel close. Val returned: 94 Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn (resulting metric?)='pagesfree' pagesfree: kc is 100140d90 pagesfree: Just did kstat_lookup(). pagesfree: Looked up. pagesfree: Kstat data type: 4, Value returned: 0, 318509 318509 318509 pagesfree: Kernel close. Val returned: 318509 Lookup up kstat: km (unix?)='unix', ks (system_misc?)='system_pages',kn (resulting metric?)='pagestotal' pagestotal: kc is 100140d90 pagestotal: Just did kstat_lookup(). pagestotal: Looked up. pagestotal: Kstat data type: 4, Value returned: 0, 501205 501205 501205 pagestotal: Kernel close. Val returned: 501205 Before PageToK(): mem_free = 318509, mem_total = 501205 PageToK(): 318509 * PAGESIZE (8192) / 1024 (Kb conversion) = 2548072 PageToK(): 501205 * PAGESIZE (8192) / 1024 (Kb conversion) = 4009640 PageToK(): 673280 * PAGESIZE (8192) / 1024 (Kb conversion) = 5386240 PageToK(): 499642 * PAGESIZE (8192) / 1024 (Kb conversion) = 3997136 Old/new: Total = 673280/5386240 , Free = 499642/3997136 solaris.c: metric_init() ok. udp_recv_channel mcast_join=239.2.11.73 mcast_if=NULL port=8649 bind=239.2.11.73 tcp_accept_channel bind=NULL port=8649 Unable to collect metric 'cpu_in_machine' on this platform. Exiting. Thanks in advance. Regards.

