Deprecated Functions
Functions listed here remain available for backward compatibility but should not be used in new scripts.
Most were superseded in NXSL 5.0 by namespaced functions (Math::, Base64::) or by methods and attributes on the corresponding classes.
Each function name links to its full description, including parameters and examples.
| Function | Deprecated in | Use instead |
|---|---|---|
5.0 |
||
5.0 |
inRange() or contains() methods of InetAddress class |
|
5.0 |
sameSubnet() method of InetAddress class |
|
5.0 |
executeAgentCommand() method of NetObj class |
|
5.0 |
executeAgentCommandWithOutput() method of NetObj class |
|
3.0 |
method readAgentList of class Node |
|
3.0 |
method readAgentParameter of class Node |
|
3.0 |
method readAgentTable() of class Node |
|
3.0 |
join() method of Array |
|
5.0 |
||
5.0 |
||
3.0 |
||
5.0 |
||
5.0 |
||
5.0 |
|
|
5.0 |
|
|
3.0 |
method createSNMPTransport of class Node |
|
3.0 |
deleteCustomAttribute() method of NetObj class |
|
3.0 |
delete() method of NetObj class |
|
3.0 |
||
3.0 |
enterMaintenance() method of NetObj class |
|
5.0 |
— |
|
5.0 |
— |
|
— |
||
5.0 |
||
5.0 |
||
3.0 |
getCustomAttribute() method of NetObj class |
|
5.0 |
getParameter method in Event |
|
3.4 |
getInterface(), getInterfaceByIndex(), getInterfaceByMACAddress() or getInterfaceByName() methods of Node class to get interface object and name attribute to get it’s name |
|
3.4 |
getInterface(), getInterfaceByIndex(), getInterfaceByMACAddress() or getInterfaceByName() methods of Node class |
|
3.0 |
interfaces attribute in Node |
|
3.0 |
parents attribute of NetObj class |
|
3.0 |
templates attribute of DataCollectionTarget |
|
3.0 |
children attribute in NetObj |
|
3.0 |
parents attribute in NetObj |
|
5.0 |
DateTime class |
|
5.0 |
indexOf() of the string instance |
|
5.0 |
split() of the string instance. Sample usage: "b" in "a,b,c".split(",") |
|
5.0 |
Return an array of instance data from the instance discovery script instead (see the function page for details) |
|
3.0 |
leaveMaintenance() method of NetObj class |
|
5.0 |
left() of the string instance |
|
5.0 |
length() of the string instance |
|
5.0 |
DateTime class |
|
5.0 |
toLowerCase() of the string instance |
|
5.0 |
trimLeft() of the string instance |
|
3.0 |
manage() method of NetObj class |
|
5.0 |
||
5.0 |
||
5.0 |
DateTime class |
|
5.0 |
||
5.0 |
||
3.0 |
rename method in NetObj |
|
5.0 |
replace() of the string instance |
|
5.0 |
right() of the string instance |
|
5.0 |
lastIndexOf() of the string instance |
|
5.0 |
||
5.0 |
trimRight() of the string instance |
|
3.0 |
setCustomAttribute method in NetObj |
|
5.0 |
setNamedParameter method in Event |
|
3.0 |
setExpectedState() method of Interface class |
|
5.0 |
||
3.0 |
get method of SNMPTransport class |
|
3.0 |
getValue method of SNMPTransport class |
|
3.0 |
set method of SNMPTransport class |
|
3.0 |
walk method of SNMPTransport class |
|
5.0 |
split() of the string instance |
|
5.0 |
||
5.0 |
format() method of DateTime class |
|
5.0 |
substring() of the string instance |
|
5.0 |
||
5.0 |
trim() of the string instance |
|
3.0 |
unbind() and unbindFrom() methods of NetObj class |
|
3.0 |
unmanage methods in NetObj |
|
5.0 |
toUpperCase() of the string instance |