Nutanix device monitoring

after upgrading from 2.2.0 to 2.3.0 plugin not working.
i saw here that
“with CMK 2.3.0 this extension is obsolete as it is builtin already”

Whatever I tried it still not working.

Global Settings - ticked all Nutanix.
Do I need to remove this folder?
“/opt/omd/versions/2.3.0p14.cre/lib/python3/cmk/plugins/prism

i feel lost.

First you should uninstall the mkp.
After this the build-in Nutanix agent should work as before.

Thank you, i did the following:
omd stop
mkp disable nutanix_prism
mkp remove nutanix_prism
omd start

In UI, I have the following rule configured from before:
Setup > Agents > Other integrations > Nutanix Prism
Description: Nutanix-Prism-Login
User ID: monitoring
Password: *******
Explicit hosts (selected): Nutanix-Prism-RL

Had the following error in host Service Discovery:
[ special_prism]: Agent exited with code 1: ERROR 2024-09-10 11:22:49 agent_prism: Connection failed: HTTPSConnectionPool(host=‘10.199.1.200’, port=9440): Max retries exceeded with url: /PrismGateway/services/rest/v2.0/hosts (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)’)))CRIT]

Exported Nutanix certificate using browser, uploaded to server using WinSCP and used the following commands in SSH:
sudo cp _.nutanix.download.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
sudo reboot now

Still the same error.

Inside the special agent config you can select to ignore the certificate error or you import the certificate to the site cert store.
In your case you imported the certificate to the machine store. The update from machine store to site store cannot triggered manually as far as i know.

The old agent from the mkp ignored every time the cert error. :wink:

So in the UI, I go to:
Setup > Agents > Other integrations > Nutanix Prism
Skip TLS certificate verification: Checked

Now it’s working.
Thank you very much.

So in short, for others who might need, this is what I did:

SSH:
sudo omd su sitename
omd stop
mkp disable nutanix_prism
mkp remove nutanix_prism
omd start

UI:
General > Global Settings - Use new service descriptions > tick all Nutanix.
Setup > Agents > Other integrations > Nutanix Prism
Description: Nutanix-Prism-Login
User ID: monitoring
Password: *******
Explicit hosts (selected): NutanixServer
Skip TLS certificate verification: Checked

@andreas-doehler always faster than I am.

Hello Andreas,
I’m using Checkmk Raw Edition 2.2.0p35
I need to setup monitoring for Nutanix again.
My question is, does the nutanix_prism-2.3.mkp plugin work for me? Or should I use a newer one?
I tried to access the link you suggested a while ago, but it gives me a 404 error.
github.com

Regards.
Vix

This was a very old link - please look here.

This is the package for CMK 2.2.

Hello andreas, Thank you very much for your help.

Regards,
Vix