Skip to content

smejdil/zabbix-fbsd-CPU-temperature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zabbix-fbsd-CPU-temperature

Monitoring FreeBSD CPU temperature featuring LLD (Intel & AMD)

This tutorial was taken from Zabbix Share from user Felician Hoppal

Features:

  • Low Level Discovery (LLD)
  • Zabbix Agent

Installation

1. Load FreeBSD kernel module

load coretemp kernel module: kldload coretemp (for Intel CPUs or amdtemp kernel module: kldload amdtemp (for AMD CPUs)

2. Configure load module

add coretemp_load="YES" or amdtemp_load="YES" to /boot/loader.conf

3. Create zabbix config file

create zbx.cpu.coretemp.conf file in zabbix_agentd.conf.d

  • make sure you have bash installed and the Include directive is present and valid in zabbix_agentd.conf to include individual files *

4. Restart zabbix agentd

restart zabbix_agentd, import & apply the template

5. Confirere path for zabbix agent

also make sure zabbix_agentd has all the paths needed: in /etc/rc.conf

zabbix_agentd_paths="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"

Install script

git clone https://github.com/smejdil/zabbix-fbsd-CPU-temperature && cd ./zabbix-fbsd-CPU-temperature/scripts/ && ./install

Test discovery key

zabbix_get -s 127.0.0.1 -k coretemp.cpu.discovery                                   
{"data":[{"{#CPUCORE}":"0"},{"{#CPUCORE}":"1"},{"{#CPUCORE}":"2"},{"{#CPUCORE}":"3"},{"{#CPUCORE}":"4"},{"{#CPUCORE}":"5"},{"{#CPUCORE}":"6"},{"{#CPUCORE}":"7"}]}

About

Monitoring FreeBSD CPU temperature featuring LLD (Intel & AMD)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages