[op5-users] check_esx3 using a lot of cpu
Martin Wikesjö
martin.wikesjo at cypoint.se
Wed Jul 1 14:40:15 CEST 2009
Hello again,
A user called "stumpr" on the vmware forums has been adding the
properties function to the script, and I have done some testing on it.
It now runs a lot faster, for me it was a 4-500% improvement.
http://communities.vmware.com/thread/213515?start=30&tstart=0
Cheers
Martin W
Mattias Ryrlén wrote:
> Ok, need to do some more modifications, see if i can find some time to do that.
>
> Was just reading through the forum quickly and made a "quick fix", so
> mutch for that :)
>
>
>
> On Tue, Jun 23, 2009 at 5:43 PM, Mattias Ryrlén<mattias.ryrlen at op5.com> wrote:
>
>> I have added the properties => ['name'] to all rows that has the call.
>>
>> can you test it if it's make any difference.
>>
>> Best Regards
>> Mattias R
>>
>> 2009/6/23 Martin Wikesjö <martin.wikesjo at cypoint.se>:
>>
>>> Hello,
>>>
>>> First of, great script I must say!
>>> I have been testing it and use it for monitoring, and have tried to use
>>> it for graph generation as well.
>>> Unfortunately though it is executing rather slow and use a lot of CPU,
>>> so I cant use it for as many hosts/VMs as I'd like.
>>> I have been looking into it and posted some on the vmware forum.
>>> According to a user there there is a new "properties" argument, which
>>> was undocumented in the old 1.6 viperl api, that should be possible to
>>> use in this script to reduce the cpu usage and speed up the execution
>>> time substantially. If Kostyantyn or whomever is actively developing it
>>> could take a lot at that I'm sure many would greatly appreciate it, I
>>> know I would. :)
>>>
>>> http://communities.vmware.com/thread/213515?start=0&tstart=0
>>>
>>> Regards / Vänliga hälsningar
>>>
>>> Martin Wikesjö
>>>
>>>
>>> _______________________________________________
>>> op5-users mailing list
>>> op5-users at lists.op5.com
>>> http://lists.op5.com/mailman/listinfo/op5-users
>>>
>>>
>>
>> --
>> Vänliga hälsningar / Best Regards
>> Mattias Ryrlén
>>
>> __________________________
>> op5 AB
>> Första Långgatan 19
>> SE-413 27 Göteborg
>> Mobil: +46 735-17 70 99
>> Support: +46 31-774 09 24
>> www.op5.com
>>
>>
>
>
>
> --
> Vänliga hälsningar / Best Regards
> Mattias Ryrlén
>
> __________________________
> op5 AB
> Första Långgatan 19
> SE-413 27 Göteborg
> Mobil: +46 735-17 70 99
> Support: +46 31-774 09 24
> www.op5.com
> _______________________________________________
> op5-users mailing list
> op5-users at lists.op5.com
> http://lists.op5.com/mailman/listinfo/op5-users
>
>
More information about the op5-users
mailing list