Skip to content

Latest commit

 

History

History

monitoring

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

get Server versins

curl -s -u Administrator:password http:https://192.168.99.100:8091/pools | jq

get usage

curl -s -u Administrator:password http:https://192.168.99.100:8091/pools/default | jq

get node status

curl -s -u Administrator:password http:https://192.168.99.100:8091/nodeStatuses | jq

get logs from node

curl -s -u Administrator:password http:https://192.168.99.100:8091/logs

local monitoring script per 1 second

for i in {1..1000}; do curl -m1 -sS -u Administrator:password http:https://192.168.99.100:8091/nodeStatuses | xargs -L 1 echo $(date +'[%Y-%m-%d %H:%M:%S]') $1 ; sleep 1; done

#docker commands to verify cluseter

docker-machine ls
docker-machine ssh node-A-master docker service ps couchabase