On 05/19, James Whittington wrote:
> Right now I am just looking at overall host usage of the ESX servers

I'm querying everything centrally at the virtual center server.  This
way, opsview doesn't have to know which host a particular VM is
currently running on (VMotion may change that without me knowing).

> Here is an example check 
[...]
> real    0m3.034s

That's more reasonable.

> Can you share the sort of check you are doing and we can compare times?
> This particular slave server is checking 5 ESX servers and I haven't
> seen any problems with time outs yet.

Coincidentally, the server admin just upgraded the RAM in the vcenter
server, but it didn't help these performance numbers.  I see good
performance if I'm querying for a VM, but not when querying for an ESX
host:

$ time /usr/local/nagios/libexec/check_esx3 -D vcenter -u
nagiosuser -p xxxxxx -N examplevm -l mem
CHECK_ESX3 OK - "examplevm" mem usage=3009.95 MB(18.99%),
overhead=90.71 MB, active=778.24 MB, swapped=0.00 MB, swapin=0.00 MB,
swapout=0.00 MB | mem_usagemb=3009.95MB;; mem_usage=18.99%;;
mem_overhead=90.71MB;; mem_active=778.24MB;; mem_swap=0.00MB;;

real    0m5.704s
user    0m4.552s
sys     0m0.164s

$ time /usr/local/nagios/libexec/check_esx3 -D vcenter -u
nagiosuser -p xxxxxx -H esxhost -l mem
CHECK_ESX3 OK - mem usage=2522.53 MB (15.61%), overhead=307.93 MB,
swapped=363.89 MB | mem_usagemb=2522.53MB;; mem_usage=15.61%;;
mem_overhead=307.93MB;; mem_swap=363.89MB;;

real    0m30.053s
user    0m7.572s
sys     0m0.180s


I suspect I could get things to work satisfactorily by querying VMs via
vcenter, and querying ESX hosts directly.  Unfortunately, I can't figure
our how to configure ESX WebAccess.  I can authenticate, but still get a
"Permission to perform this operation was denied." error.  Time to read
the docs and/or consult with our VMware admins.

Thanks for your help!

-j

-- 
Jason Lavoie
Ratvarre sbe uver
[email protected]
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/listinfo/opsview-users

Reply via email to