DX Infrastructure Management

Expand all | Collapse all

Net_connect probe - Bulk onboarding

Jump to Best Answer
  • 1.  Net_connect probe - Bulk onboarding

    Posted 01-24-2019 07:20 AM

    Hello CA Guys,

     

    We have a new customer that got 6000 devices to managed services.

     

    We would like to know if is possible to input (onboarding) all devices on net_connect probe in only one bulk.

    Like spreedsheet --> API ---> net_connect.

     

    It is not good to know that we need to fill out 6000 devices one by one on net_connect,.

    I am searching for a new way to do that.

     

    Regards,

    Jean Gomes 



  • 2.  Re: Net_connect probe - Bulk onboarding

    Posted 01-24-2019 08:46 AM

    You can copy all the devices in word pad ,open the net connect probe drag and drop the IP to probe 



  • 3.  Re: Net_connect probe - Bulk onboarding

    Posted 01-24-2019 08:49 AM

    It is possible to copy IP and Hostname ? 



  • 4.  Re: Net_connect probe - Bulk onboarding

    Posted 01-24-2019 08:55 AM

    not sure of that ,but it can be easily drag and dropped



  • 5.  Re: Net_connect probe - Bulk onboarding
    Best Answer

    Posted 01-24-2019 08:57 AM

    Hi Jean,

     

    The format of the file for one or more nodes should be:

    <IP_address> <hostname>

    Create a new file with entries that are Tab delimited.

    Then highlight all of the entries and click and hold down the mouse button to drag and drop the entries, e.g., into a group you've defined.

    The new profiles will pick up whatever probe defaults you defined in the net_connect probe.

    Then click Ok to restart the probe.

     

    Steve



  • 6.  Re: Net_connect probe - Bulk onboarding

    Posted 01-24-2019 11:28 AM

    And if you don't want the defaults but have a rule you can also build the whole configuration stanza in Excel.

     

    use a formula like:

     

    ="<" & B1 & "> overwrite
    active = yes
    QoS = yes
    ping = no
    interval = 2min" & "
    hostname = " & B1 & "
    ip = " & C1 & "
    timeout = 10
    failures = 1 " & "
    retries = 3
    dynamic_ip_monitoring = no
    msg_ok = MsgConnectOk_RADSUITE" & "
    msg_fail = MsgConnectFail_RADSUITE
    qos_source = 3
    source = 2
    target = 2" & "
    icmp_size = 0
    flags = 0
    group = Devices
    alarm = 1" & "
    threshold_ok = ping threshold OK_RADSUITE
    threshold_fail = ping threshold failed_RADSUITE
    icmp_threshold = 500
    alarm_on_packet_loss = yes
    packets_to_send = 10" & "
    max_packets_lost = 2
    qos_on_packets_lost = yes
    packetloss_ok = MsgPacketLossOK_RADSUITE
    packetloss_fail = MsgPacketLossFail_RADSUITE
    delay_between_packet_to_send = 30000" & "
    qos_on_packets_jitter = No
    qos_on_packets_latency = No
    max_jitter =
    alarm_on_jitter = 0
    <services> overwrite" & "
    <" & E1 & "> overwrite
    active = yes
    alarm = yes
    QoS = yes" & "
    wait_to_send_command = no
    wait_to_send_command_value = 0
    msg_ok = MsgServiceOk_RADSUITE
    msg_fail = MsgServiceFail_RADSUITE" & "
    timeout = 10
    retries = 3
    delay_between_retries = 0
    challengeresponsetimeout = 1000
    sendcommand = no
    responsemustcontain = no" & "
    sendcommand2 = no
    response2mustcontain = no
    sendcommand3 = no" & "
    response3mustcontain = no
    </" & E1 & ">
    </services>
    </" & B1 & ">"

     

    Select the column in Excel, paste into Word, select the column in the table, paste into notepad, select the content in notepad, paste into the configuration cfx in a package. (the gyrations here are necessary because the paste from excel into the package editor carries along some of hte formatting. going to Word and then notepad strips that off while retaining the formatting) Drag that package to the netconnect probe.



  • 7.  Re: Net_connect probe - Bulk onboarding

    Posted 01-24-2019 09:01 PM


  • 8.  Re: Net_connect probe - Bulk onboarding

    Posted 01-25-2019 11:31 AM
      |   view attached

    Another method, assuming a comfort level with Perl scripting, is using a Perl script and templates that will read in a text file and output a net_connect configuration (cfx file) that can be put in an archive configuration only package and deployed to the target net_connect probe(s). It uses templates and variable substitution for creating the cfx file from the text file input. I have attached a zip file with the Perl script, templates and sample input file. It has been a number of years since I created this, so you will want to review it and make sure the templates include what you need in the profiles.

    Attachment(s)

    zip
    netconnect2008.zip   34K 1 version