unitymetrics
unitymetrics copied to clipboard
Time out after unity upgrade
After appling last Unity Update to Version 4.4.0.1534750794 every telegraf query goes in timeout:
set 10 14:52:50 telegraf[6876]: 2018-09-10T12:52:50Z E! Error in plugin [inputs.exec]: took longer to collect than collection interval (1m0s) set 10 14:52:50 telegraf[6876]: 2018-09-10T12:52:50Z E! Error in plugin [inputs.exec]: exec: Command timed out. for command 'unitymetrics -user admin -password xxxx -unity x.y.w.z -histkpipaths kpi.sp.*.utilization,kpi.lun.+.sp.+.rw.+.throughput,kpi....
caon you fix it?
increase the timeout = <> value in your telegraf.conf file to higher than 1 minute. Some of these commands take awhile to run.
Try separate the queries with several [inputs.exec]. From systemctl status telegraf, I believe it is running in parallel