diff --git a/jsk_hrp2_ros_bridge/scripts/sensors_monitor.py b/jsk_hrp2_ros_bridge/scripts/sensors_monitor.py index fee83e98..5f28b8af 100755 --- a/jsk_hrp2_ros_bridge/scripts/sensors_monitor.py +++ b/jsk_hrp2_ros_bridge/scripts/sensors_monitor.py @@ -53,13 +53,13 @@ def monitor(self, stat): stat.mergeSummary(DIAG.ERROR, "Critical Temperature") elif entry.high is not None and entry.current > entry.high: stat.mergeSummary(DIAG.WARN, "High Temperature") - stat.add(" ".join([name, entry.label]), entry.current) + stat.add(" ".join([name, entry.label, "[degree]"]), entry.current) # Fans. if name in fans: for entry in fans[name]: if entry.current < self.rpm_threshold: stat.mergeSummary(DIAG.WARN, "Fan slowing down") - stat.add(" ".join(['Fan', name, entry.label]), + stat.add(" ".join(['Fan', name, entry.label, "[RPM]"]), entry.current) return stat