extend an SNMP agent with private entry

Hi,

I need an SNMP agent, which serve private OID’s - e.g. mystatus1 (type
integer)
e.g.
I use (as sender) the SNMPGET command with private OID -
iso.org.dod.internet.private.enterprises.mycompany.mystatus1.0
But QNX snmpd daemon can’t serve this private “mystatus1” OID and receive to
sender nothing.
(But I extend the MIB table to mystatus1 entry)

What is the easiest way to implement/extend this ?

  1. may I extend the QNX snmpd daemon ? - how?
  2. need I implement “my” code (which serve the private OID) into agent ?
    (how? how can I keep the source? )
  3. need develope whole snmp agent using the snmp_api functions ?
    (uff !!!)

Thanks in advance !
Daniel

Daniel Koci - software engineer

daniel.koci@frequentis.sk

Hi Daniel,

I have exactly the same situation, and is just starting my work.

How far have you gotten?

I have found a good SNMP toolbox that give a complete SNMP agent for various
platforms from a MIB-file.
It’s at: http://www.adventnet.com/products/cagent/index.html

But I need to know how to set it in the QNX platform…

Regards

/Karl


Daniel Koci wrote:

Hi,

I need an SNMP agent, which serve private OID’s - e.g. mystatus1 (type
integer)
e.g.
I use (as sender) the SNMPGET command with private OID -
iso.org.dod.internet.private.enterprises.mycompany.mystatus1.0
But QNX snmpd daemon can’t serve this private “mystatus1” OID and receive to
sender nothing.
(But I extend the MIB table to mystatus1 entry)

What is the easiest way to implement/extend this ?

  1. may I extend the QNX snmpd daemon ? - how?
  2. need I implement “my” code (which serve the private OID) into agent ?
    (how? how can I keep the source? )
  3. need develope whole snmp agent using the snmp_api functions ?
    (uff !!!)

Thanks in advance !
Daniel

Daniel Koci - software engineer

daniel.koci@frequentis.sk

Check out Agentx and ucd-snmp from sourceforge.

Dave


Karl-Erik Johansson wrote:

Hi Daniel,

I have exactly the same situation, and is just starting my work.

How far have you gotten?

I have found a good SNMP toolbox that give a complete SNMP agent for various
platforms from a MIB-file.
It’s at: > http://www.adventnet.com/products/cagent/index.html

But I need to know how to set it in the QNX platform…

Regards

/Karl

Daniel Koci wrote:

Hi,

I need an SNMP agent, which serve private OID’s - e.g. mystatus1 (type
integer)
e.g.
I use (as sender) the SNMPGET command with private OID -
iso.org.dod.internet.private.enterprises.mycompany.mystatus1.0
But QNX snmpd daemon can’t serve this private “mystatus1” OID and receive to
sender nothing.
(But I extend the MIB table to mystatus1 entry)

What is the easiest way to implement/extend this ?

  1. may I extend the QNX snmpd daemon ? - how?
  2. need I implement “my” code (which serve the private OID) into agent ?
    (how? how can I keep the source? )
  3. need develope whole snmp agent using the snmp_api functions ?
    (uff !!!)

Thanks in advance !
Daniel

Daniel Koci - software engineer

daniel.koci@frequentis.sk