This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Inherit username/password credentials in Python Script with Window Script Monitor in SAM

So, I'm unable to pass (to inherit) saved username/password credentials on a Python script in the Window Script Monitor section of an Application Monitor Template.

The only way my script will work is if I embed the username and password within the python script.

I want to know if this is a bug or can I resolved this in some way? Or is does this not work because I have NPM/SAM is running on a Windows machine?

This works: Embed Credentials

# These values will be interpolated by solarwinds prior to passing the script to python

HOSTNAME = "${IP}"

USERNAME = "user123"

PASSWORD = "pass123"

This doesn't: Inherit Credentials

HOSTNAME = "${IP}"

USERNAME = "${USER}"

PASSWORD = "${PASSWORD}"