ESX monitoring login/logout

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

ESX monitoring login/logout

Post by snapon_admin »

Just wondering if this is expected behavior or not and, if not, how to fix it. We're monitoring our ESX servers using the VMware plugin wizard that cam preinstalled in XI and have noticed that the user we created on the server is logging in and out aver 5-10 seconds constantly. This is clogging the ESX logs and makes troubleshooting actual problems extremely difficult. Is this something that is supposed to happen with this check or am I missing something?

Edit: See attached screenshot of the log.
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: ESX monitoring login/logout

Post by tmcdonald »

Do you have just the one service check? Or do you have multiple? It looks like you have 6 logins in a 5-minute period, and 5 minutes is the default check interval for most things, so I would wager to guess that you have 6 ESX checks.
Former Nagios employee
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: ESX monitoring login/logout

Post by sreinhardt »

Unfortunately, thats how vmware choose to make the sdk work, so yes it is fully expected. Box293 has a new agent and wizard out for vmware that you might want to take a look at instead: http://exchange.nagios.org/directory/Pl ... re/details
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: ESX monitoring login/logout

Post by snapon_admin »

Yeesh, ok yeah that's annoying. I'll take a look at that plugin, thanks. Looks like it uses vSphere? Is that using passive checks using NRDP? We also found this one while looking into this issue: http://exchange.nagios.org/directory/Pl ... er/details Is that one similar to the one you linked or would one be better than the other?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: ESX monitoring login/logout

Post by slansing »

I've personally tested the new plugin and guide by Box, it works great! It actively queries a vMA system via ssh. You can use it for vCenter/vSphere, or ESX I believe. It's all in his documentation.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: ESX monitoring login/logout

Post by snapon_admin »

K, sweet. We'll look into that, Thanks!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: ESX monitoring login/logout

Post by slansing »

Great! Let us know if you need help.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: ESX monitoring login/logout

Post by Box293 »

sreinhardt wrote:Unfortunately, thats how vmware choose to make the sdk work, so yes it is fully expected. Box293 has a new agent and wizard out for vmware that you might want to take a look at instead: http://exchange.nagios.org/directory/Pl ... re/details
You will come across the same login/logout behaviour with box293_check_vmare, it's just how the VMware SDK works.

It will work with stand alone ESX(i) hosts, a vCenter server is not required. It's all there in the documentation :D
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked