Probably covered (in detail) in a way I'm not getting but: I wrote an external program that searches a log file. If there is a match on 3 of 5 trigger words then it searches the Windows Registry for the username within that is responsible for the matches. I want to return that username to IPMonitor so that the oncall tech at 3am will not have to try to figure out who it is. It sounds like the Environment Variable function only passes pass/fail type of information (at least that's how I'm reading it). If I want the page to say, for instance, "Username: [insert username found here] has been compromised." how would I go about that? The data between the [ ]'s is what I want to return from the external program to ipmonitor via signal_env.exe.
The External Process Monitor mostly sends up just enough data to determine pass or fail. So the use environment variables is just to transmit an expected number to compare against. What you’re looking to do is a slight bit uncommon, but it works rather well with ipMonitor. My post will show a manner in which any external program (not just programs run with the external process monitor) can send text to yourself.
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.