...
We can also manage nodes using the API.
configurationnetTypedefaultpolling_policydefaultport161collect1,"threshold1roleTypedefaultping1group"NMIS9"host"asgard.opmantek.net null,
"collect": 1,"community": ""," |
|
locationnullbusinessServicenullnoteshost": "asgard.opmantek.net","host_backup": ""," |
|
activecommunitywmiusername""wmipasswordusernamecontextauthpassword""authkeypolling_policy": "default"," |
|
authprotocolnullprivpasswordprivkeyprivpassword": "",
"privprotocol": null," |
|
serviceStatusnull,nettype:nullroletype":null,"node_context_nameremote_connection_url": ""," |
|
node_context_urlremote_connection_name""remote_connection_url""}activated{opEvents1opConfig0NMIS1"uuid":null,"
"current_user_privileges":
{
" |
|
updatedeletenametestaddressesfriendly_aliasesconfiguration"netTypedefault"polling_policy1_minute"port161","collect":1,"threshold":1,"roleType":"access","ping":1,"group":"EXSI","active":1,"addresses":[1"
},
"addresses":
[],
"aliases":
[],
"cluster_id": "a515c63a-0d11-4bcb-a402-39a4600aebb9",
"configuration":
{
"active": 1,
"addresses":
[
"192.168.88.13"
],
"aliases":
[],
"authkey": "","authpassword": "","authprotocol": "md5","businessService": null,"cbqos": "none",
"collect": 1,"community": "OMKRead","context": "","customer": "Opmantek","depend":
[],
"display_name": " |
|
Opmantekdepend[],"display_name":" "EXSI","host": "castor.opmantek.net","host_backup": "","ip_protocol": "IPv4",
"location": "Cloud","max_msg_size": 1472,"max_ |
|
repetitions":0,"model":"automatic"repetitions": 0,"model": "automatic",
"netType": "default","nettype": null,"node_context_name": "Node Context",
"node_context_url": "https://somelink. |
|
com/map/thing/","notes":"com/map/thing/","notes": "","ping": 1,
"polling_policy": "1_minute","port": "161","privkey": "","privpassword": "",
"privprotocol": "des","remote_connection_name": "SSH to Node","remote_connection_ |
|
url":"ssh://$host"url": "ssh://$host",
"roleType": "access","roletype": null,"serviceStatus": "Testing","services":
[],
"sysDescr": "VMware ESXi 6.7.0 build-17167734 |
|
VMware, Inc. x86_64","timezone":0,"username":"","version":"snmpv2c","webserver":0,"wmipassword":"","wmiusername":"","nettype":null,"roletype":null},"activated":{"opEvents":"1","opConfig":"0","NMIS":"1"},"uuid":"b56ba595-69e7-4702-9fe5-49512e1340b0",VMware, Inc. x86_64","threshold": 1,"timezone": 0,
"username": "","version": "snmpv2c","webserver": 0,"wmipassword": "","wmiusername": ""
},
"current_user_privileges": |
|
{"update":0,"delete":0},"addresses":[],"aliases":[],"cluster_id":"a515c63a-0d11-4bcb-a402-39a4600aebb9",
{
"delete": 0,
"update": 0
},
"friendly_addresses": "192.168.88.13",
"friendly_aliases": |
|
"", Important: All this methods are authenticated.
...