librenms/includes/polling/sensors.inc.php

11 lines
289 B
PHP
Raw Normal View History

<?php
poll_sensor($device,'current','A');
poll_sensor($device,'frequency', 'Hz');
poll_sensor($device,'fanspeed', 'rpm');
poll_sensor($device,'humidity', '%');
# FIXME also convert temperature, but there's some special code in there?
include('includes/polling/temperatures.inc.php');
?>