Page 1 of 1
Port Monitoring for ESXi hosts
Posted: Tue May 04, 2021 8:00 am
by sneha.irali
Hi Team,
We have few DMZ Esxi hosts and ICMP is been blocked by the client and hence we need to find out another method to monitor the Esxi host UP/Down status.
443 Port is allowed.
How do we achieve this.
Re: Port Monitoring for ESXi hosts
Posted: Tue May 04, 2021 3:33 pm
by gsmith
Hi,
You could use check_tcp and specify the port of 443:
Image3.jpg
The result:
Image9.jpg
You should set the -c (critical setpoint) to what makes sense for your network.
Thanks
Re: Port Monitoring for ESXi hosts
Posted: Wed May 05, 2021 12:15 am
by sneha.irali
Hi,
Can you please define as to what the -c is used for and where I would have to specify it, is it as and $ARG2$ as $ARG1$ will be 443.
Re: Port Monitoring for ESXi hosts
Posted: Wed May 05, 2021 10:22 am
by gsmith
Hi
-c is the critical setpoint. There is also a -w for warning setpoint. We will use only the -c because we are testing
for an "up or down" case. I chose "-c 10", what that means is we are giving the remote host 10 seconds to respond
to the tcp connection request.
Here are all the options for the "check_tcp" command:
cmd.txt
And here is how to set up the command in Nagios xi:
Image10.jpg
second tab:
Image11.jpg
Thanks