mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 11:14:10 +01:00 
			
		
		
		
	Merge pull request #7641 from Icinga/feature/icingadb-change-redis-port
IcingaDB: Update Redis port to use Icinga-Redis
This commit is contained in:
		
						commit
						7849da0b78
					
				| @ -1389,7 +1389,7 @@ Example: | |||||||
| ``` | ``` | ||||||
| object IcingaDB "icingadb" { | object IcingaDB "icingadb" { | ||||||
|   //host = "127.0.0.1" |   //host = "127.0.0.1" | ||||||
|   //port = 6379 |   //port = 6380 | ||||||
|   //password = "xxx" |   //password = "xxx" | ||||||
| } | } | ||||||
| ``` | ``` | ||||||
| @ -1399,7 +1399,7 @@ Configuration Attributes: | |||||||
|   Name                      | Type                  | Description |   Name                      | Type                  | Description | ||||||
|   --------------------------|-----------------------|---------------------------------- |   --------------------------|-----------------------|---------------------------------- | ||||||
|   host                      | String                | **Optional.** Redis host for IcingaDB. Defaults to `127.0.0.1`. |   host                      | String                | **Optional.** Redis host for IcingaDB. Defaults to `127.0.0.1`. | ||||||
|   port                      | Number                | **Optional.** Redis port for IcingaDB. Defaults to `6379`. |   port                      | Number                | **Optional.** Redis port for IcingaDB. Defaults to `6380`. | ||||||
|   path                      | String                | **Optional.** Redix unix socket path. Can be used instead of `host` and `port` attributes. |   path                      | String                | **Optional.** Redix unix socket path. Can be used instead of `host` and `port` attributes. | ||||||
|   password                  | String                | **Optional.** Redis auth password for IcingaDB. |   password                  | String                | **Optional.** Redis auth password for IcingaDB. | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,5 +1,5 @@ | |||||||
| object IcingaDB "icingadb" { | object IcingaDB "icingadb" { | ||||||
|   //host = "127.0.0.1" |   //host = "127.0.0.1" | ||||||
|   //port = 6379 |   //port = 6380 | ||||||
|   //password = "xxx" |   //password = "xxx" | ||||||
| } | } | ||||||
|  | |||||||
| @ -13,7 +13,7 @@ class IcingaDB : ConfigObject | |||||||
| 		default {{{ return "127.0.0.1"; }}} | 		default {{{ return "127.0.0.1"; }}} | ||||||
| 	}; | 	}; | ||||||
| 	[config] int port { | 	[config] int port { | ||||||
| 		default {{{ return 6379; }}} | 		default {{{ return 6380; }}} | ||||||
| 	}; | 	}; | ||||||
| 	[config] String path; | 	[config] String path; | ||||||
| 	[config] String password; | 	[config] String password; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user