[sr-dev] [kamailio/kamailio] snmpstats: get_statistic(): failed to retrieve statistics for local_replies (#2865)

Marat notifications at github.com
Wed Sep 29 13:18:05 CEST 2021

Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please use this template only for bug reports.

If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list:

  * http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list:

  * http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.

If there is no content to be filled in a section, the entire section can be removed.

You can delete the comments from the template sections when filling.

You can delete next line and everything above before submitting (it is a comment).

### Description

I noticed in the logs messages similar to errors (in fact, this is INFO level).
Explain what you did, what you expected to happen, and what actually happened.

### Troubleshooting

#### Reproduction

Retrive **kamailioSIPSummaryOutResponses** statistic
`snmpwalk -v 2c -c public localhost .`
And you will see errors in log file.
If the issue can be reproduced, describe how it can be done.

#### Log Messages

Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).

INFO /usr/local/sbin/kamailio[15984]: INFO: snmpstats [utilities.c:116]: get_statistic(): failed to retrieve statistics for local_replies
INFO /usr/local/sbin/kamailio[15984]: INFO: snmpstats [utilities.c:116]: get_statistic(): failed to retrieve statistics for relayed_replies

### Possible Solutions

I found part of code
and it seems that tm module no longer has `local_replies` and `relayed_replies` statistics.

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

version: kamailio 5.4.3 (x86_64/linux)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210929/a49c98f4/attachment.htm>

More information about the sr-dev mailing list