|
@ -5,4 +5,4 @@ systemctl start grafana-server |
|
|
|
|
|
|
|
|
firewall-cmd --zone=public --permanent --add-port=3000/tcp |
|
|
firewall-cmd --zone=public --permanent --add-port=3000/tcp |
|
|
sleep 10 |
|
|
sleep 10 |
|
|
curl 'http://admin:admin@localhost:3000/api/datasources' -X POST -H 'Content-Type:application/json;charset=UTF-8' --data-binary '{"name":"OpenNMS","type":"opennms","access":"proxy","url":"http://localhost:8980/opennms","isDefault":true,"basicAuth":true,"basicAuthUser":"admin","basicAuthPassword":"admin"}' |
|
|
|
|
|
|
|
|
# curl 'http://admin:admin@localhost:3000/api/datasources' -X POST -H 'Content-Type:application/json;charset=UTF-8' --data-binary '{"name":"OpenNMS","type":"opennms","access":"proxy","url":"http://localhost:8980/opennms","isDefault":true,"basicAuth":true,"basicAuthUser":"admin","basicAuthPassword":"admin"}' |