Query related to with-out-transports option

"Srivastava, Namburi (IE10)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <0BE793E111BFFF449DFB3207E2977BE027390D@IE10EV812.global.ds.honeywell.com>
Hi,

 

I used the following options while configuring my package.  I need the
libraries only to compile the sub-agent, hence eliminating so many MIB
modules

 

--with-out-transports=TCP,Unix 

--with-out-mib-modules=mibII,ucd_snmp,target,utilities,examples/ucdDemoP
ublic,examples/example,host,misc/ipfwacc,ucd-snmp/diskio,smux,Rmon,mibII
/mta_sendmail,tunnel,disman/event-mib,snmpv3mibs

 

However, when I run my sub-agent, I get the following error.

I guess the Callback transport is the one needed for AgentX
communication.  Why is this error coming?  Is there a dependency on the
tcp transport that I am missing?

 

Btb, the master and sub-agent communicate over the named socket
/var/agentx

 

One more suggestion needed, please let me know if I have stripped off
too many MIB modules.

Regards,

Sri.

 

# ./SNMPSubagent-3e -d -f -Le

 

 I am agentX SubAgent...No support for requested transport domain "tcp"

Error: Failed to connect to the agentx master agent: Unknown host

IP-MIB: Module not found

IF-MIB: Module not found

TCP-MIB: Module not found

UDP-MIB: Module not found

HOST-RESOURCES-MIB: Module not found

SNMPv2-MIB: Module not found

RFC1213-MIB: Module not found

SNMPv2-SMI: Module not found

NOTIFICATION-LOG-MIB: Module not found

NET-SNMP-AGENT-MIB: Module not found

SNMP-NOTIFICATION-MIB: Module not found

No support for requested transport domain "tcp"

Error: Failed to connect to the agentx master agent: Unknown host
(Unknown error

 2)

************************************************************************
************************************************************************
************************************************************************
*****

This e-mail, and any attachments thereto, are intended only for use by
the addressee(s) named herein and may contain privileged and/or
confidential information. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is illegal and
strictly prohibited. If you have received this e-mail in error, please
immediately notify me by telephone and permanently delete the original
and any copy of any e-mail and any printout thereof.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.