Table of Contents
Table of Contents |
---|
Feature Overview
IMPORTANT: See opCharts Extra Fields for using the Admin UI for maintaining custom fields.
NMIS supports custom fields, or custom attributes for managed nodes. For example; some organisations may find that a Country attribute is important to them. Once a custom filed is provisioned in NMIS it may be extended to opCharts, where it can be added to the node filter so nodes can be filtered by the new attribute, the the node table so it is possible to see this value for all nodes and to the node view page so the new attribute can be seen when looking at an overview of an individual node.
...
Code Block |
---|
perl -c /usr/local/nmis8/conf/Config.nmis # /usr/local/nmis8/conf/Config.nmis syntax OK |
Configure opCharts4
Code Block |
---|
...
cd /usr/local/ |
...
Edit opCharts_node_selector_sections.json and add the property from the node you wish to display with a label.
Code Block | ||
---|---|---|
| ||
[ { "name" : "catchall.data.nodestatus", "label" : "Node Status" }, { "name" : "configuration.custom", "label" : "Custom Prop" }, .... ] nmis9/admin ./node_admin.pl act=export file=abc.json node=<node_name> vi abc.json |
add "device_ci" : "check" inside "configuration
add "name" : "<node_name>"
./node_admin.pl act=import file=abc.json
Code Block |
---|
./node_admin.pl act=import file=abc.json |
Configure opCharts3
Modify opCommon.nmis
...