Closed krakazyabra closed 4 years ago
Hi,
Apologies for the delay, are you still experiencing this?
Hi, Yes, the problem is still exists.
If you choose 'top' or 'left' as your layout, what happens?
Also, do you use the plugin or cli? If cli, can you confirm that this line exists and is not commented out (it's ok if you changed the default value of 300 to some other integer):
// RADIAL OPTIONS
$weathermapper[$label]['grid_opts']['radius'] = 300; // pixels between radial sets
Hi, I have experienced this issue... I'm using LibreNMS plugin, but still on 0.97. So after creation of radial map, plugin generate wrong code:
<?php
$label = "05-FRONT";
$weathermapper[$label] = [];
$weathermapper[$label]['title'] = "Network Map (".$label.")";
$weathermapper[$label]['grid_opts'] = [];
$weathermapper[$label]['search_opts'] = [];
$weathermapper[$label]['search_opts']['types'] = [];
$weathermapper[$label]['grid_opts']['layout'] = 'radial';
$weathermapper[$label]['grid_opts']['colsize'] = 200;
$weathermapper[$label]['grid_opts']['colmargin'] = 100;
$weathermapper[$label]['grid_opts']['rowsize'] = 100;
$weathermapper[$label]['grid_opts']['rowmargin'] = 250;
$weathermapper[$label]['search_opts']['types'][] = 'group';
$weathermapper[$label]['search_opts']['groups'] = [];
$weathermapper[$label]['search_opts']['groups'][] = [
'group' => '2',
'row' => 10
];
And if I add manually
$weathermapper[$label]['grid_opts']['radius'] = 300;
it works.
This should be fixed by PR #17 - thank you.
hi! i installed the plugin, using your instruction, created the group.
trying to add new map, setting Weathermap Name
Group2
, map designradial
, Device Selection MethodGroup
, group ID - 2, layer 10then i'm running
php weathermapper.php
and getting such errors:What am I doing wrong?