hi all,
after searching alot around how to monitor cpu temp in windows
i finally came with the following workaround.
1) i install realtemp_360 software (its free) (i extract the contents in c:\realtemp
2) i also use awk.exe and tail.exe which i found as unxutil.zip from sourceforge
3) i run it (the realtemp.exe) with the following options on: log file , start minimized, minimize on close
it creates a file named realtemplog.txt into same directory with the binary realtemp.exe is
4) i insert the following into zabbix-agentd.conf client file
UserParameter=temp.tempcore0,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $4}"
UserParameter=temp.tempcore1,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $5}"
UserParameter=temp.tempcore2,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $6}"
UserParameter=temp.tempcore3,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $7}"
restart the agent
also you need to create items into zabbix console like
description temp_core0
type zabbix agent
key temp.tempcore0
type of info numeric
data type decimal
and you are done...
hope that this info helps.
ps: the downside is that the log file is growing and you have to delete it manual...
Michael
after searching alot around how to monitor cpu temp in windows
i finally came with the following workaround.
1) i install realtemp_360 software (its free) (i extract the contents in c:\realtemp
2) i also use awk.exe and tail.exe which i found as unxutil.zip from sourceforge
3) i run it (the realtemp.exe) with the following options on: log file , start minimized, minimize on close
it creates a file named realtemplog.txt into same directory with the binary realtemp.exe is
4) i insert the following into zabbix-agentd.conf client file
UserParameter=temp.tempcore0,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $4}"
UserParameter=temp.tempcore1,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $5}"
UserParameter=temp.tempcore2,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $6}"
UserParameter=temp.tempcore3,tail -1 c:\realtemp\Realtemplog.txt | awk "{print $7}"
restart the agent
also you need to create items into zabbix console like
description temp_core0
type zabbix agent
key temp.tempcore0
type of info numeric
data type decimal
and you are done...
hope that this info helps.
ps: the downside is that the log file is growing and you have to delete it manual...

Michael


Comment