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:
for /f "tokens=1,2 delims=+ " %%a in ("%1") do set DEVICE1=%%a&set
@explorer.exe "https://%NETLD_SERVER%/#username=*****&password=******&random=%R ANDOM%&action=diff&device=%DEVICE1%+%DEVICE2%"
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 ”diﬀ.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
Arguments cmd.exe /c diff.bat $A
Use Selected Object checkbox Enable
In order to check the menu behavior, select a map object in SNMPc map and click on the new
netLD config diﬀscreen opens if any object is selected. If you select two devices, configurations comparison screen of the devices shows up.
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.
Traps are sent only when the configuration diﬀers from the last backup.
Click on the 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.
Confirm the receiver is correctly listed in the receivers list and click on the OK button to save the change.