SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001417ClearOSapp-network-visualizer - Network Visualizerpublic2013-11-04 12:292020-03-02 08:19
Reporterbchambers 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version6.5.0 Beta 2 
Target VersionFixed in Version 
Summary0001417: Would be nice to see hostnames in addition to IP's on src and dest
Description5.x used to display IP and hostnames in the tables. Would be nice to add setting to toggle.
Additional InformationTo play around with hostnames, edit:

/usr/clearos/apps/network_visualiser/htdocs/network_visualiser.js.php

On the detailed report section, change:

} else if ($('#report_type').val() == report_detailed) {
    table_report.fnAddData([
      json.data[index].src,
      json.data[index].srcport,
      json.data[index].proto,
      json.data[index].dst,
      json.data[index].dstport,
      field
    ]);
}

To this to view hostnames:

} else if ($('#report_type').val() == report_detailed) {
    table_report.fnAddData([
      json.data[index].srcname,
      json.data[index].srcport,
      json.data[index].proto,
      json.data[index].dstname,
      json.data[index].dstport,
      field
    ]);
}

Or to view both IP and hostname:

} else if ($('#report_type').val() == report_detailed) {
    table_report.fnAddData([
      json.data[index].src + ' (' + json.data[index].srcname + ')',
      json.data[index].srcport,
      json.data[index].proto,
      json.data[index].dst + ' (' + json.data[index].dstname + ')',
      json.data[index].dstport,
      field
    ]);
}
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0013121)
NickH (developer)
2020-03-02 08:18

Transferred to https://gitlab.com/clearos/clearfoundation/app-network-visualiser/issues/2 [^]

- Issue History
Date Modified Username Field Change
2013-11-04 12:29 bchambers New Issue
2013-11-04 12:29 bchambers Status new => assigned
2013-11-04 12:29 bchambers Assigned To => bchambers
2013-12-20 13:28 user2 Target Version 6.5.0 Beta 2 =>
2020-03-02 08:18 NickH Note Added: 0013121
2020-03-02 08:19 NickH Status assigned => closed
2020-03-02 08:19 NickH Assigned To bchambers =>
2020-03-02 08:19 NickH Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7