Check_esx high cpu usage


I’m upgrading icinga to icinga2, i have a check who look if datastore are present in the esx.
In my old icinga evrything is ok, but in incinga2the plugin work but the use of the cpu is important.
It’s a perl pluging. I’ve checked the perl version and it’s the same between icinga and icinga2.
The old icinga is a debian 7 and the icinga2 is a centos 7.
You can find the plugin here*-Virtual-Environments/VMWare/Vmware-ESX-%26-VM-host/details

I’ve put a check_interval on my service to slow down the cpu usage.
Thx for the help