paregupt / ucs_traffic_monitor

Cisco UCS traffic monitoring using Grafana, InfluxDB and Telegraf
MIT License
80 stars 25 forks source link

Seeing Parsing errors #54

Closed s405121 closed 3 years ago

s405121 commented 3 years ago

Hi There,

I been following documentation from this site (https://www.since2k7.com/blog/2020/02/29/cisco-ucs-monitoring-using-grafana-influxdb-telegraf-utm-installation/#Download_and_install_Telegraf) for setting up telegraph, and InfluxDB in-order to scrape UCS metrics using this plugin and is consistently failing with below error message.

Am getting response from UCS, when running this command (python3 /usr/local/telegraf/ucs_traffic_monitor.py /usr/local/telegraf/ucs_domains.txt dict -vvv) manually. Any insights on what I should look into next towards solving the issue, will be of great help.

2021-04-03T01:38:20Z E! [inputs.exec] Error in plugin: metric parse error: expected tag at 1:51: 2021-04-03T01:38:20Z E! [telegraf] Error running agent: input plugins recorded 1 errors

Thanks,

Chaitanya Kosaraju

paregupt commented 3 years ago

Check #49. Did you miss mentioning location in the input file? At least one location is mandatory.

s405121 commented 3 years ago

Thank you very much for getting back so quickly sir!! I did have that line commented out and things are working as expected after I corrected that one.

Also thank you for taking time to develop this plugin, very helpful!!

Chaitanya Kosaraju

paregupt commented 3 years ago

Glad it's helping you. Thanks