Ad Widget
Collapse
Openstreetmap
Collapse
X
-
Cool!
This is really cool! I'm playing abit with it now.
Can't get it to work though.
Seems I have to input GET variables manually, and that's fine for testing roughly, but trying dev/osm/index.php?groupid=6&type=problem for example, throws a PHP error:
PHP Notice: Undefined variable: hostids in /srv/www/htdocs/dev/osm/osm-zabbix.php on line 114,
I've added long and lat values to the inventory field of one host in that groupID, and when testing, it's currently has one trigger in problem state.
Map load, but no hosts are shown at my location.. :s
Nevermind, zbx_min_severity was set above the trigger that was active. Now this is even cooler, good job!
-
oh, wow, yeah. two great things combined
wanna put up some screenshots here ?Comment
-
Zoom problem?
Am I the only one who loses hosts on the map sometimes when zooming in/out ?
At the same time, I get PHP Notice: Undefined variable: hostids in /srv/www/htdocs/dev/osm/osm-zabbix.php on line 114, in apache's error log.
The problem host is definitively within viewing area while zooming, so this shouldn't happen.
Any idea why?Comment
-
Osm
so i added my zabbix user and pass the conf file but i get
map = new OpenLayers.Map("basicMap", options);
var mapnik = new OpenLayers.Layer.OSM();
var zoom = 7;
map.addLayer(mapnik);
map.setCenter(centerPosition, zoom);
function toggleLoadingPanel() {
map.getControlsByClass('OpenLayers.Control.Loading Panel')[0].toggle();
}
API error -32602: Login name or password is incorrect.
its simple zabbix/zabbix i am running latest stable 2.2Comment
-
I am using admin for testing, i do not see a api access group in zabbix does it need to be added ?
Thanks
RobComment
-
Comment
-
-
osm local
Thank you very much I have everything worked!
How do I configure it to not take maps from the Internet and from my server Locally OSM?Comment
Comment