Hi all
Can anyone advise me how to create an extension attribute that will record the result of the command curl ifconfig.me
Many thanks
Andy
Hi all
Can anyone advise me how to create an extension attribute that will record the result of the command curl ifconfig.me
Many thanks
Andy
Best answer by davidacland
You need to set it to be script populated and use:
result=$(curl ifconfig.me)
echo "<result>$result</result>"
I thought the public IP address was in the inventory anyway?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.