ESXi Session ended unexpectedly

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

ESXi Session ended unexpectedly

Post by sac1472 »

Hello,
I've added 150 ESXi in monitoring. i'm using one vCenter session file to login & monitor all 150 esxi. It's works well but manytimes, that session file gets ended unexpectedly with below error ---
Session file ended unexpectedly at /usr/share/perl5/VMware/VICommon.pm line 85

due to above issue of session file, my all esx checks goes in critical, but there is no real issue. it's just session file issue.
there are total 810 checks- which are using that one session file for authentication.

why vCenter session is getting ended unexpectedly ?
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

Re: ESXi Session ended unexpectedly

Post by sac1472 »

@lmiltchev - could you please take a look at above issue ? as i think, you have idea about working of vcenter sessions...
Please reply ASAP.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ESXi Session ended unexpectedly

Post by lmiltchev »

It is possible that you are hitting a session limit. Try changing your check intervals from 5 min to 10 or 15 min to see if this is going to solve the issue.

Note: You can modify your checks faster (or with "one go") via the Bulk Modifications Tool (Check a single configuration option -> Check period) in Nagios XI Enterprise Edition. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

Re: ESXi Session ended unexpectedly

Post by sac1472 »

Thanks @lmiltchev :D
rather than increasing nagios check intervals, can we increase concurrent connections limit for a session at vCenter Side ?
Also, i had found a similar issue like below , where they are saying to modify vCenter variable Perf.Stats.MaxCollectionThreads
. do you have any idea about that ?
https://kb.paessler.com/en/topic/30643- ... tems-pe121
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ESXi Session ended unexpectedly

Post by lmiltchev »

To be honest with you, I haven't tried modifying these settings but this sounds right. Give it a try. If this doesn't work, you could always switch back to the old values.

You should also consider running your checks less frequently.
To minimize load we strongly recommend that you use a scanning interval of 5 minutes or more.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked