[Check_mk (english)] ESX - Agent exited code 1

Tony Pereira pereira.tony at gmail.com
Wed Jul 20 04:47:52 CEST 2016


Hi Marcel,

I am running python 2.7.12.

I have defined checks under the
Host Service Parameters
Active Checks
Classical active and passive Monitoring checks
I have 11 check rules defined.

I have downladed the check_vmware_api.pl  from op5 and defined checks.

I didnt realize there was another way to define esx checks.

How do i remove the ssl certificate parameter?

On Tue, Jul 19, 2016 at 5:04 PM, Marcel Schulte <schulte.marcel at gmail.com>
wrote:

> Hi Tony,
>
> the shown error comes from ~/share/check_mk/agents/special/agent_vsphere
> so I bet you're wrong by saying you'd use check_vmware_api.pl ;)
>
> Which Python version are you using? Since 2.7.9 Python is more restrictive
> in using/validating ssl certificates.
>
> When you check your datasource program configuration for the affected host
> it may be possible (I'm at 1.2.8p5, don't remember whether this is
> available in 1.2.6p12) you've a param to change (or even deactivate) ssl
> cert validation...
>
> If not, report back.
>
> Regards,
> Marcel
>
> Tony Pereira <pereira.tony at gmail.com> schrieb am Di., 19. Juli 2016 um
> 21:06 Uhr:
>
>> Hello,
>>
>>
>>
>> Everything was working fine until I did an update on the Ubuntu, I am
>> assuming it updated python.
>>
>>
>>
>> I am getting the following messages when it checks my esx host servers.
>>
>>
>>
>> CRIT - Agent exited with code 1: Cannot connect to vSphere Server. Maybe
>> you provided wrong credentials. Please check your connection settings and
>> try again. Error message: SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED]
>> certificate verify failed (_ssl.c:590)')
>>
>>
>>
>> The command line I am running for all my checks are as follows, of course
>> changed for different resources being monitored, MEM, CPU, etc….;
>>
>>
>>
>> ./check_vmware_api.pl -H $HOSTADDRESS$ -l MEM -u $USER11$ -p $USER12$ -s
>> usage -w 80 -c 90
>>
>>
>>
>> I am on Ubuntu 12.04 with check_mk 1.2.6p12
>>
>>
>>
>> Thanks in in advance for any assistance
>> _______________________________________________
>> checkmk-en mailing list
>> checkmk-en at lists.mathias-kettner.de
>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20160719/097a5a30/attachment.html>


More information about the checkmk-en mailing list