This repository has been archived by the owner on Mar 3, 2019. It is now read-only.
forked from guillaume-philippon/python-itop-api
/
python-itop-api.cfg.example
47 lines (45 loc) · 1.81 KB
/
python-itop-api.cfg.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This is an example configuration file. copy or rename it to 'python-itop-api.cfg' and edit the values.
# At least hostname, username and password will have to be changed.
# Make sure to leave 'form' as an allowed login type within Itop's configuration.
[main]
hostname: itop.example.com
username: demouser
password: demopass
protocol: https
base_uri: /
api_version: 1.0
api_suffix: /webservices/rest.php
# If you set this value to true, the api will only pretend deleting objects.
# Useful only for debugging purposes
simulate_deletes: False
# If you set this value to true, the api will check if an object with the same name already exists before saving.
# Checks can take some time because the itop rest api is slow
prevent_duplicates: False
# Default organization when adding servers or VMs
organization:
# Default virtualhost when adding VMs
virtualhost:
[centreon]
# Centreon CLAPI username
username: admin
# Centreon CLAPI password
password: pass
# Centreon CLAPI executable
clapi_path: /usr/bin/centreon
[vcenter]
# VCenter host
host: localhost
# VCenter port. HTTPS (443) is the default
port: 443
# User allowed to log in to the VCenter
username: admin
# Associated password (strongly discouraged ; prefer leaving blank and entering it when promped)
password:
# Allow unsecure HTTPS connections (e.g. with a self-signed certificate). Thanks PEP 466.
unsecure = 0
# Synchronization modes for Clusters (iTop Farms). The list can only contain add (add Cluster not found in iTop), update and delete
cluster_sync_mode = ["add", "update"]
# Synchronization modes for Hosts (iTop Servers). The list can only contain add (add Hosts not found in iTop), update and delete
host_sync_mode = ["add", "update"]
# Synchronization modes for VMs. The list can only contain add (add VMs not found in iTop), update and delete
vm_sync_mode = ["add", "update"]