Create a small shell script show_ip.sh :
#!/bin/bash IP=$(ip addr show enp13s0 | grep inet | awk '{print $2; exit}' | sed 's/\/.*//') echo "$IP"
chmod +x show_ip.sh
Add a generic monitor:
That's it.