1

I setup a Node Categorization policy in the foreign source definition ; its not working correctly what changes need to be done?

enter image description here

Text version: (for bot/crawler)

name SetNodeRouter      class org.opennms.netmgt.provision.persist.pollicies.NodeCategorySettingPolict
    key category              value Router
    key matchBehavior         value ALL_PARAMETERS
        key sysObjectId value .1$

Please do let me know if something wrong with the config and any extra info I could provide.

masegaloeh
  • 18,236
  • 10
  • 57
  • 106
Darktux
  • 827
  • 5
  • 21
  • 36

1 Answers1

1

Frist you need a ~ at the beginning of that value to tell OpenNMS this is regular expression and not a literal string match. Second, it seems you are wanting to match any string that ends in .1 so:

"~.*\.1$"

is what you need.

p-brane
  • 26
  • 1
  • Without quotes? and a should i delete and re add all the nodes so that they can pick up their node categories? – Darktux Mar 01 '13 at 21:04