Hi Guys I would be grateful for your assistance,
How can I change a nodes interface description under the following conditions,
using a script under the status poll hook::
1. Node and its interface state is operational....admin/oper state/exp state== UP/UP/UP and Normal
2. Node has NO SNMP Capability
3, Node has Only One Interface Shown
3. Node is Pingable
Interface Description== "unknown" and would like to change this to the primary ip address=="x.x.x.x.x"
Thanks
Hi,
you can use NXSL function GetInterfaceObject (https://wiki.netxms.org/wiki/NXSL:GetInterfaceObject) to get access to interface object and then RenameObject (http://ttps://wiki.netxms.org/wiki/NXSL:RenameObject) to rename it.
Best regards,
Victor