Zabbix a senzory na Turris Omnia

Zabbix a senzory na Turris Omnia
« kdy: 18. 06. 2022, 15:44:50 »
Ahoj,

nahodil som Zabbix agent na router Turris Omnia a rad by som pouzival aj monitoring teploty (ten cip riadne hreje), no dari sa mi citat hodnoty len jedneho senzora.

Kód: [Vybrat]
# sensors
mv88e6xxx102-mdio-2
Adapter: MDIO adapter
temp1:        +62.0°C  (crit = +100.0°C)

mv88e6xxx100-mdio-0
Adapter: MDIO adapter
temp1:        +62.0°C  (crit = +100.0°C)

f1072004mdiomii01-mdio-1
Adapter: MDIO adapter
temp1:        +54.0°C  (crit = +100.0°C)

mv88e6xxx103-mdio-3
Adapter: MDIO adapter
temp1:        +62.0°C  (crit = +100.0°C)

mv88e6xxx101-mdio-1
Adapter: MDIO adapter
temp1:        +62.0°C  (crit = +100.0°C)

armada_thermal-virtual-0
Adapter: Virtual device
temp1:        +76.1°C 

mv88e6xxx104-mdio-4
Adapter: MDIO adapter
temp1:        +62.0°C  (crit = +100.0°C)[/tt]

Co funguje:
[tt]# zabbix_get -s 127.0.0.1 -k 'sensor[armada_thermal-virtual-0,temp1]'
76.070000

Co nefunguje:
vsetko ostatne, teda napr.

Kód: [Vybrat]
# zabbix_get -s 127.0.0.1 -k 'sensor[mv88e6xxx104-mdio-4,temp1]'
ZBX_NOTSUPPORTED: Cannot obtain sensor information.
# zabbix_get -s 127.0.0.1 -k 'sensor[mv88e6xxx102-mdio-2,temp1]'
ZBX_NOTSUPPORTED: Cannot obtain sensor information.

Ako workaround by som to mohol riesit trapper-om a vlastnym skriptom, ale tomu by som sa chcel vyhnut. Robim nieco zle?

TurrisOS 5.3.10

Kód: [Vybrat]
zabbix_get (Zabbix) 4.0.37
Revision a039afba50 23 December 2021

Copyright (C) 2021 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

Diky,
j
« Poslední změna: 18. 06. 2022, 17:10:34 od Petr Krčmář »


Re:zabbix a senzory na turris omnia
« Odpověď #1 kdy: 18. 06. 2022, 16:07:39 »
no, jak sa tak teraz na to divam, tak tie ostatne hodnoty sa nejak nemenia, takze je to nakoniec v poriadku.