Is there a way to return just the monitor address instead of the extra information it adds
Example:
%monitoraddr% returns the following
servername.whatever:161 (D:\ Label:Data Serial Number 780c5592)
All I want to return is
servername.whatever:161
Also, is it possible to use this token in alerts?
If you examine a monitors internal xml configuration through the Popup XML feature you can target any items under the /nv branch.
You can use %monitor[addr]% to get the address without the description. If you wanted to add the port you could do this %monitor[addr]%:%monitor[port]%.
Thanks for the help Matthew.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.