I am on RHEL4, and i want to have information on temperature of CPU and MotherBoard, but sensor isn't supported...
i see in source code (sensors.c) :
But with the kernel 2.6, the sensors interface has moved from /proc/sys/dev/sensors to /sys/bus/i2c
It's normal ?
i see in source code (sensors.c) :
Code:
dir=opendir("[B]/proc/sys/dev/sensors[/B]");
if(NULL == dir)
{
return SYSINFO_RET_FAIL;
}
while((entries=readdir(dir))!=NULL)
{
strscpy(filename,"[B]/proc/sys/dev/sensors/[/B]");
zbx_strlcat(filename,entries->d_name,MAX_STRING_LEN);
zbx_strlcat(filename,name,MAX_STRING_LEN);
...
...
...
It's normal ?