Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.
{"status":"Started","startTime":"2021-03-26T08:34:50.873063Z","appserverURL":"AppServer://myhost.local:5162/TEST_WC","scalingInterval":1000,"cleanupInterval":10000,"stateServerPortRangeStart":58100,"stateServerMaxInstances":40,"stateServerMinInstances":30,"stateServerPrestartedInstances":30,"stateServerPrestartRampUp":1,"stateServerEnablePrestart":false,"stateServerTenant":"Test-Host","stateServerStartupTimeout":1800000}
/usr/local/nagios/libexec/check_http -H x.x.x.x -p 51011 -u '/api/status' -U -v
[nagios@NagiosXIAzDev ~]$ /usr/local/nagios/libexec/check_http -H 10.179.3.25 -p 51011 -u '/api/status' -U -v
connect to address 10.179.3.25 and port 51011: Connection refused
HTTP CRITICAL - Unable to open TCP socket
{"status":"Started","startTime":"2021-04-30T08:28:54.4085873Z","appserverURL":"AppServer://APPSRVURL","scalingInterval":500,"cleanupInterval":10000,"stateServerEnablePrestart":false,"stateServerTenant":"Live","stateServerStartupTimeout":1800000}
PS C:\Program Files\NSClient++\scripts> (Invoke-WebRequest http://APPSRVURL:51010/api/status).Content
{"status":"Started","startTime":"2021-04-30T08:28:54.4085873Z","appserverURL":"AppServer://APPSRVURL","scalingInterval":500,"cleanupInterval":10000,"stateServerEnablePrestart":false,"stateServerTenant":"Live","stateServerStartupTimeout":1800000}
ping 10.179.3.25
nmap -Pn -p 51011 10.179.3.25
CHS_Admin@NagiosXIAzPrd:~$ ping 10.179.3.25
PING 10.179.3.25 (10.179.3.25) 56(84) bytes of data.
64 bytes from 10.179.3.25: icmp_seq=1 ttl=128 time=0.916 ms
64 bytes from 10.179.3.25: icmp_seq=2 ttl=128 time=0.958 ms
64 bytes from 10.179.3.25: icmp_seq=3 ttl=128 time=0.902 ms
64 bytes from 10.179.3.25: icmp_seq=4 ttl=128 time=1.29 ms
64 bytes from 10.179.3.25: icmp_seq=5 ttl=128 time=0.894 ms
64 bytes from 10.179.3.25: icmp_seq=6 ttl=128 time=1.14 ms
64 bytes from 10.179.3.25: icmp_seq=7 ttl=128 time=13.4 ms
64 bytes from 10.179.3.25: icmp_seq=8 ttl=128 time=0.905 ms
64 bytes from 10.179.3.25: icmp_seq=9 ttl=128 time=0.952 ms
64 bytes from 10.179.3.25: icmp_seq=10 ttl=128 time=0.843 ms
^C64 bytes from 10.179.3.25: icmp_seq=11 ttl=128 time=0.952 ms
64 bytes from 10.179.3.25: icmp_seq=12 ttl=128 time=0.934 ms
^C
--- 10.179.3.25 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11095ms
rtt min/avg/max/mdev = 0.843/2.013/13.464/3.454 ms
CHS_Admin@NagiosXIAzPrd:~$ nmap -Pn -p 51011 10.179.3.25
Starting Nmap 7.60 ( https://nmap.org ) at 2021-05-12 14:07 UTC
Nmap scan report for 10.179.3.25
Host is up (0.00091s latency).
PORT STATE SERVICE
51011/tcp closed unknown
Nmap done: 1 IP address (1 host up) scanned in 0.15 seconds
curl -k -L -vvv "http://x.x.x.x:51011/api/status"
curl -k -L -vvv "http://x.x.x.x:51011/api/status"
Users browsing this forum: Srinija675276 and 7 guests