Hello,
I'm using Zabbix 7.4.8
I've imported this Prometheus Node Exporter template and it works well. I assigned to a device which is running node exporter.
Looking in the node exporter metrics the template is missing some parts, one being the NVMe temperatures. I'm specifically interested in this data:
But if I can't do that, then just:
Is it better to create individual items for this or a discovery rule?
Then what would I use for the preprocessing? I would need 'Promethues to JSON' but I'm not sure of the Parameters.
and the LLD too:


Then there is the item section and I'm a little lost.
Any help to get me started would be most welcome. I'm not sure if using the discovery method is overkill and an area I've not tried before and should just use items.
Thanks
I'm using Zabbix 7.4.8
I've imported this Prometheus Node Exporter template and it works well. I assigned to a device which is running node exporter.
Looking in the node exporter metrics the template is missing some parts, one being the NVMe temperatures. I'm specifically interested in this data:
Code:
# HELP node_hwmon_temp_celsius Hardware monitor for temperature (input)
# TYPE node_hwmon_temp_celsius gauge
node_hwmon_temp_celsius{chip="i2c_0_0_0018",sensor ="temp1"} 31
node_hwmon_temp_celsius{chip="i2c_0_0_001a",sensor ="temp1"} 31.5
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp1"} 41.85
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp2"} 57.85
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp3"} 41.85
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp4"} 40.85
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp1"} 34
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp10"} 30
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp11"} 30
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp12"} 30
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp13"} 30
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp14"} 32
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp15"} 32
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp16"} 32
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp17"} 32
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp2"} 29
node_hwmon_temp_celsius{chip="platform_coretemp_0" ,sensor="temp6"} 29
Code:
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp1"} 41.85
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp2"} 57.85
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp3"} 41.85
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=" temp4"} 40.85
Then what would I use for the preprocessing? I would need 'Promethues to JSON' but I'm not sure of the Parameters.
Code:
node_hwmon_temp_celsius{chip="nvme_nvme0",sensor=~ ".*"}
Then there is the item section and I'm a little lost.
Any help to get me started would be most welcome. I'm not sure if using the discovery method is overkill and an area I've not tried before and should just use items.
Thanks