[SR-Users] cannot adopt OIDs in KAMAILIO-SIP-COMMON-MIB

Arun Bonela Arun.Bonela at gamma.co.uk
Fri Nov 26 15:43:52 CET 2021


Thank you. Will test them .


Arun Bonela
UCaaS Ops – Technical Lead
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of M S
Sent: 26 November 2021 11:03
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] cannot adopt OIDs in KAMAILIO-SIP-COMMON-MIB

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.

https://git.kamailio.org/gitlist/index.php/kamailio/tree/master/src/modules/snmpstats/mibs/<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kamailio.org%2Fgitlist%2Findex.php%2Fkamailio%2Ftree%2Fmaster%2Fsrc%2Fmodules%2Fsnmpstats%2Fmibs%2F&data=04%7C01%7Carun.bonela%40gamma.co.uk%7C72cb7d108a654ac48d8c08d9b0eaecbe%7C743a5d9f11234f3f8fcf5766b8ad8bf9%7C0%7C0%7C637735345317920885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=MkB0V%2FEhiLgxLVOm0C0%2FQEWd87S%2BtIye%2Fe9xT2SYRSY%3D&reserved=0>

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 at gamma.co.uk<mailto:Arun.Bonela at 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<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.org%2Fdokuwiki%2Fdoku.php%2Futils%3Akamailio-and-snmp&data=04%7C01%7Carun.bonela%40gamma.co.uk%7C72cb7d108a654ac48d8c08d9b0eaecbe%7C743a5d9f11234f3f8fcf5766b8ad8bf9%7C0%7C0%7C637735345317920885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vkJB4aL571j8chIfDNGA1LgLPEcbf4eb%2F8MV4ymEpHQ%3D&reserved=0> 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 at 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 at 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
[cid:image001.jpg at 01D7E2D4.06E209A0]
Tel:
0333 043 7319<tel:0333%20043%207319>
Mobile:
07468 728 007<tel:07468%20728%20007>
Email:
Arun.Bonela at gamma.co.uk<mailto:Arun.Bonela at gamma.co.uk>

[cid:image002.jpg at 01D7E2D4.06E209A0]
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 at gamma.co.uk<mailto:postmaster at 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 at lists.kamailio.org<mailto:sr-users at 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<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=04%7C01%7Carun.bonela%40gamma.co.uk%7C72cb7d108a654ac48d8c08d9b0eaecbe%7C743a5d9f11234f3f8fcf5766b8ad8bf9%7C0%7C0%7C637735345317930850%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=WY1aVMFjIin4zjmzTzj60i9ks6qR38%2Bteias1tZq9Mo%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211126/5bf57d1b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 54718 bytes
Desc: image001.jpg
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211126/5bf57d1b/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 75535 bytes
Desc: image002.jpg
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211126/5bf57d1b/attachment-0001.jpg>


More information about the sr-users mailing list