Same mib module defines into master and slave sub-agent in AgentX

Eric Zerbib <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAE2hs=VejSPrv5opQMGPRPhnG2jZx=a2PBHzt3zxi+xaG0XoUg@mail.gmail.com>
Hello all,

I have a snmp agent based on AgentX using snmpd as Master, my program
is AgentX Slave.

In my subagent I have re-implement some mibs module based on
DISMAN-MIB module to allow sending custom alarm from my subagent.

But this cause problems when I wants also use the same DISMAN module
in some kind of configuration defined at the snmpd.conf

if I run snmpd agent as master with this option:

OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -I
-mteScalars,mteTrigger,mteTriggerTable,mteTriggerDeltaTable,mteTriggerExistenceTable,mteTriggerBooleanTable,mteTriggerThresholdTable,mteTriggerConf,mteEvent,mteEventTable,mteEventSetTable,mteEventNotificationTable,mteEventConf,mteObjects,mteObjectsTable,mteObjectsConf,hr_system,hr_storage,hr_device,hr_other,snmpNotifyTable,smpNotifyFilterProfileTable,notification_log,snmpTargetAddrEntry,snmpTargetParamsEntry"


it will disable the DISMAN module at the snmpd and all configuration
put in snmpd.conf related to disman such as

           monitor -r 30 machineTooBusy hrProcessorLoad > 90

wont work


If I enable at the snmpd (without -I -mteScalar....) it will fails to
register DISMAN Mib at my subagent and my Custom trap won't run,

My question is how can I do to merge the two tables implementations to
keep my custom implementation and to force the snmpd to configure my
subagent

Or do you think to another possibility ?

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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.