Does anybody know if it is possible to do some sting manipulation on NCM variables? Features which I would like to use are left(String;Number_of_characters), rigth(String;Number_of_characters), middle(String;Start_Character;Number_of_characters)...
As a rule I use trap community as a string which can be easily reconstructed from part of a Node Name, so I would like to use script to fix this over all nodes in database. In example below I need to extract YYY from whole node name and construst new variable "RO" + YYY
Example:
Node name = "XXXXXXX; YYY Branch switch; Town"
CLI:
snmp-server host 192.168.1.1 "ROYYY"