unitymetrics icon indicating copy to clipboard operation
unitymetrics copied to clipboard

Time out after unity upgrade

Open ivandal77 opened this issue 7 years ago • 2 comments

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?

ivandal77 avatar Sep 10 '18 12:09 ivandal77

increase the timeout = <> value in your telegraf.conf file to higher than 1 minute. Some of these commands take awhile to run.

heavenlychaboogles avatar May 28 '19 21:05 heavenlychaboogles

Try separate the queries with several [inputs.exec]. From systemctl status telegraf, I believe it is running in parallel

liam-ng avatar May 17 '24 00:05 liam-ng