Apigee Monit : "API Level Check" Failure of Apigee component did not return false

When I stop the Router and run the below command returns following output.

curl http://<IPAddress>:8081/v1/servers/self

Failed connect to <IPAddress>:8081; Connection refused


As per documentation https://docs.apigee.com/private-cloud/v4.19.06/what-monitor

*********

See the individual sections below for information on running this command for each component

This call returns the "true" and "false". For best results, you can also issue API calls directly on the backend (with which Apigee software interacts) in order to quickly determine whether an error exists within the Apigee software environment or on the backend.

*******

Document indicates it will return “false” but the command returned “Failed connect to <IPAddress>:8081; Connection refused” when router was stopped instead of false Why ?

Q: When the Curl command will return “false” ?

Q: when router or any other Apigee component stops, is this expected output ? “Failed connect to <IPAddress>:8081; Connection refused”

Note: When router was running it returned “True” as below

{

"buildInfo" : {

"buildNumber" : "4444",

"buildTimestamp" : "44444",

"rPMName" : "CCGG",

"releaseID" : "4444",

"sCMBranch" : "origin/OPDK_1906",

"sCMRevision" : "JJJJVVVV411a6da42TTTT"

},

"externalHostName" : "HOSTNAME",

"externalIP" : "<IP-Address>",

"internalHostName" : "HOSTNAME",

"internalIP" : "<IP-Address>",

"isUp" : true,

"pod" : "gateway",

"reachable" : true,

"region" : "xx-1",

….

……

"type" : [ "router" ],

0 0 69
0 REPLIES 0