Hello!
We are trying to write a NQE referencing the State File OSPF PEERS, but we cant find anything related to code or the CommandType, or any data really, in the NQE data model. Can someone please point me in the right direction.
Hello!
We are trying to write a NQE referencing the State File OSPF PEERS, but we cant find anything related to code or the CommandType, or any data really, in the NQE data model. Can someone please point me in the right direction.
OSPF is a new feature. The output has not been added to NQE as a commandType. If you want to write NQE queries, you can either wait for the command to be added to NQE in a future release. Or, you can add it as a custom command and access it as commandText.
where command.commandText == “show ip ospf neighbors”
Roger that...appreciate the information!
you can reference this post that has an example for writing the nqe
Thanks Scot. I saw that upon initial research and noticed it uses the custom command as well. We just might have to go that route!
I added a query to that thread that has Juniper and Cisco, also modified it to run a bit faster, feel free to check it out and give it a test
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.