Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

In NMIS/opCharts we can add custom validations for custom fields.



1)Add theCustom field name to NMIS, in this example we are using "Device CI" as our custom field name.

/usr/local/nmis9/conf-default/Table-Nodes.nmis1)To add the Device_CI to NMIS

Code Block
languageperl
title/usr/local/nmis9/conf-default/Table-Nodes.nmis
{ device_ci => { header => 'Device CI', display => 'header,text',value => [""] }}, 

...


2)Modify the node_summary_field_list list attribute in /usr/local/nmis9/conf/Config.nmis


Code Block
languageperl
title/usr/local/nmis9/conf/Config.nmis
'node_summary_field_list' => 'host,uuid,customer,fruit,device_ci,businessService,serviceStatus,snmpdown,wmidown',


'node_summary_field_list' => 'host,uuid,customer,fruit,device_ci,businessService,serviceStatus,snmpdown,wmidown',

...