mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	err... er poll ignored devices! and fix some css bullshit.
git-svn-id: http://www.observium.org/svn/observer/trunk@2119 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		@@ -6,7 +6,7 @@ if ($device['status'] == '0')
 | 
			
		||||
{
 | 
			
		||||
  $class = "list-device-down"; 
 | 
			
		||||
} else { 
 | 
			
		||||
  $class = "list-device"; unset ($tr); 
 | 
			
		||||
  $class = "list-device";
 | 
			
		||||
}
 | 
			
		||||
if ($device['ignore'] == '1') 
 | 
			
		||||
{
 | 
			
		||||
@@ -43,12 +43,9 @@ if ($port_count) { echo(' <img src="images/icons/port.png" align=absmiddle /> '.
 | 
			
		||||
echo('<br />');
 | 
			
		||||
if ($sensor_count) { echo(' <img src="images/icons/sensors.png" align=absmiddle /> '.$sensor_count); }
 | 
			
		||||
echo ('</td>');
 | 
			
		||||
 | 
			
		||||
echo('    <td>' . $device['hardware'] . '<br />' . $device['features'] . '</td>');
 | 
			
		||||
 | 
			
		||||
echo('    <td>' . $device['os_text'] . '<br />' . $device['version'] . '</td>');
 | 
			
		||||
 | 
			
		||||
echo('    <td>' . formatUptime($device['uptime']) . ' <br />');
 | 
			
		||||
echo('    <td>' . formatUptime($device['uptime'], 'short') . ' <br />');
 | 
			
		||||
 | 
			
		||||
if (get_dev_attrib($device,'override_sysLocation_bool')) {  $device['location'] = get_dev_attrib($device,'override_sysLocation_string'); }
 | 
			
		||||
echo('    ' . truncate($device['location'],32, '') . '</td>');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user