Versions Compared

Key

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

...

Code Block
#El archivo Table-Nodes.nmis se encuentra en la carpeta /conf-default y de sebera transferir a la carpeta /conf para que los cambios sean operativos.
cp /usr/local/nmis9/conf-default/Table-Nodes.nmis /usr/local/nmis9/conf/Table-Nodes.nmis 

#Se abre el archivo para editar
vi /usr/local/nmis9/conf/Table-Nodes.nmis 

  Poner el codigo 

Codigo de ejemplo.

Code Block
         { community => { mandatory => 'true', header => 'SNMP Community',display => 'text',value => ["$C->{default_communityRO}"] }},
#Campos Customizados
         { country => { mandatory => 'true', header => 'Country',display => 'popup', value => ["Panama"]}},
         { latitude => {header => 'Latitude',display => 'header,text',value => [""],}},
         { longitude => {header => 'Longitude',display => 'header,text',value => [""],}},
         { address => {header => 'Address',display => 'header,text',value => [""], }},
         { bandwith => {header => 'Bandwith_Mbps',display => 'header,text',value => [""], }},
         { circuit => {header => 'Circuit_ID',display => 'header,text',value => [""], }},
         { city => {header => 'City',display => 'header,text',value => [""], }},
         { client => {header => 'Client',display => 'header,text',value => [""], }},
         { comments => {header => 'Comments',display => 'header,text',value => [""], }},
         { customer => {header => 'customer',display => 'header,text',value => [""], }},
         { media=> {header => 'Media',display => 'header,text',value => [""], }},
         { anillo=> {header => 'Anillo',display => 'header,text',value => [""], }},
         { wmi => { special=>'separator', header => "WMI Options", } },
         { wmiusername => { header => "WMI Username", display => 'text', value => [''] }},

2.- En el archivo Config.nmis se agregan los campos nuevos que deseamos visualizar.

...