...
Code Block | ||||
---|---|---|---|---|
| ||||
%hash = ( 'log_path' => 'log/nmisintegration.log', 'node_admin_path' => '/usr/local/nmis/admin/node_admin.pl', 'node_file_path' => '/usr/local/nmis/conf/Nodes.nmis', 'open_audit_details' => { 'host' => 'https://demo.opmantek.com', 'log_path' => 'log/openauditapi.log', 'password' => 'OA_password', 'user' => 'OA_user' }, 'open_audit_lookup_path' => 'conf/oa_nmis_lookup.nmis', 'integration_rules_path' => 'conf/integration_rules.nmis', 'open_audit_query_ids' => [60, 77], ); |
...
Key | Type | Description | |||||
---|---|---|---|---|---|---|---|
log_path | A string representing either a fully-qualified path , or a path relative to the integration's execution. | The path for the integration log. This log will contain a summary of actions that are taken for each integration, including system calls to node_admin.pl. | |||||
node_admin_path | A string representing either a fully-qualified path , or a path relative to the integration's execution. | The path to the executable for the node admin tool. All interactions with NMIS are controlled via the node admin tool. | |||||
node_file_path | A string representing either a fully-qualified path or a path relative to the integration's execution. | The path to the Nodes.nmis file. This will be backed up before every integration run and saved as [filename].integration.bak. | |||||
integration_rules_path | A string representing either a fully-qualified path, or a path relative to the integration's execution. | The path to the rules file for the integration. The rules file defines how values from Open-AudIT devices should translate into NMIS nodes. It is recommended to give this file a .nmis extension, as it is written in the .nmis format. | |||||
open_audit_lookup_path | A string representing either a fully-qualified path, or a path relative to the integration's execution. | The path to the lookup file for the integration. The lookup file stores mappings between Open-AudIT devices and NMIS nodes. It is recommended to give this file a .nmis extension, as it is written in the .nmis format. | |||||
open_audit_query_ids | An array of integers. OR An array of integers and strings. (Open-AudIT 3.0.0+ only.) | The ID/s of the Open-AudIT queries to be used for this integration. See the section about Open-AudIT queries for more. If using Open-AudIT 3.0.0 or greater, you may also specify query names as well as IDs. For example, this value could be
| |||||
open_audit_details.host | A string representing a URL. | The Open-AudIT server you wish to target for the integration. This should include the protocol, but should NOT include any path. | |||||
open_audit_details.user | A string. | The username of the Open-AudIT user the integration will run under. You should ensure the chosen user has access to all the devices you wish to integration with NMIS. | |||||
open_audit_details.password | A string. | The password of the Open-AudIT user. | |||||
open_audit_details.log_path | A string representing either a fully-qualified path, or a path relative to the integration's execution. | The path to the Open-AudIT log. This log will contain records of all the requests that are made to the Open-AudIT server (excluding authentication requests). |
...