mirror of
https://github.com/MrUnknownDE/linux-script.git
synced 2026-04-18 06:13:51 +02:00
add ip_variable
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
|
IP=$(ifconfig ppp0 | head -n 2 | tail -n 1 | cut -d: -f2 | cut -d" " -f 1)
|
||||||
clear
|
clear
|
||||||
echo "################################################"
|
echo "################################################"
|
||||||
echo "# #"
|
echo "# #"
|
||||||
@@ -154,13 +155,18 @@ echo "##########################################################################
|
|||||||
echo ""
|
echo ""
|
||||||
echo "DE >"
|
echo "DE >"
|
||||||
echo "Wenn alles geklappt hat, funktioniert Prometheus und Node_Exporter wunderbar!"
|
echo "Wenn alles geklappt hat, funktioniert Prometheus und Node_Exporter wunderbar!"
|
||||||
echo "Beides kannst du unter http://<IP>:9090/, http://<IP>:9100"
|
echo "Beides kannst du unter"
|
||||||
echo "und"
|
echo "http://$IP:9090/"
|
||||||
echo "http://<IP>:3000/ erreichen"
|
echo "http://$IP:9100/"
|
||||||
|
echo "http://$IP:3000/"
|
||||||
|
echo "erreichen"
|
||||||
|
echo ""
|
||||||
echo "EN >"
|
echo "EN >"
|
||||||
echo "If everything went well, Prometheus and Node_Exporter will work wonderfully!"
|
echo "If everything went well, Prometheus and Node_Exporter will work wonderfully!"
|
||||||
echo "You can access both at http://<IP>:9090/, http://<IP>:9100"
|
echo "You can access at"
|
||||||
echo "and"
|
echo "http://$IP:9090/"
|
||||||
echo "http://<IP>:3000/ to reach"
|
echo "http://$IP:9100/"
|
||||||
|
echo "http://$IP:3000/"
|
||||||
|
echo "to reach"
|
||||||
echo ""
|
echo ""
|
||||||
echo "###############################################################################"
|
echo "###############################################################################"
|
||||||
Reference in New Issue
Block a user