Open for Voting

Need more flexible features in NCM scripts and IOS upgradation.

Dear team,

Currently we are preferring other tools for scripts push and IOS up-gradation. If this features is more flexible then it will be awesome to use solarwinds as a single tool.  

  • I'd recommend using a rule to do this particular set of actions, I am attaching a screenshot of a simple interface rule from our demo. Once you create the rule you will need to apply it to a policy, where you will select which nodes this should be applied to. Then you can create a report and execute.

    Screen Shot 2019-01-23 at 8.59.28 AM.png

  • kindly help me to build REX for the below mention scenarios

    • I need to check the interface config for some configuration if present need to push other configs
    • To compare the configs if some note present as per template need to add. If anything present extra need to remove.

    I have created simple REX scripts to push configs to interface.

    .PARAMETER_LABEL @PhysicalInterfaces

            Select Interface(s)

    .PARAMETER_DESCRIPTION @PhysicalInterfaces

            Select Interface(s) you would like to change config.

    .PARAMETER_LABEL @NewInterfaceConfig

            Interface Config

    .PARAMETER_DESCRIPTION @NewInterfaceConfig

            Enter new Config for interface(s) using , by separating

    */

    script ChangeInterfaceConfigCiscoIOS (

                                               NCM.Nodes @ContextNode,

                                               NCM.Interfaces[] @PhysicalInterfaces,

                                               string @NewInterfaceConfig       )

    {

      // Enter config terminal mode

      CLI

      {

        configure terminal

      }

      foreach (@itf in @PhysicalInterfaces)

      {

         CLI

         {

            interface @itf.InterfaceDescription   

            @NewInterfaceConfig

            exit

         }

      }

       //Exit Config mode 

       CLI {exit}

    }

  • A good SWQL guru could write that for you to execute in the SDK, or automatically in a SolarWinds Compliance Rule's Remediation section.  I apologize for not being a good SWQL guru.  I can barely open the SDK and execute a canned query!

  • Have you reviewed the Compliance module and the ability to create rules? Each rule can run a remediation script if the set of criteria is met.

  • Nicely defined.

    This isn't in my skill set, but I'm interested in knowing if some of the others in this forum can recognize the syntax necessary to make this happen, perhaps in a SQL or SWQL query/command, or perhaps in a custom Job?

    Tagging a few experts, who may either know, or know who knows (in hopes they'll forward this to somebody who can make this happen, or who knows how to customize NCM's Firmware Upgrade to fill these needs):

    sqlrockstar

    Radioteacher

    aLTeReGo

    serena