Trigger Actions: Can we either create custom, or update existing?

Aloha...

I have run into an issue with one of my APM notifications that if the email server is down, I won't get the email so am looking at sending a net message to the computer support team to alert them in addition.  I have a mixed environment of XP and 7 machines, and the existing "Send Windows Net Message" works to the XP machines, but does not get sent to the 7 machines.

Did a little research and MSFT has removed the messenger service from 7, but there is still a command line way to sending windows messages (after you make a tweak to the registry).  What I would like to do, is either adjust the existing Trigger Action to also try with the msg command, or create an new "custom" alert that does the same thing.  I did a little poking around (exported the existing action too) but not sure where the command reference is given.

Is there a way for me to create this, or is this on the drawing board for the next release?

Mahalo.....

  • You should be able to write a small Batch or VB script and then use a trigger action to call that program.  Will this work?

  • Aloha...

    That is a work around, and I use them to restart services and launch programs, but was hoping there was a way to utilize existing infrastructure to correct this.  Especially with 2014 just around the bend.

    Mahalo...



  • Aloha...

    That is a work around, and I use them to restart services and launch programs, but was hoping there was a way to utilize existing infrastructure to correct this.  Especially with 2014 just around the bend.

    Mahalo...



    I believe you have pointed out that it doesn't currently support it due to the changes in Windows 7 thus requiring a work around.

    Am I misunderstanding what you are looking for?

  • Aloha....

    You present a workaround that is doable but, what I am wondering is:  if you go bare bones on the underlying code for the Trigger Action, all Solarwinds is doing is using a nice GUI to get the variables and then issuing code line similar to

    for i = 1 to X (total number of computers in computername)

     net message %computername(i)% %messagedetails%

    next

    I would like to utilize Solarwinds work and just amend it to include or create a new trigger action that calls the msg command.

    If I was to develop a vbs script, I would either need to hardcode (and then remember to update when needed - and where I put them, rather than a single location) the computer names and message, or accept the parameters so that I could utilize it for more than one alert (not sure if you can pass data with the VB script to execute line - or how much data can be passed).

    HTH