Re: [SR-Users] SNMP counter doesn't increase in stateful proxy

2021-04-06 Thread Daniel-Constantin Mierla
Probably is like 10 years since I deployed snmpstats module for kamailio, as far as I can remember, SNMP works with static mappings of MIBs, probably each new metric exported by Kamailio needs C code and a defined MIB value. So right now only what was coded in snmpstats is available. On the other

Re: [SR-Users] SNMP counter doesn't increase in stateful proxy

2021-04-06 Thread Olle E. Johansson
> On 6 Apr 2021, at 12:14, Marat Gareev wrote: > > It looks like custom metrics are only available in xHTTP_PROM module. You can read them with jsonrpc as well and add them as custom counters in your snmpd.conf /O > > вт, 6 апр. 2021 г. в 10:25, Daniel-Constantin Mierla

Re: [SR-Users] SNMP counter doesn't increase in stateful proxy

2021-04-06 Thread Marat Gareev
It looks like custom metrics are only available in xHTTP_PROM module. вт, 6 апр. 2021 г. в 10:25, Daniel-Constantin Mierla : > Just for sake of completion of the knowledge here in the mailing list > archive: do custom counters become available in snmpstats? > > Cheers, > Daniel > On 30.03.21

Re: [SR-Users] SNMP counter doesn't increase in stateful proxy

2021-04-06 Thread Daniel-Constantin Mierla
Just for sake of completion of the knowledge here in the mailing list archive: do custom counters become available in snmpstats? Cheers, Daniel On 30.03.21 13:55, Marat Gareev wrote: > Thanks, Daniel. > > In this case I'll define a custom counter. > > Marat > > вт, 30 мар. 2021 г. в 14:06,

Re: [SR-Users] SNMP counter doesn't increase in stateful proxy

2021-03-30 Thread Marat Gareev
Thanks, Daniel. In this case I'll define a custom counter. Marat вт, 30 мар. 2021 г. в 14:06, Daniel-Constantin Mierla : > Hello, > > the statistics from the core are only for stateless forwarding. > > You can check if tmx module offers the numbers you are looking for (load > the module and

Re: [SR-Users] SNMP counter doesn't increase in stateful proxy

2021-03-30 Thread Daniel-Constantin Mierla
Hello, the statistics from the core are only for stateless forwarding. You can check if tmx module offers the numbers you are looking for (load the module and check the output of 'kamctl stats'). If not, you can also define new statistics in the config with the module:   *