NetXMS Support Forum

English Support => General Support => Topic started by: mmarin11 on June 01, 2021, 03:33:51 AM

Title: snmpgetnext support in NXSL scripts
Post by: mmarin11 on June 01, 2021, 03:33:51 AM
Dear NetXMS community

Is there a NXSL snmp method with support for snmpgetnext? I'm trying to write a script to monitor advertised and received prefixes for Juniper BGP sessions.

Thanks

Title: Re: snmpgetnext support in NXSL scripts
Post by: Filipp Sudanov on June 01, 2021, 05:46:10 PM
No, getnext is currently not implemented. It's possible to do snmpwalk somewhere at a higher level which would include all the branches you need and then parse it's output. Will this work in your situation?
Title: Re: snmpgetnext support in NXSL scripts
Post by: mmarin11 on June 02, 2021, 07:08:23 AM
Thanks Filipp

I will try the snmpwalk approach