2009/2/19 Raghu Ramaraj <raghu_rama...@mindtree.com>:
>         If I run -
> spils/linux/target ~ # ls /var/agnetx
> ls: /var/agnetx: No such file or directory

Please read my message more carefully.
I asked about "/var/agentx",  not "/var/agnetx"

> Here I am listing dir under /var/
>
> spils/linux/target ~ # ls /var/
> cache  lib  local  lock  log  mail  net-snmp  opt  run  spool  tmp  www

OK - so the agent is not creating the socket.


> if I run snmpd -f -L -Dagnetx

<sigh>
Please *think* about what you are doing.
And show some care about following my instructions.

The problem is related to AgentX support,
and I asked you to turn on the 'agentx' debugging token.

  'agentx'  - not 'agnetx'

It's not surprising that you don't get any useful information
if you're using a bogus debug token.

Can you please try the following:

    #   snmpd -f -Le -Dagentx
        <save the output>
    ^C
    #   mkdir  /var/agentx
    #   snmpd -f -Le -Dagentx
        <save the output>
    ^C

Then post the two sets of debug output.



> spils/linux/target net-snmp # snmpd -f -L -Dagnetx
    :
> /usr/local/share/snmp/snmpd.conf: line 411: Warning: Unknown token: 
> agentXsocket.
> NET-SNMP version 5.4.2

Hmmm...
that looks suspiciously as if the agent does not include AgentX support at all.

What does "net-snmp-config --configure-options"  report?
What about "net-snmp-config --snmpd-module-list" ?

Did you compile this from source, or is it a pre-compiled binary?

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to