AutoPatrol, Bureaucrats, Administrators
481
edits
m (Text replacement - "^" to "{{deprecated}}") |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | {{deprecated}}__NOTOC__ | ||
Create new DCI. | Create new DCI. | ||
Line 15: | Line 15: | ||
|- | |- | ||
| ''source'' || Data collection source. Should be on of: | | ''source'' || Data collection source. Should be on of: | ||
{| | :{| class="wikitable" | ||
|- | |- | ||
| "agent" || source is NetXMS agent. | | "agent" || source is NetXMS agent. | ||
|- | |||
| "driver" || source is network device driver. | |||
|- | |- | ||
| "internal" || source is server's internal data. | | "internal" || source is server's internal data. | ||
|- | |- | ||
| "push" || source is push agent. | | "push" || source is push agent. | ||
|- | |||
| "script" || source is NXSL script. | |||
|- | |- | ||
| "snmp" || source is SNMP agent. | | "snmp" || source is SNMP agent. | ||
|- | |||
| "ssh" || source is SSH command. | |||
|- | |||
| "winperf" || source is Windows performance counter. | |||
|} | |} | ||
|- | |- | ||
Line 31: | Line 39: | ||
|- | |- | ||
| ''dataType'' || DCI data type. Should be one of: | | ''dataType'' || DCI data type. Should be one of: | ||
{| | :{| class="wikitable" | ||
|- | |- | ||
| "int32" || signed 32-bit integer. | | "int32" || signed 32-bit integer. | ||
Line 53: | Line 61: | ||
== Return Value == | == Return Value == | ||
[[NXSL:DCI|DCI]] object on success or null on failure. | [[NXSL:DCI|DCI]] object on success or '''null''' on failure. | ||
== Examples == | == Examples == |