Hi,
Please, I´m looking for any way to write a data in the NPM Event log using an alert.
I have an alert that execute an external VBScript:
c:\windows\generate_a_ticket.vbs
these execution returns a ticket number:
TN214806
Is there any way to record these data in the NPM event log using an advanced alert ?
Thanks.
So the way I would do this is to add a section to my script that adds a note to the alert via the SW API. Then just have an escalation that waits a minute or two and then writes the ${note} to the event log, but depending on your goal you might not even need to event since the data you want is already in the system as an alert note
Can you tell me how invoke SWIS using a VBscript ?
vbscript is before my time, I only reliably know how to use powershell
They have samples of code for several languages here
OrionSDK/Samples at master · solarwinds/OrionSDK · GitHub
Specifically this wiki article talks about the verbs relating to Alert Actions, you would be looking to invoke the appendnote verb
Alerts · solarwinds/OrionSDK Wiki · GitHub
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.