On Thursday, 14 October 2010 15:46:28 Ward, Martin wrote:
Thanks Tom, that got me sorted. It seems that Solaris relies on the
BOOT_TIME record held in the /var/adm/utmpx file. This file has been
rotated out of the way in order to save disk space so I got no uptime
values at all. It looks like this messed with the load average data
since the uptime output didn't have any uptime in it.
Like you I have hacked the hobbitclient-sunos.sh file and put in a small
perl scriptlet so that if there is no uptime it adds a fake value in
just to ensure that the load averages get stored properly.
It would be useful if you could instead supply the "client data" for the host
in the events where this breaks, so it can be fixed in hobbitd_client instead.
Regards,
Buchan