Monitoring: Show all Interface IP addresses
This commit is contained in:
parent
1ab4a0e129
commit
5ae434a933
1 changed files with 1 additions and 0 deletions
|
@ -5,3 +5,4 @@ if [ "$_IP" == "<%= @protokol_pub_ip %>" ] ;then
|
||||||
_IP=`curl -s 10.0.200.100/ip.sh`
|
_IP=`curl -s 10.0.200.100/ip.sh`
|
||||||
echo $_IP >> /tmp/my_ip
|
echo $_IP >> /tmp/my_ip
|
||||||
fi
|
fi
|
||||||
|
hostname -I | tr " " "\n" >> /tmp/my_ip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue