...
/usr/local/nmis9/bin/nmis-cli act=ensure_indexes debug=9
Then go to
System -> System Configuration -> NMIS Nodes
4)Add the Device Ci to the admin node table
/usr/local/omk/lib/json/admin/table_schemas/admin_node-ip.json
Code Block | ||
---|---|---|
| ||
{ |
...
"name": "nodes.configuration.device_ci", |
...
"label": "Device CI", |
...
"cell": "String", |
...
"editable": false, |
...
"search": "iregex" |
...
} |
5)Add the Device Ci to the opCharts node table
/usr/local/omk/lib/json/opCharts/table_schemas/opCharts_node-list.json{
Code Block | ||
---|---|---|
| ||
{ "name": "nodes.configuration.device_ci", |
...
"label": "Device CI", |
...
"cell": "String", |
...
"editable": false, |
...
"search": "iregex" |
...
} |
6)Add the Device Ci to the admin edit node fields. (admin_nodes.json file will need to be created in the "/usr/local/omk/conf/form_schemas/" directory )
vi /usr/local/omk/conf/form_schemas/admin_nodes.json
Code Block | ||
---|---|---|
| ||
{"label": "Device Ci", |
...
"description": "Edit in conf/form_schemas/admin_nodes.json", |
...
"component": ["node_admin"], |
...
"tags": ["node"], |
...
"schema": { |
...
"configuration.device_ci": { |
...
"title": "Device CI", |
...
"type": "Text"} |
...
}} |
}
To add the device_ci to omk/opCharts/nodes so it shows in the node info table
vi /usr/local/omk/lib/json/opCharts/table_schemas/opCharts_node-summary-table.json and add the device_ci as shown below
...