Zabbix-Network-Weathermap
Zabbix-Network-Weathermap copied to clipboard
Zabbix on centos - IP for server
Having difficulty setting up weather map using zabbix on a centos VM. How to create file with map configuration using an IP for server url?
Just like a domain name in url.
weathermap.py -s mapname1 mapnameN -z http://1.1.1.1/zabbix -l login -p password
Am getting the following errors after running that command
while scanning a simple key in "/opt/Zabbix-Network-Weathermap-master/mapcfgs/test.yaml", line 7, column 9 could not find expected ':' in "/opt/Zabbix-Network-Weathermap-master/mapcfgs/test.yaml", line 8, column 9 Traceback (most recent call last): File "/opt/Zabbix-Network-Weathermap-master/config.py", line 108, in check self.cfg_dict[cfg_sect][cfg_opt] KeyError: 'zabbix'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./weathermap.py", line 121, in
Errors in the file test.yaml, which was created manually.
rm -f /opt/Zabbix-Network-Weathermap-master/mapcfgs/test.yaml
Thank you. Am able to create the file already. Am now stuck with errors for the itemin and itemout for the link. Can you please explain that part to me? What should be placed for itemin and itemout? Sorry, am new at this.
itemin/itemout it is traffic counters. Open zabbix ->Configuration-> Hosts -> Your host -> Items -> find items traffic counters -> copy their from column "key" -> set in configuration mapname.yaml example:
itemin: ifHCInOctets[ge-0/0/0]
itemout: ifHCOutOctets[ge-0/0/0]