Index allocation

2024-06-14 Thread Андрей Лобов
Hi everyone. I'm looking for some examples or guidance on how to use the "Index allocation" in subagent. (RFC2741, 7.1.4.2.2) Any help would be hugely appreciated. Thank you. ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please se

Re: what is right place to load subagent configuration

2024-05-07 Thread Андрей Лобов
I was able to catch the temporary file generated by net-snmp-config and learnt from it that I can just write manually init_MyModuleName and shutdown_MyModuleName functions and should be good. Thanks, the question is closed. вт, 7 мая 2024 г. в 15:17, Андрей Лобов : > And another related quest

Re: what is right place to load subagent configuration

2024-05-07 Thread Андрей Лобов
And another related question - how to hook on agent shutdown in order to properly release the resources. Thanks, Andrey пн, 6 мая 2024 г. в 18:03, Андрей Лобов : > He everyone, > > I write subagent, referring to the guide > http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subag

what is right place to load subagent configuration

2024-05-06 Thread Андрей Лобов
He everyone, I write subagent, referring to the guide http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent So far so good - I'm able to get the simple scalar metric. Now I need to use some parameters, which should be loaded from configuration files. >From what I got I need to use register