Versions Compared

Key

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

Table of Contents

...

Info

If we have custom net types, node types or role types in any poller, we also add these types into our nmis configuration file (nmis9/conf/Config.nmis) in the masterprimary

"roletype_list" => "default,core,distribution,access",
"nettype_list" => "default,wan,lan,vpn,man,san,voice",
"nodetype_list" => "default,generic,switch,router,firewall,server",

...

System Admin API options

Configuration API

Update configuration items using the API.

Note: User should be authenticated. 

Update configuration item for the local server: 

POST http://volla.opmantek.net:6042/en/omk/admin/api/v2/config/Config

{"system" : {"nettype_list":"wan,lan,vpn,man,san,voice,default,cpe,mnd"}}

Update a configuration item for all the peers in the cluster:

POST http://volla.opmantek.net:6042/en/omk/admin/api/v2/config/remote/Config
{"system" : {"nettype_list":"wan,lan,vpn,man,san,voice,default,cpe,mnd"}}