Zabbix-Network-Weathermap icon indicating copy to clipboard operation
Zabbix-Network-Weathermap copied to clipboard

Error in template whatermap items

Open psmartins opened this issue 7 years ago • 2 comments
trafficstars

Maxim,

Can you tell me the cause of the error below?

Value "Traceback (most recent call last): File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 121, in main() File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 118, in main WeathermapCLI() File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 53, in init self._map_img() File "/opt/zabbix/mapas_wheatermap_zabbix/weathermap.py", line 94, in _map_img cfg = ConfigLoader(self.cfg_path + '/' + map_fn) File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 52, in init self.load(path_cfg) File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 61, in load self.check() File "/opt/zabbix/mapas_wheatermap_zabbix/config.py", line 69, in check for node in sorted([node for node in self.cfg_dict.keys() if cfg_sect in node]): AttributeError: 'NoneType' object has no attribute 'keys' 0.221" of type "string" is not suitable for value type "Numeric (float)"

Thanks

psmartins avatar Feb 04 '18 13:02 psmartins

Error in the configuration file, in the section "node-". Lost required options in "node-" "node-" have 5 options:

  1. name - required
  2. label - optional
  3. icon - optional
  4. x - required
  5. y - required

Prototype-X avatar Feb 04 '18 14:02 Prototype-X

Prototype-X

My map is working perfectly.

Thank you so much

psmartins avatar Feb 05 '18 11:02 psmartins