Difference between revisions of "NXSL Function Reference"
Jump to navigation
Jump to search
Tomas Kirnak (talk | contribs) (Added the function table) |
Tomas Kirnak (talk | contribs) (Split the function table into 2 tables) |
||
Line 1: | Line 1: | ||
= Function | = 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;"} | ||
| align="center" style="background:#f0f0f0;"|'''Generic''' | | align="center" style="background:#f0f0f0;"|'''Generic''' | ||
| align="center" style="background:#f0f0f0;"|'''Math''' | | align="center" style="background:#f0f0f0;"|'''Math''' | ||
| align="center" style="background:#f0f0f0;"|'''String-related''' | | align="center" style="background:#f0f0f0;"|'''String-related''' | ||
| align="center" style="background:#f0f0f0;"|'''Data Collection''' | | align="center" style="background:#f0f0f0;"|'''Data Collection''' | ||
| align="center" style="background:#f0f0f0;"|'''Object search''' | | align="center" style="background:#f0f0f0;"|'''Object search''' | ||
| align="center" style="background:#f0f0f0;"|'''Object management''' | | align="center" style="background:#f0f0f0;"|'''Object management''' | ||
|- | |- | ||
| [[NXSL:AddrInRange|AddrInRange]]||[[NXSL:abs|abs]]||[[NXSL:chr|chr]]||[[NXSL: | | [[NXSL:AddrInRange|AddrInRange]]||[[NXSL:abs|abs]]||[[NXSL:chr|chr]]||[[NXSL:CreateDCI|CreateDCI]]||[[NXSL:FindNodeObject|FindNodeObject]]||[[NXSL:BindObject|BindObject]] | ||
|- | |||
| [[NXSL:AddrInSubnet|AddrInSubnet]]||[[NXSL:ceil|ceil]]||[[NXSL:format|format]]||[[NXSL:FindDCIByDescription|FindDCIByDescription]]||[[NXSL:FindObject|FindObject]]||[[NXSL:CreateContainer|CreateContainer]] | |||
|- | |||
| [[NXSL:classof|classof]]||[[NXSL:exp|exp]]||[[NXSL:index|index]]||[[NXSL:FindDCIByName|FindDCIByName]]||[[NXSL:gethostbyaddr|gethostbyaddr]]||[[NXSL:CreateNode|CreateNode]] | |||
|- | |||
| [[NXSL:d2x|d2x]]||[[NXSL:floor|floor]]||[[NXSL:left|left]]||[[NXSL:GetAvgDCIValue|GetAvgDCIValue]]||[[NXSL:gethostbyname|gethostbyname]]||[[NXSL:DeleteCustomAttribute|DeleteCustomAttribute]] | |||
|- | |||
| [[NXSL:exit|exit]]||[[NXSL:log|log]]||[[NXSL:length|length]]||[[NXSL:GetDCIObject|GetDCIObject]]||[[NXSL:GetInterfaceName|GetInterfaceName]]||[[NXSL:DeleteObject|DeleteObject]] | |||
|- | |||
| [[NXSL:GetConfigurationVariable|GetConfigurationVariable]]||[[NXSL:log10|log10]]||[[NXSL:lower|lower]]||[[NXSL:GetDCIRawValue|GetDCIRawValue]]||[[NXSL:GetInterfaceObject|GetInterfaceObject]]||[[NXSL:GetCustomAttribute|GetCustomAttribute]] | |||
|- | |||
| [[NXSL:inList|inList]]||[[NXSL:pow|pow]]||[[NXSL:ltrim|ltrim]]||[[NXSL:GetDCIValue|GetDCIValue]]||[[NXSL:GetNodeInterfaces|GetNodeInterfaces]]||[[NXSL:ManageObject|ManageObject]] | |||
|- | |- | ||
| [[NXSL: | | [[NXSL:map|map]]||[[NXSL:round|round]]||[[NXSL:ord|ord]]||[[NXSL:GetDCIValueByDescription|GetDCIValueByDescription]]||[[NXSL:GetNodeParents|GetNodeParents]]||[[NXSL:RenameObject|RenameObject]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:max|max]]||||[[NXSL:right|right]]||[[NXSL:GetDCIValueByName|GetDCIValueByName]]||[[NXSL:GetNodeTemplates|GetNodeTemplates]]||[[NXSL:SetCustomAttribute|SetCustomAttribute]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:min|min]]||||[[NXSL:rindex|rindex]]||[[NXSL:GetMaxDCIValue|GetMaxDCIValue]]||[[NXSL:GetObjectChildren|GetObjectChildren]]||[[NXSL:SetInterfaceExpectedState|SetInterfaceExpectedState]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:random|random]]||||[[NXSL:rtrim|rtrim]]||[[NXSL:GetMinDCIValue|GetMinDCIValue]]||[[NXSL:GetObjectParents|GetObjectParents]]||[[NXSL:UnbindObject|UnbindObject]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:sleep|sleep]]||||[[NXSL:substr|substr]]||[[NXSL:GetSumDCIValue|GetSumDCIValue]]||||[[NXSL:UnmanageObject|UnmanageObject]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:trace|trace]]||||[[NXSL:trim|trim]]||[[NXSL:PushDCIData|PushDCIData]]|||| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:typeof|typeof]]||||[[NXSL:upper|upper]]|||||| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:x2d|x2d]]|||||||||| | ||
|- | |- | ||
| | | | ||
|} | |||
<hr> | |||
{| {border="1" cellpadding="4" cellspacing="2" style="border:\#c9c9c9 1px solid; margin: 1em 1em 1em 0; border-collapse: collapse;"} | |||
| align="center" style="background:#f0f0f0;"|'''Time-related''' | |||
| align="center" style="background:#f0f0f0;"|'''Cryptography''' | |||
| align="center" style="background:#f0f0f0;"|'''SNMP''' | |||
| align="center" style="background:#f0f0f0;"|'''Agent''' | |||
| align="center" style="background:#f0f0f0;"|'''Event Processing''' | |||
| align="center" style="background:#f0f0f0;"|'''Situations''' | |||
|- | |- | ||
| [[NXSL: | | [[NXSL:gmtime|gmtime]]||[[NXSL:md5|md5]]||[[NXSL:CreateSNMPTransport|CreateSNMPTransport]]||[[NXSL:AgentReadList|AgentReadList]]||[[NXSL:FindAlarmById|FindAlarmById]]||[[NXSL:FindSituation|FindSituation]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:localtime|localtime]]||[[NXSL:sha1|sha1]]||[[NXSL:SNMPGet|SNMPGet]]||[[NXSL:AgentReadParameter|AgentReadParameter]]||[[NXSL:FindAlarmByKey|FindAlarmByKey]]||[[NXSL:GetSituationAttribute|GetSituationAttribute]] | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:SecondsToUptime|SecondsToUptime]]||[[NXSL:sha256|sha256]]||[[NXSL:SNMPGetValue|SNMPGetValue]]||[[NXSL:AgentReadTable|AgentReadTable]]||[[NXSL:GetEventParameter|GetEventParameter]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:strftime|strftime]]||||[[NXSL:SNMPSet|SNMPSet]]||||[[NXSL:PostEvent|PostEvent]]|| | ||
|- | |- | ||
| [[NXSL: | | [[NXSL:time|time]]||||[[NXSL:SNMPWalk|SNMPWalk]]||||[[NXSL:SetEventParameter|SetEventParameter]]|| | ||
|- | |- | ||
| | | | ||
|} | |} | ||
<hr> | <hr> | ||