4.4 Integration with External Network Management Software



 In this section, we describe the method to interact with external Network Management Software (NMS)  such as SNPMc.

 

4.4.1   Interaction with SNMPc

 

 

After version 10.10 or above, netLD and SNMPc network manager has the improved collaboration. 



netLD get a device configuration from SNMPc  and manages the configuration history. 



Follow the instructions below, but we assume a windows environment.




First, create a following batch script: 

-------------------------------------------

@echo off

@setlocal

set NETLD_SERVER=*********

set NETWORK=Default

for /f "tokens=1,2  delims=+ "  %%a  in ("%1")   do  set DEVICE1=%%a&set

DEVICE2=%%b

@set  DEVICE1=%DEVICE1%@%NETWORK%

@set  DEVICE2=%DEVICE2%@%NETWORK%

@explorer.exe "https://%NETLD_SERVER%/#username=*****&password=******&random=%R ANDOM%&action=diff&device=%DEVICE1%+%DEVICE2%"

exit

-------------------------------------------

 

 However, please note that:

• set NETLD SERVER=********  – fill ***** with the netLD IP address or host name.

• username=********  – fill ***** with netLD login username.

• password=******** – fill ***** with netLD login password.

Save this batch script with an arbitrary name like ”diff.bat” into SNMPc Network Manager install directory.


Second, create a custom menu in SNMPc.

Add the following custom menu by selecting Add Custom Menu in Tool menu.

Here is an example of creating a custom menu to use the above batch script.

Note that when you fill in the Argument field you specify the correct file name

that you have saved the batch file as in the previous instruction.


 

Menu Name                                  arbitrary

Type                                             Run

Arguments                                   cmd.exe  /c diff.bat $A

Use Selected Object checkbox   Enable


blob1477954648911.png


In order to check the menu behavior, select a map object in SNMPc map and click on the new



custom menu.



blob1477954660477.png

netLD  config diffscreen opens if any object is selected. If you select two devices, configurations comparison screen of the devices shows up.



blob1477954693277.png

  To use this feature, configurations for the devices must already be stored in netLD by performing backup.


 

4.4.2   Configuring SNMP Trap Send


netLD is able to send a trap to the network managers when:

1. the device configuration changes

2. a new device was added to/deleted from the netLD  inventory

3. netLD fails to run the backup job, and

4. a compliance status changes in some devices.


To set the trap destination, follow the instructions below.

In Settings window → SNMP Traps enable the checkboxes for the conditions in which netLD  sends a trap.



blob1477954715651.png


Traps are sent only when the configuration differs from the last backup.

Click on the blob1477954747646.png  at the bottom of the Trap receivers list to enter the hostname and the port of the receiver.Also, enter the name of SNMP trap 

community into SNMP community string field. Click on the OK button to add the receiver to the list.


blob1477954780993.png


Confirm the receiver is correctly listed in the receivers list and click on the OK button to save the change.


blob1477954790077.png