Seems you are using out dated Kamailio MIBs. You need to download and
install latest MIBs from link below to system path where SNMP daemon can
find and load them.
Hope this helps.
--
Muhammad Shahzad Shafi
Tel: +49 176 99 83 10 85
On Fri, Nov 26, 2021 at 11:16 AM Arun Bonela <Arun.Bonela(a)gamma.co.uk>
wrote:
Hi
we have configured snmp module on our Kamailio server following
https://www.kamailio.org/dokuwiki/doku.php/utils:kamailio-and-snmp
guidance.
Description
we could able to poll or snmpwalk most of the OIDs in KAMAILIO-REG-MIB ,
KAMAILIO-SIP-SERVER-MIB but having issues below from KAMAILIO-SIP-COMMON-MIB
snmpd[358730]: Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB:
kamailioSIPStatsMethod ::= { kamailioSIPMethodStatsEntry 1 }
Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB: kamailioSIPStatsOutbounds ::=
{ kamailioSIPMethodStatsEntry 2 }
Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB: kamailioSIPStatsInbounds ::=
{ kamailioSIPMethodStatsEntry 3 }
Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB: kamailioSIPStatusCodeMethod
::= { kamailioSIPStatusCodesEntry 1 }
Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB: kamailioSIPStatusCodeValue
::= { kamailioSIPStatusCodesEntry 2 }
Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB: kamailioSIPStatusCodeIns ::=
{ kamailioSIPStatusCodesEntry 3 }
Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB: kamailioSIPStatusCodeOuts ::=
{ kamailioSIPStatusCodesEntry 4 }
Cannot adopt OID in KAMAILIO-SIP-COMMON-MIB:
kamailioSIPStatusCodeRowStatus ::= { kamailioSIPStatusCodesEntry 5 }
Troubleshooting
root@host# snmpwalk -v2c -c public localhost
.1.3.6.1.4.1.34352.3.1.1.1.4.1.1.2.0
SNMPv2-SMI::enterprises.34352.3.1.1.1.4.1.1.2.0 = No Such Object available
on this agent at this OID
root@host# snmpwalk -v2c -c public localhost
.1.3.6.1.4.1.34352.3.1.1.1.4.1.1.2
SNMPv2-SMI::enterprises.34352.3.1.1.1.4.1.1.2 = No Such Object available
on this agent at this OID
Reproduction
using snmpwalk or snmget to any of the above mentioned kamailioSIPStats*
OIDs will do
Additional Information
- *Kamailio Version* - output of kamailio -v
version: kamailio 5.5.1 (x86_64/linux) 307af8-dirty
- *Operating System*:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Any advice, why we seeing this issue for these OIDs ? Are these
decremented now ?
Regards,
Arun Bonela
Arun Bonela
UCaaS Ops – Technical Lead
Tel:
*0333 043 7319* <0333%20043%207319>
Mobile:
*07468 728 007* <07468%20728%20007>
Email:
*Arun.Bonela(a)gamma.co.uk* <Arun.Bonela(a)gamma.co.uk>
This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents
of this email are confidential to the ordinary user of the email address to
which it was addressed. This email is not intended to create any legal
relationship. No one else may place any reliance upon it, or copy or
forward all or any of it in any form (unless otherwise notified). If you
receive this email in error, please accept our apologies, we would be
obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or
email postmaster(a)gamma.co.uk
Gamma Telecom Limited, a company incorporated in England and Wales, with
limited liability, with registered number 04340834, and whose registered
office is at 5 Fleet Place, London, EC4M 7RD and whose principal place of
business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users