Hi,
Could be possible the addition of the field "Name" at this view as is showed at the "Interfaces" one?
Thanks
New Field at IP addresses view
Moderators: Developers, Moderators
Re: New Field at IP addresses view
Hi people,
This is my workaround
551 -- > $query_string = "SELECT mac_track_ips.*, mac_track_sites.site_name, mac_track_oui_database.*, mac_track_interfaces.ifName
FROM mac_track_ips
LEFT JOIN mac_track_sites
ON (mac_track_ips.site_id = mac_track_sites.site_id)
LEFT JOIN mac_track_oui_database
ON (mac_track_oui_database.vendor_mac=SUBSTRING(mac_track_ips.mac_address, 1, )
LEFT JOIN mac_track_interfaces ON (mac_track_interfaces.device_id=mac_track_ips.device_id AND mac_track_interfaces.ifIndex=mac_track_ips.port_number)
$sql_where
$sql_order
$sql_limit";
mac_track_view_ips{ ...
echo '<td>' . $port_result['port_number'] .'::'. $port_result['ifName'] . '</td>';
...}
This is my workaround
551 -- > $query_string = "SELECT mac_track_ips.*, mac_track_sites.site_name, mac_track_oui_database.*, mac_track_interfaces.ifName
FROM mac_track_ips
LEFT JOIN mac_track_sites
ON (mac_track_ips.site_id = mac_track_sites.site_id)
LEFT JOIN mac_track_oui_database
ON (mac_track_oui_database.vendor_mac=SUBSTRING(mac_track_ips.mac_address, 1, )
LEFT JOIN mac_track_interfaces ON (mac_track_interfaces.device_id=mac_track_ips.device_id AND mac_track_interfaces.ifIndex=mac_track_ips.port_number)
$sql_where
$sql_order
$sql_limit";
mac_track_view_ips{ ...
echo '<td>' . $port_result['port_number'] .'::'. $port_result['ifName'] . '</td>';
...}
Re: New Field at IP addresses view
Github pulling request is a better place for this.
Before history, there was a paradise, now dust.
Re: New Field at IP addresses view
This has been done and it's already on github version (develop branch).
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Who is online
Users browsing this forum: No registered users and 0 guests