Compare commits

...

2 Commits

Author SHA1 Message Date
root
4eb87477e4 re teste zabbix api 2024-01-19 14:57:50 +01:00
root
7d885b08b8 modif port docker-compose 2024-01-19 14:42:50 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -53,8 +53,8 @@ services:
image: nextcloud image: nextcloud
container_name: app container_name: app
restart: always restart: always
ports: #ports:
- 8081:80 #- 8081:80
#links: #links:
depends_on: depends_on:
- db - db

View File

@@ -28,6 +28,6 @@
state: restarted state: restarted
enabled: yes enabled: yes
- name: remonter les machines #- name: remonter les machines
command: curl -X POST -H "Content-Type: application/json" -d '{ "jsonrpc":"2.0","method":"host.create","params": {"host": "s-adm","groups": [{"groupid": "6"}],"templates": [{"templateid": "10343"}],"inventory_mode": 0,"inventory": {"type": 0}},"auth": "a44e2a4977d61a869437739cb6086ae42f4b9937fbb96aed24bbad028469a1cf","id": 1}' http://192.168.99.8/zabbix/api_jsonrpc.php #command: curl -X POST -H "Content-Type: application/json" -d '{ "jsonrpc":"2.0","method":"host.create","params": {"host": "s-itil","groups": [{"groupid": "6"}],"templates": [{"templateid": "10343"}],"inventory_mode": 0,"inventory": {"type": 0}},"auth": "a44e2a4977d61a869437739cb6086ae42f4b9937fbb96aed24bbad028469a1cf","id": 1}' http://192.168.99.8/zabbix/api_jsonrpc.php