Re: [asterisk-users] SNMP problem

2011-09-15 Thread Ishfaq Malik
Hi Robert

I have not seen any reference to those 2 files anywhere before. They are
both on the * server in /usr/share/snmp/mibs/

Where should they be copied to?

Ish

On Thu, 2011-09-15 at 00:44 -0600, Robert Thomas wrote:
> Did you copy the asterisk-mib.txt and digium-mib.txt to the proper
> folder on your distro?
> 
> 
> I see people forgetting about that step.
> 
> On Wed, Sep 14, 2011 at 2:18 AM, Ishfaq Malik 
> wrote:
> Hi
> 
> I'm using Asterisk 1.8.3.2 and am trying to configure snmp
> using this as
> my resource
> 
> http://ofps.oreilly.com/titles/9780596517342/asterisk-Monitoring.html
> 
> when I execute the following command
> 
> snmpwalk -On -v2c -c public 127.0.0.1 .1.3.6.1.4.1.22736
> 
> I get the following response
> 
> .1.3.6.1.4.1.22736 = No Such Object available on this agent at
> this OID
> 
> The contents of my /etc/snmp/snmpd.conf is exactly like the
> book
> instructs
> 
> com2sec notConfigUser  default   public
> 
> group   notConfigGroup v1   notConfigUser
> group   notConfigGroup v2c   notConfigUser
> 
> view allincluded  .1
> view system included  .iso.org.dod.internet.mgmt.mib-2.system
> 
> access  notConfigGroup ""  any   noauthexact  all
>none none
> 
> master agentx
> agentXSocket /var/agentx/master
> agentXPerms 0660 0775 nobody root
> 
> sysObjectID .1.3.6.1.4.1.22736.1
> 
> Does anyone have any pointers as to where I'm going wrong?
> 
> Thanks in advancde
> 
> Ish
> --
> Ishfaq Malik
> Software Developer
> PackNet Ltd
> 
> Office:   0161 660 3062
> 
> 
> --
> _
> -- Bandwidth and Colocation Provided by
> http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every
> Thurs:
>   http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 
> 
> -- 
> Robert
> 
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] SNMP problem

2011-09-14 Thread Robert Thomas
Did you copy the asterisk-mib.txt and digium-mib.txt to the proper folder on
your distro?

I see people forgetting about that step.

On Wed, Sep 14, 2011 at 2:18 AM, Ishfaq Malik  wrote:

> Hi
>
> I'm using Asterisk 1.8.3.2 and am trying to configure snmp using this as
> my resource
>
> http://ofps.oreilly.com/titles/9780596517342/asterisk-Monitoring.html
>
> when I execute the following command
>
> snmpwalk -On -v2c -c public 127.0.0.1 .1.3.6.1.4.1.22736
>
> I get the following response
>
> .1.3.6.1.4.1.22736 = No Such Object available on this agent at this OID
>
> The contents of my /etc/snmp/snmpd.conf is exactly like the book
> instructs
>
> com2sec notConfigUser  default   public
>
> group   notConfigGroup v1   notConfigUser
> group   notConfigGroup v2c   notConfigUser
>
> view allincluded  .1
> view system included  .iso.org.dod.internet.mgmt.mib-2.system
>
> access  notConfigGroup ""  any   noauthexact  allnone none
>
> master agentx
> agentXSocket /var/agentx/master
> agentXPerms 0660 0775 nobody root
>
> sysObjectID .1.3.6.1.4.1.22736.1
>
> Does anyone have any pointers as to where I'm going wrong?
>
> Thanks in advancde
>
> Ish
> --
> Ishfaq Malik
> Software Developer
> PackNet Ltd
>
> Office:   0161 660 3062
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Robert
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] SNMP problem

2011-09-14 Thread Ishfaq Malik
Hi

I'm using Asterisk 1.8.3.2 and am trying to configure snmp using this as
my resource

http://ofps.oreilly.com/titles/9780596517342/asterisk-Monitoring.html

when I execute the following command

snmpwalk -On -v2c -c public 127.0.0.1 .1.3.6.1.4.1.22736

I get the following response

.1.3.6.1.4.1.22736 = No Such Object available on this agent at this OID

The contents of my /etc/snmp/snmpd.conf is exactly like the book
instructs

com2sec notConfigUser  default   public

group   notConfigGroup v1   notConfigUser
group   notConfigGroup v2c   notConfigUser

view allincluded  .1
view system included  .iso.org.dod.internet.mgmt.mib-2.system

access  notConfigGroup ""  any   noauthexact  allnone none

master agentx
agentXSocket /var/agentx/master
agentXPerms 0660 0775 nobody root

sysObjectID .1.3.6.1.4.1.22736.1

Does anyone have any pointers as to where I'm going wrong?

Thanks in advancde

Ish
-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users