update config file options
This commit is contained in:
		
							parent
							
								
									cddf2942b0
								
							
						
					
					
						commit
						6197177a45
					
				|  | @ -23,6 +23,10 @@ | ||||||
|   # This controls on which ip and port /metrics is exported when mode is "prometheus". |   # This controls on which ip and port /metrics is exported when mode is "prometheus". | ||||||
|   # This has no effect in other modes. Must contain a colon and port. |   # This has no effect in other modes. Must contain a colon and port. | ||||||
|   http_listen = "0.0.0.0:9130" |   http_listen = "0.0.0.0:9130" | ||||||
|  |   # Adding an SSL Cert and Cert Key will make Poller listen with SSL/https. | ||||||
|  |   ssl_cert_path = "" | ||||||
|  |   ssl_key_path  = "" | ||||||
|  |   # Errors are rare. Setting this to true will report them to Prometheus. | ||||||
|   report_errors = false |   report_errors = false | ||||||
| 
 | 
 | ||||||
| [influxdb] | [influxdb] | ||||||
|  |  | ||||||
|  | @ -8,6 +8,8 @@ | ||||||
|   "prometheus": { |   "prometheus": { | ||||||
|     "disable":       false, |     "disable":       false, | ||||||
|     "http_listen":   "0.0.0.0:9130", |     "http_listen":   "0.0.0.0:9130", | ||||||
|  |     "ssl_cert_path": "", | ||||||
|  |     "ssl_key_path":  "", | ||||||
|     "report_errors": false |     "report_errors": false | ||||||
|   }, |   }, | ||||||
| 
 | 
 | ||||||
|  | @ -25,9 +27,9 @@ | ||||||
|      "enable":        false, |      "enable":        false, | ||||||
|      "port":          37288, |      "port":          37288, | ||||||
|      "html_path":     "/usr/lib/unifi-poller/web", |      "html_path":     "/usr/lib/unifi-poller/web", | ||||||
|      "ssl_cert_path": "" |      "ssl_cert_path": "", | ||||||
|      "ssl_key_path":  "" |      "ssl_key_path":  "", | ||||||
|      "max_events":    200 |      "max_events":    200, | ||||||
|      "accounts": { |      "accounts": { | ||||||
|         "captain": "$2a$04$mxw6i0LKH6u46oaLK2cq5eCTAAFkfNiRpzNbz.EyvJZZWNa2FzIlS" |         "captain": "$2a$04$mxw6i0LKH6u46oaLK2cq5eCTAAFkfNiRpzNbz.EyvJZZWNa2FzIlS" | ||||||
|      } |      } | ||||||
|  |  | ||||||
|  | @ -13,6 +13,8 @@ poller: | ||||||
| prometheus: | prometheus: | ||||||
|   disable:       false |   disable:       false | ||||||
|   http_listen:   "0.0.0.0:9130" |   http_listen:   "0.0.0.0:9130" | ||||||
|  |   ssl_cert_path: "" | ||||||
|  |   ssl_key_path:  "" | ||||||
|   report_errors: false |   report_errors: false | ||||||
| 
 | 
 | ||||||
| influxdb: | influxdb: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue