As indicated by the title of my question, I would like to know if there is a process or method in which you can delete several nodes that are in the OpEvents. This is because I have already deleted the NMIS nodes but they still appear in OpEvents and OpConfig.
Thank you in advance for your support.
This command will delete a node from opConfig and opEvents:
[root@poller-office ~]# /usr/local/omk/bin/opnode_admin.exe act=delete node=OU812 confirm=YES
Successfully deleted "OU812"
Loading up an array of nodes and running them through a for loop executing the above command would make quick work of deleting many nodes.
Thanks Christopher Gatlin, the command helped me a lot.
To build on Chris's answer, here's a link to the opnode_admin wiki page; Node Administration with opnode_admin
thank you for your support this link will serve me well.
Powered by a free Atlassian Confluence Open Source Project License granted to Opmantek. Evaluate Confluence today.