Importing Nodes into NMIS8 with SNMPv3 Credentials
When importing your nodes and you wish to change the credentials to SNMPv3, you will need to modify the import_nodes.pl file with the following configuration changes.
here.
if ( $newNodes{$node}{name} ne ""
and $newNodes{$node}{host} ne ""
and $newNodes{$node}{role} ne ""
and $newNodes{$node}{community} ne ""
and $newNodes{$node}{username} ne ""
and $newNodes{$node}{authprotocol} ne ""
and $newNodes{$node}{authpassword} ne ""
and $newNodes{$node}{privprotocol} ne ""
and $newNodes{$node}{privpassword} ne ""
)
and here
This will configure the nodes to import the credentials for SNMPv3. This will not change the SNMP version from v2 to v3. If you wish to change the version, change the following from this.
$LNT->{$nodekey}{version} = $newNodes{$node}{version} || 'snmpv2c';
to this:
$LNT->{$nodekey}{version} = $newNodes{$node}{version} || 'snmpv3';
You can then change your .csv file to add the new content fields as seen in the sample at the top of the page.