blizko / DepMap

LibreNMS Dependency Map Plugin
GNU Affero General Public License v3.0
9 stars 5 forks source link

js/vis.map missing #1

Open brianegge opened 4 years ago

brianegge commented 4 years ago

I installed the plugin, but when I view the page it's empty. Is there an error recorded in a log somewhere? I don't see anything in the apache2 log or the librenms log.

OK, I see in Chrome it's missing the javascript

blizko commented 4 years ago

The HTML part of the code depends on JS files that are presented in core LibreNMS code

<script src="js/vis.min.js"></script>
<script type="text/javascript">

Which version of LibreNMS are you using? Do standard LibreNMS maps work for you?

brianegge commented 4 years ago

I see the problem. If network_map_vis_options is not defined, then the javascript fails:

var options =  <?php echo $config['network_map_vis_options']; ?>;
PeterKnotek commented 2 years ago

Olaaaaaa

Maps work, but write invalid hostname .... HostName