When setting up applications one has the possibility to use a couple pre-defined variables, e.g. ${IP} , ${CREDENTIALS} , ${UserNotes}.
Are there any other variables I can use? e.g ${NodeName} or similar?
Thanks
Michael
Turns out that 99.7% of the variables supported elsewhere in Orion do not work when one uses them in the "Arguments" field of a script monitor. I tried a lot of them but not all.
Here's the ones I've found so far:
${IP}
${Node.Caption}
${Node.DNS}
${Node.SysName}
${Node.Custom.xxx} #Replace xxx for any Custom Property on a node
Examples:
${Node.Custom.Category}
${Node.Custom.DeviceType}
${Node.Custom.Entity_Type}
The short answer - "yes".
Check here, it depends on exactly what you're doing as to what is available.
Variables and examples
Thanks a lot. That's a great resource. I guess I didn't realize one would have access to the entire selection of variables. For some reason I thought there were only a set number of variables available in the argument field of a script component.
Check this link out.
Component Variables list in latest SAM Admin guide...
Good to see you back. Thanks for the link.