LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2009, 01:20 AM   #1
lpse2000
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
SNMP Extend MIB on Ubuntu snmpd 5.4.1


I am trying to get the EXTEND feature of SNMPD to work. I have added this at the end of my snmpd.conf file.

Code:
extend datecheck /bin/date
and after restarted snmpd I get this error when I try to walk for my new "extension"

Code:
No more variables left in this MIB View (It is past the end of the MIB tree)
Here is the full output of all my walks.

Code:
me@testserver:~$ snmpwalk -v 2c -c public localhost UCD-SNMP-MIB::extTable
UCD-SNMP-MIB::extTable = No more variables left in this MIB View (It is past the end of the MIB tree)
me@testserver:~$ snmpwalk -v 2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendResult
NET-SNMP-EXTEND-MIB::nsExtendResult = No more variables left in this MIB View (It is past the end of the MIB tree)
me@testserver:~$ snmpwalk -v 2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutput1Table
NET-SNMP-EXTEND-MIB::nsExtendOutput1Table = No more variables left in this MIB View (It is past the end of the MIB tree)
me@testserver:~$ snmpwalk -v 2c -c public localhost NET-SNMP-AGENT-MIB::nsExtensions
NET-SNMP-AGENT-MIB::nsExtensions = No more variables left in this MIB View (It is past the end of the MIB tree)
and here is my snmpd.conf file

Code:
com2sec paranoid  default         public

group MyROSystem v1        paranoid
group MyROSystem v2c       paranoid
group MyROSystem usm       paranoid
group MyROGroup v1         readonly
group MyROGroup v2c        readonly
group MyROGroup usm        readonly
group MyRWGroup v1         readwrite
group MyRWGroup v2c        readwrite
group MyRWGroup usm        readwrite

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

access MyROSystem ""     any       noauth    exact  system none   none
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none

syslocation Unknown (configure /etc/snmp/snmpd.local.conf)
syscontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)

extend datecheck /bin/date
so can anyone tell me what I'm doing wrong?

Thanks
 
Old 10-01-2009, 04:55 PM   #2
lpse2000
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Ok, so it is my snmpd.conf file because this works.

Code:
rocommunity  public
group MyROGroup v2c        readonly
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact  all    none   none
extend datecheck /bin/date
I don't quite understand these settings, can anyone help me identify what it is in the original that is causing the problem. I assume the "view" is the culprit.

And right now I can do an snmpwalk locally, but not remotely. What can I add to allow remote reads?

Thanks,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP IF-MIB counters Ken Chapman Linux - Networking 11 02-19-2013 12:41 PM
MIB and SNMP allomeen Programming 2 01-17-2006 10:23 AM
Retrieving SNMP MIB basu_arani Programming 0 02-09-2005 06:21 AM
snmp mib ody1 Programming 0 01-09-2005 09:31 AM
SNMP MIB question arffer Linux - Networking 2 10-30-2000 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration