Query RRD for past data in the vac. Epoch supports from and o time represented in seconds pass epoch.
This is the same value as issuing the following on the command line:
> date +%s
Query RRD for past data in the vac. The following samples are supported.
10 min in 1 sec resolution
20 min in 2 sec resolution
45 min in 3 sec resolution
125 min in 5 sec resolution
1 hour in 1 min resolution
The {graph_name} supported are as follows.
avghitratio
reqpersec
trafficserved
hitvsmiss
cnnvsrequest
badthings
memoryvslru
The purpose of the graph is the group counters with a name.
Query RRD for past data in the vac. Epoch supports from and o time represented in seconds pass epoch.
This is the same value as issuing the following on the command line:
> date +%s
Query RRD for past data in the vac. The following samples are supported.
10 min in 1 sec resolution
20 min in 2 sec resolution
45 min in 3 sec resolution
125 min in 5 sec resolution
1 hour in 1 min resolution
The {graph_name} supported are as follows.
avghitratio
reqpersec
trafficserved
hitvsmiss
cnnvsrequest
badthings
memoryvslru
The purpose of the graph is the group counters with a name.
Query RRD for past data in the vac. Epoch supports from and o time represented in seconds pass epoch.
This is the same value as issuing the following on the command line:
> date +%s
Query RRD for past data in the vac. The following samples are supported.
10 min in 1 sec resolution
20 min in 2 sec resolution
45 min in 3 sec resolution
125 min in 5 sec resolution
1 hour in 1 min resolution
The {graph_name} supported are as follows.
avghitratio
reqpersec
trafficserved
hitvsmiss
cnnvsrequest
badthings
memoryvslru
The purpose of the graph is the group counters with a name.
The {consolfunc} can take the following values:
average
min
max
last
first
total
An example of the response containing `{avghitratio}` graph related counters
```json
{
"id": "59d623cabf085f6187eb9d5f",
"name": "alfredo",
"nodes": [
{
"id": "5989c76d436cde7136986b36",
"name": "192.168.50.104:46085_cache4",
"summary": {
"param_changeset": {
"auto_restart": {
"default": "Default is: on",
"description": "Automatically restart the child/worker process if it dies.",
"unit": "bool",
"value": "off"
},
"cli_timeout": {
"default": "Default is: 60.000",
"description": "Timeout for the childs replies to CLI requests from the mgt_param.",
"unit": "seconds",
"value": "10.000"
}
},
"param_consistent": false,
"responseStatus": 200,
"responseString": "",
"vcl_consistent": false,
"vcl_name": "demo_20171016_113858_59e47e3"
}
},
{
"id": "5989c77e436cde7136986b3a",
"name": "192.168.50.103:36085_cache3",
"summary": {
"param_changeset": {
"auto_restart": {
"default": "on",
"description": "Automatically restart the child/worker process if it dies.",
"max": "",
"min": "",
"unit": "bool",
"value": "off"
},
"cli_timeout": {
"default": "60.000",
"description": "Timeout for the childs replies to CLI requests from the mgt_param.",
"max": "",
"min": "0.000",
"unit": "seconds",
"value": "10.000"
}
},
"param_consistent": false,
"responseStatus": 200,
"responseString": "",
"vcl_consistent": false,
"vcl_name": "demo_20171016_113858_59e47e3"
}
},
{
"id": "5989c787436cde7136986b3e",
"name": "127.0.0.1:17085_c1",
"summary": {
"param_changeset": {
"auto_restart": {
"default": "on",
"description": "Automatically restart the child/worker process if it dies.",
"max": "",
"min": "",
"unit": "bool",
"value": "off"
},
"cli_timeout": {
"default": "60.000",
"description": "Timeout for the child's replies to CLI requests from the manager process.",
"max": "",
"min": "0.000",
"unit": "seconds",
"value": "10.000"
},
"debug": {
"default": "none",
"description": "Enable/Disable various kinds of debugging. none Disable all debugging\n\nUse +/- prefix to set/reset individual bits: req_state VSL Request state engine workspace VSL Workspace operations waiter VSL Waiter internals waitinglist VSL Waitinglist events syncvsl Make VSL synchronous hashedge Edge cases in Hash vclrel Rapid VCL release lurker VSL Ban lurker esi_chop Chop ESI fetch to bits flush_head Flush after http1 head vtc_mode Varnishtest Mode witness Emit WITNESS lock records vsm_keep Keep the VSM file on restart probe VSL health probe events cli CLI debug log to syslog slow_start Add 3 seconds to CLI start",
"max": "",
"min": "",
"unit": "",
"value": "+cli"
},
"startup_timeout": {
"default": "60.000",
"description": "Timeout for CLI commands during the child's startup, including automatic restarts from the manager. This parameter only takes effect if it is larger than cli_timeout.\n\nNB: We do not know yet if it is a good idea to change this parameter, or if the default value is even sensible. Caution is advised, and feedback is most welcome.",
"max": "",
"min": "0.000",
"unit": "seconds",
"value": "60000.000"
}
},
"param_consistent": false,
"responseStatus": 200,
"responseString": "",
"vcl_consistent": false,
"vcl_name": "demo_20171016_113858_59e47e3"
}
}
]
}
```
```json
{
"id": "5a1bffeffbeaa340e6a6a81d",
"name": "policy-engine",
"nodes": [
{
"id": "5a33a0fa41866e474b26d9c2",
"name": "192.168.50.101:6085_cache1",
"summary": {
"panic": "Child has not panicked or panic has been cleared",
"paramChangeset": {},
"ping": "PONG 1517235640 1.0",
"responseStatus": 200,
"responseString": "",
"status": "Child in state running",
"vclList": {
"vcls": [
{
"mode": "auto",
"name": "boot",
"status": "active",
"temp": "warm"
}
]
}
}
},
{
"id": "5a33a14f41866e474b26d9cd",
"name": "192.168.50.102:6085_cache2",
"summary": {
"panic": "Child has not panicked or panic has been cleared",
"paramChangeset": {},
"ping": "PONG 1517235640 1.0",
"responseStatus": 200,
"responseString": "",
"status": "Child in state stopped",
"vclList": {
"vcls": [
{
"mode": "auto",
"name": "boot",
"status": "active",
"temp": "warm"
}
]
}
}
}
]
}
```
```json
{
"id": "5a1bffeffbeaa340e6a6a81d",
"name": "policy-engine",
"nodes": [
{
"id": "5a33a0fa41866e474b26d9c2",
"name": "192.168.50.101:6085_cache1",
"summary": {
"panic": "Child has not panicked or panic has been cleared",
"paramChangeset": {},
"ping": "PONG 1517235621 1.0",
"responseStatus": 200,
"responseString": "",
"status": "Child in state running",
"vclList": {
"vcls": [
{
"mode": "auto",
"name": "boot",
"status": "active",
"temp": "warm"
}
]
}
}
},
{
"id": "5a33a14f41866e474b26d9cd",
"name": "192.168.50.102:6085_cache2",
"summary": {
"panic": "NoSuchElementException. Root cause can be that varnish-agent is unreachable from the vac. Reasons could be firewall, agent is down, or incorrect username/password/agent-ip/agent-port?",
"paramChangeset": {},
"ping": "NoSuchElementException. Root cause can be that varnish-agent is unreachable from the vac. Reasons could be firewall, agent is down, or incorrect username/password/agent-ip/agent-port?",
"responseStatus": 503,
"responseString": "NoSuchElementException. Root cause can be that varnish-agent is unreachable from the vac. Reasons could be firewall, agent is down, or incorrect username/password/agent-ip/agent-port?",
"status": "NoSuchElementException. Root cause can be that varnish-agent is unreachable from the vac. Reasons could be firewall, agent is down, or incorrect username/password/agent-ip/agent-port?",
"vclList": {}
}
}
]
}
```
**The response below is reduced for clarity**
```json
{
"group": "alfredo",
"nodes": [
{
"id": "5989c76d436cde7136986b36",
"name": "192.168.50.104:46085_cache4",
"params": {
"accept_filter": {
"default": "off",
"description": "Enable kernel accept-filters (if available in the kernel).\n\nNB: This parameter will not take any effect until the child process has been restarted.",
"unit": "bool",
"value": "off"
},
"acceptor_sleep_decay": {
"default": "0.9",
"description": "If we run out of resources, such as file descriptors or worker threads, the acceptor will sleep between accepts. This parameter (multiplicatively) reduce the sleep duration for each successful accept. (ie: 0.9 = reduce by 10%)\n\nNB: We do not know yet if it is a good idea to change this parameter, or if the default value is even sensible. Caution is advised, and feedback is most welcome.",
"unit": "",
"value": "0.9"
},
........
"workspace_thread": {
"default": "2k",
"description": "Bytes of auxiliary workspace per thread. This workspace is used for certain temporary data structures during the operation of a worker thread. One use is for the io-vectors for writing requests and responses to sockets, having too little space will result in more writev(2) system calls, having too much just wastes the space.\n\nNB: This parameter may take quite some time to take (full) effect.",
"max": "8k",
"min": "0.25k",
"unit": "bytes",
"value": "2k"
}
}
}
]
}
```
```json
{
"group": "alfredo",
"nodes": [
{
"changeset": {
"auto_restart": {
"default": "Default is: on",
"description": "Automatically restart the child/worker process if it dies.",
"unit": "bool",
"value": "off"
},
"cli_timeout": {
"default": "Default is: 60.000",
"description": "Timeout for the childs replies to CLI requests from the mgt_param.",
"unit": "seconds",
"value": "10.000"
}
},
"id": "5989c76d436cde7136986b36",
"name": "192.168.50.104:46085_cache4"
},
{
"changeset": {
"auto_restart": {
"default": "on",
"description": "Automatically restart the child/worker process if it dies.",
"max": "",
"min": "",
"unit": "bool",
"value": "off"
},
"cli_timeout": {
"default": "60.000",
"description": "Timeout for the childs replies to CLI requests from the mgt_param.",
"max": "",
"min": "0.000",
"unit": "seconds",
"value": "10.000"
}
},
"id": "5989c77e436cde7136986b3a",
"name": "192.168.50.103:36085_cache3"
},
{
"changeset": {
"auto_restart": {
"default": "on",
"description": "Automatically restart the child/worker process if it dies.",
"max": "",
"min": "",
"unit": "bool",
"value": "off"
},
"cli_timeout": {
"default": "60.000",
"description": "Timeout for the child's replies to CLI requests from the manager process.",
"max": "",
"min": "0.000",
"unit": "seconds",
"value": "10.000"
},
"debug": {
"default": "none",
"description": "Enable/Disable various kinds of debugging. none Disable all debugging\n\nUse +/- prefix to set/reset individual bits: req_state VSL Request state engine workspace VSL Workspace operations waiter VSL Waiter internals waitinglist VSL Waitinglist events syncvsl Make VSL synchronous hashedge Edge cases in Hash vclrel Rapid VCL release lurker VSL Ban lurker esi_chop Chop ESI fetch to bits flush_head Flush after http1 head vtc_mode Varnishtest Mode witness Emit WITNESS lock records vsm_keep Keep the VSM file on restart probe VSL health probe events cli CLI debug log to syslog slow_start Add 3 seconds to CLI start",
"max": "",
"min": "",
"unit": "",
"value": "+cli"
},
"startup_timeout": {
"default": "60.000",
"description": "Timeout for CLI commands during the child's startup, including automatic restarts from the manager. This parameter only takes effect if it is larger than cli_timeout.\n\nNB: We do not know yet if it is a good idea to change this parameter, or if the default value is even sensible. Caution is advised, and feedback is most welcome.",
"max": "",
"min": "0.000",
"unit": "seconds",
"value": "60000.000"
}
},
"id": "5989c787436cde7136986b3e",
"name": "127.0.0.1:17085_c1"
}
]
}
```