Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
You would have to either install some sort of agent on that machine like NRPE that could execute the command, or setup shared ssh keys and execute the command with something like check_by_ssh
thanks but i want run script on VMA for esxi servers as i know check_by_ssh not use for esxi servers that script have to connect to each esxi server and run on esxi servers and i'm sure this topic have to put on nagios demo on vm
and also i did trust between VMA server and nagios server thus can connect to VMA server via nagios server without authentication
i know this script had to run on esxi server via vma server
now i create a trust key between nagios and vma server and when use ssh command from nagios server
ssh vi-admin@vma
also i add my esxi server to vma server while type ssh root@esxi1 on vma server it connect without authentication
it connect to vma server without authentication now my problem is how run above script on vma server through nagios server ?