Difference between revisions of "NXSL Function Reference"
Jump to navigation
Jump to search
m (Text replacement - "^" to "{{deprecated}}") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{deprecated}} | |||
{| style="border-spacing: 20px; border: 20px solid red;" | |||
| | |||
'''WARNING''': This page is no longer updated. Please visit '''[https://www.netxms.org/documentation/nxsl-latest/#_function_reference NXSL Function Reference] for current version of the documentation. | |||
|} | |||
= Function tables = | = Function tables = | ||
{| {border="1" cellpadding="4" cellspacing="2" style="border:\#c9c9c9 1px solid; margin: 1em 1em 1em 0; border-collapse: collapse;"} | {| {border="1" cellpadding="4" cellspacing="2" style="border:\#c9c9c9 1px solid; margin: 1em 1em 1em 0; border-collapse: collapse;"} | ||
Line 9: | Line 18: | ||
| align="center" style="background:#f0f0f0;"|'''Network''' | | align="center" style="background:#f0f0f0;"|'''Network''' | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:CountScheduledTasksByKey|CountScheduledTasksByKey]]||[[NXSL:abs|abs]]||[[NXSL:ArrayToString|ArrayToString]]||[[NXSL:CreateDCI|CreateDCI]]||[[NXSL:FindNodeObject|FindNodeObject]]||[[NXSL:BindObject|BindObject]]||[[NXSL:AddrInRange|AddrInRange]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:classof|classof]]||[[NXSL:ceil|ceil]]||[[NXSL:chr|chr]]||[[NXSL:FindAllDCIs|FindAllDCIs]]||[[NXSL:FindObject|FindObject]]||[[NXSL:CreateContainer|CreateContainer]]||[[NXSL:AddrInSubnet|AddrInSubnet]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:d2x|d2x]]||[[NXSL:exp|exp]]||[[NXSL:format|format]]||[[NXSL:FindDCIByDescription|FindDCIByDescription]]||[[NXSL:GetInterfaceName|GetInterfaceName]]||[[NXSL:CreateNode|CreateNode]]||[[NXSL:gethostbyaddr|gethostbyaddr]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:exit|exit]]||[[NXSL:floor|floor]]||[[NXSL:index|index]]||[[NXSL:FindDCIByName|FindDCIByName]]||[[NXSL:GetInterfaceObject|GetInterfaceObject]]||[[NXSL:DeleteCustomAttribute|DeleteCustomAttribute]]||[[NXSL:gethostbyname|gethostbyname]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:GetConfigurationVariable|GetConfigurationVariable]]||[[NXSL:log|log]]||[[NXSL:left|left]]||[[NXSL:GetAvgDCIValue|GetAvgDCIValue]]||[[NXSL:GetNodeInterfaces|GetNodeInterfaces]]||[[NXSL:DeleteObject|DeleteObject]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:inList|inList]]||[[NXSL:log10|log10]]||[[NXSL:length|length]]||[[NXSL:GetDCIObject|GetDCIObject]]||[[NXSL:GetNodeParents|GetNodeParents]]||[[NXSL:EnterMaintenance|EnterMaintenance]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:map|map]]||[[NXSL:pow|pow]]||[[NXSL:lower|lower]]||[[NXSL:GetDCIRawValue|GetDCIRawValue]]||[[NXSL:GetNodeTemplates|GetNodeTemplates]]||[[NXSL:GetCustomAttribute|GetCustomAttribute]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:mapList|mapList]]||[[NXSL:round|round]]||[[NXSL:ltrim|ltrim]]||[[NXSL:GetDCIValue|GetDCIValue]]||[[NXSL:GetObjectChildren|GetObjectChildren]]||[[NXSL:LeaveMaintenance|LeaveMaintenance]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:max|max]]||||[[NXSL:ord|ord]]||[[NXSL:GetDCIValues|GetDCIValues]]||[[NXSL:GetObjectParents|GetObjectParents]]||[[NXSL:ManageObject|ManageObject]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:min|min]]||||[[NXSL:right|right]]||[[NXSL:GetDCIValueByDescription|GetDCIValueByDescription]]||[[NXSL:GetAllNodes|GetAllNodes]]||[[NXSL:RenameObject|RenameObject]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:random|random]]||||[[NXSL:rindex|rindex]]||[[NXSL:GetDCIValueByName|GetDCIValueByName]]||||[[NXSL:SetCustomAttribute|SetCustomAttribute]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:sleep|sleep]]||||[[NXSL:rtrim|rtrim]]||[[NXSL:GetMaxDCIValue|GetMaxDCIValue]]||||[[NXSL:SetInterfaceExpectedState|SetInterfaceExpectedState]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:trace|trace]]||||[[NXSL:SplitString|SplitString]]||[[NXSL:GetMinDCIValue|GetMinDCIValue]]||||[[NXSL:UnbindObject|UnbindObject]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:typeof|typeof]]||||[[NXSL:substr|substr]]||[[NXSL:GetSumDCIValue|GetSumDCIValue]]||||[[NXSL:UnmanageObject|UnmanageObject]]|| | ||
|- | |- | ||
| ||||[[NXSL:trim|trim]]||[[NXSL:PushDCIData|PushDCIData]]|||||| | | [[NXSL:x2d|x2d]]||||[[NXSL:trim|trim]]||[[NXSL:PushDCIData|PushDCIData]]|||||| | ||
|- | |- | ||
| ||||[[NXSL:upper|upper]]|||||||| | | ||||[[NXSL:upper|upper]]|||||||| | ||
Line 49: | Line 58: | ||
| align="center" style="background:#f0f0f0;"|'''Agent''' | | align="center" style="background:#f0f0f0;"|'''Agent''' | ||
| align="center" style="background:#f0f0f0;"|'''Event Processing''' | | align="center" style="background:#f0f0f0;"|'''Event Processing''' | ||
| align="center" style="background:#f0f0f0;"|''' | | align="center" style="background:#f0f0f0;"|'''Persistent Storage''' | ||
| align="center" style="background:#f0f0f0;"|'''File I/O''' | |||
|- | |||
| [[NXSL:gmtime|gmtime]]||[[NXSL:md5|md5]]||[[NXSL:CreateSNMPTransport|CreateSNMPTransport]]||[[NXSL:AgentReadList|AgentReadList]]||[[NXSL:FindAlarmById|FindAlarmById]]||[[NXSL:ReadPersistentStorage|ReadPersistentStorage]]||[[NXSL:CopyFile|CopyFile]]|| | |||
|- | |- | ||
| [[NXSL: | | [[NXSL:localtime|localtime]]||[[NXSL:sha1|sha1]]||[[NXSL:SNMPGet|SNMPGet]]||[[NXSL:AgentReadParameter|AgentReadParameter]]||[[NXSL:FindAlarmByKey|FindAlarmByKey]]||[[NXSL:WritePersistentStorage|WritePersistentStorage]]||[[NXSL:CreateDirectory|CreateDirectory]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:SecondsToUptime|SecondsToUptime]]||[[NXSL:sha256|sha256]]||[[NXSL:SNMPGetValue|SNMPGetValue]]||[[NXSL:AgentReadTable|AgentReadTable]]||[[NXSL:FindAlarmByKeyRegex|FindAlarmByKeyRegex]]||||[[NXSL:DeleteFile|DeleteFile]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:strftime|strftime]]||||[[NXSL:SNMPSet|SNMPSet]]||||[[NXSL:GetEventParameter|GetEventParameter]]||||[[NXSL:FileAccess|FileAccess]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:time|time]]||||[[NXSL:SNMPWalk|SNMPWalk]]||||[[NXSL:PostEvent|PostEvent]]||||[[NXSL:OpenFile|OpenFile]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:mktime|mktime]]||||||||[[NXSL:SetEventParameter|SetEventParameter]]||||[[NXSL:RemoveDirectory|RemoveDirectory]]|| | ||
|- | |- | ||
| | | ||||||||||||[[NXSL:RenameFile|RenameFile]]|| | ||
|} | |} |
Latest revision as of 18:13, 13 September 2022
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
WARNING: This page is no longer updated. Please visit NXSL Function Reference for current version of the documentation. |
Function tables
Time-related | Cryptography | SNMP | Agent | Event Processing | Persistent Storage | File I/O | |
gmtime | md5 | CreateSNMPTransport | AgentReadList | FindAlarmById | ReadPersistentStorage | CopyFile | |
localtime | sha1 | SNMPGet | AgentReadParameter | FindAlarmByKey | WritePersistentStorage | CreateDirectory | |
SecondsToUptime | sha256 | SNMPGetValue | AgentReadTable | FindAlarmByKeyRegex | DeleteFile | ||
strftime | SNMPSet | GetEventParameter | FileAccess | ||||
time | SNMPWalk | PostEvent | OpenFile | ||||
mktime | SetEventParameter | RemoveDirectory | |||||
RenameFile |