VMware ESXI8 check_by_ssh


I have a freshly installed icinga2 server on ubuntu 22.04, I want to monitor some services on my ESXI servers.

If I gather the uptime for example with:
/usr/lib/nagios/plugins/check_by_ssh -H -C “uptime” -l nagios

it works, but if I want to get the information with check_procs:
/usr/lib/nagios/plugins/check_by_ssh -H -C “/tmp/check_procs -w 80 -c 90 -m CPU” -l nagios

I got this error message:
Remote command execution failed: sh: /tmp/check_procs: Operation not permitted

On the target side the check_procs under /tmp/have 777 chmod set…

ESXi version: 8.0.0, 21493926

Any idea, or anybody is monitoring the ESXI servers with this method?

I don’t think so and it is even not supported by VMware.