Шаблон для Zabbix мониторим Optical Fiber Amplifier
Параметры, которые нужно добавить конфиг zabbix_agent
UserParameter=uselok_input_db[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep inpower | sed ‘s/<td>//; s/<!—#inpower—>//; s/<\/td>//; s/dBm//; s/<\/tr>//’
UserParameter=uselok_output_db[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep outpower | sed ‘s/<td>//; s/<!—#outpower—>//; s/<\/td>//; s/dBm//; s/<\/tr>//’
UserParameter=uselok_revision[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep revision | sed ‘s/<td>//; s/<!—#revision—>//; s/<\/td>//; s/dBm//; s/<\/tr>//’
UserParameter=uselok_p1bais[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep p1bais | sed ‘s/<td>//; s/<!—#p1bais—>//; s/<\/td>//; s/mA//; s/<\/tr>//;’
UserParameter=uselok_p1temper[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep p1temper | sed ‘s/<td>//; s/<!—#p1temper—>//; s/<\/td>//; s/°C//; s/<\/tr>//;’
UserParameter=uselok_p1tec[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep p1tec | sed ‘s/<td>//; s/<!—#p1tec—>//; s/<\/td>//; s/mA//; s/<\/tr>//;’
UserParameter=uselok_mac[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep macaddr | sed ‘s/<td>//; s/<!—#macaddr—>//; s/<\/td>//; s/<\/tr>//;’
UserParameter=uselok_boxtemp[*],curl —silent -u admin:admin http://172.19.55.5/io_http.ssi | grep boxtemp | sed ‘s/<td>//; s/<!—#boxtemp—>//; s/<\/td>//; s/°C//; s/<\/tr>//;’