mirror of
https://github.com/netdata/netdata.git
synced 2025-05-14 21:42:37 +00:00
sensors: don't ignore 0 RPM funs on start (#4753)
* sensors: do not skip sf with zero value * sensors: fix update
This commit is contained in:
parent
dbbe252e93
commit
1f84c586f2
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class Service(SimpleService):
|
|||
except sensors.SensorsError as error:
|
||||
self.error('{0}: {1}'.format(sf.name, error))
|
||||
continue
|
||||
if not vals or vals[0] == 0:
|
||||
if not vals or (vals[0] == 0 and feature.type != 1):
|
||||
continue
|
||||
if TYPE_MAP[feature.type] == sensor:
|
||||
# create chart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue