mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
preliminary support for unix agent. probably will eat your cat and rape your dog, at this point.
git-svn-id: http://www.observium.org/svn/observer/trunk@2923 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -215,6 +215,15 @@ if (device_permitted($vars['device']) || $check_device == $vars['device'])
|
||||
</li>');
|
||||
}
|
||||
|
||||
if ($config['poller_modules']['unix-agent'] && @dbFetchCell("SELECT COUNT(*) FROM `packages` WHERE device_id = '".$device['device_id']."'") > '0')
|
||||
{
|
||||
echo('<li class="' . $select['packages'] . '">
|
||||
<a href="'.generate_device_url($device, array('tab' => 'packages')).'">
|
||||
<img src="images/16/box.png" align="absmiddle" border="0" /> Packages
|
||||
</a>
|
||||
</li>');
|
||||
}
|
||||
|
||||
if ($config['enable_inventory'] && @dbFetchCell("SELECT * FROM `entPhysical` WHERE device_id = '".$device['device_id']."'") > '0')
|
||||
{
|
||||
echo('<li class="' . $select['entphysical'] . '">
|
||||
|
||||
Reference in New Issue
Block a user