I'm looking at ways of extracting statistical information from Dell Powervault Storage units. However, to get meaningful information I really need stats over a minute or more.
Trying to run the command direct from the agent/proxy will timeout due to the 30 second limit. I could schedule the commands as a cronjob on the host, but that requires extra manual config for each host rather than just calling a discovery routine.
Is there a better way of doing this?
I was toying with the idea of a script that launches the command and then reports back the output, but getting error information if it fails would be trickier.
How have others dealt with long running tasks/commands?
Trying to run the command direct from the agent/proxy will timeout due to the 30 second limit. I could schedule the commands as a cronjob on the host, but that requires extra manual config for each host rather than just calling a discovery routine.
Is there a better way of doing this?
I was toying with the idea of a script that launches the command and then reports back the output, but getting error information if it fails would be trickier.
How have others dealt with long running tasks/commands?
Comment