LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-21-2005, 02:30 AM   #1
watsonpan
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
net-snmp subagent problem


Hi ALL,
According to tutorial,I executd the
net-snmp-config --compile-subagent mysubagent
nstAgentSubagentObject.c
and generated the executable file,mysubagent.
I executed ./mysubagent & as root

When I used the snmpget command as following,
snmpget -v2c -c public localhost
nstAgentSubagentObject.0

It always shows
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
= No Such Object available on this agent at this OID

I have already checked the return value from
netsnmp_register_int_instance() is MIB_REGISTERED_OK.

Can anyone give me a big hand?
Thanks in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 07:08 AM
problem in installing net-snmp anubhuti_k Linux - Networking 1 02-03-2005 01:49 PM
Net SNMP WiWa Linux - Software 3 03-19-2004 11:41 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM

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

All times are GMT -5. The time now is 04:47 PM.

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