Re: snmpd.conf: unknown token: dlmod

2013-01-03 Thread Nuno Magalhães
Ok, Got it working. Created a configuration file with: *agentAddress udp:161,udp6:[::1]:161** **rocommunity public localhost** **dlmod obu /home/jmpg/.snmp/obu.so* And did a snmpwalk and it listed more than just the system OIDs. Furthermore, I found that my OIDs were being listed. Did a

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Dave Shield
On 2 January 2013 14:59, Nuno Magalhães wrote: > Hi Dave, > > Furthermore if I execute the command: > "snmpwalk -v 2c -c public 10.181.30.153 .iso" > > > I get the following output: [snip] > iso.3.6.1.2.1.25.1.7.0 = No more variables left in this MIB View (It is past > the end of the MIB tree)

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Nuno Magalhães
Hi Dave, Furthermore if I execute the command: "snmpwalk -v 2c -c public 10.181.30.153 .iso" I get the following output: iso.3.6.1.2.1.1.1.0 = STRING: "Linux asus-B53E 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10 iso.3.6

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Dave Shield
On 2 January 2013 15:46, Nuno Magalhães wrote: > Hi Dave, > > From the FAQ and your previous answers I assume > "rocommunity public" in the snmpd.conf gives us all views (more than system > only). > > Is this true? Try it. What do you see? Dave --

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Nuno Magalhães
Hi Dave, From the FAQ and your previous answers I assume "rocommunity public" in the snmpd.conf gives us all views (more than system only). Is this true? Regards, Nuno Magalhães. On 02-01-2013 15:03, Dave Shield wrote: > On 2 January 2013 14:59, Nuno Magalhães wrote: >> Hi Dave, >> >> Furt

Re: snmpd.conf: unknown token: dlmod

2013-01-01 Thread Dave Shield
On 1 January 2013 08:01, Bart Van Assche wrote: > Note: the Net-SNMP dlmod module has been ported recently to Windows. Thanks for that, Bart. This must have happened during my recent sabbatical from the project. Certainly the code I was looking at didn't seem to support dlmod under Wind

Re: snmpd.conf: unknown token: dlmod

2013-01-01 Thread Bart Van Assche
On 12/30/12 01:13, Dave Shield wrote: > Windows seems to use 'winExtDLL' instead of 'dlmod' The recommended approach on Unix and Windows for extending Net-SNMP is AgentX. This is because AgentX uses interprocess communication and hence a bug in an AgentX sub-agent do

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread nuno . magalhaes
"snmpget -v 1 -c public 127.0.0.1:1161 1.3.6.1.4.1.19278.14.1.3" Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: ONBOARD-MIB::obuModule2Status "snmpget -v 2c -c public 127.0.0.1:1161 1.3.6.1.4.1.19278.14.1.3" ONBOARD-MIB::obuModule2Status = No Such

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Dave Shield
On 31 Dec 2012, at 14:08, Nuno Magalhães wrote: > Hi Dave, > > I'm using the latest snmpget.exe from the output binaries just built. Yes, but what is the exact command you are issuing? Dave -- Master Visual Studio, Sh

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Nuno Magalhães
Hi Dave, I'm using the latest snmpget.exe from the output binaries just built. Regards, Nuno Magalhães. Em 31-12-2012 12:55, Dave Shield escreveu: > On 31 December 2012 12:32, Nuno Magalhães wrote: >> And BTW, why do I receive this message in the snmpget command: >> -- >> Error in packet >> Re

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Dave Shield
On 31 December 2012 12:32, Nuno Magalhães wrote: > And BTW, why do I receive this message in the snmpget command: > -- > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: ONBOARD-MIB::obuModule2Status The other question here is: what is the snm

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Nuno Magalhães
I think I'm only missing a simple step don't you think? BTW I'm using win32dll should I use win32 project? Regards, Nuno Magalhães. Em 31-12-2012 12:43, Nuno Magalhães escreveu: > Hi Dave, > > I think so. I'm sending you the source. > > Included also the line: > #include "mibgroup/examples/obu.h"

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Nuno Magalhães
t line 1 in (none) > Cannot find module (SNMPv2-TC): At line 37 in > C:\usr\mibs/UCD-SNMP-MIB.txt > Cannot find module (UCD-SNMP-MIB): At line 1 in (none) > Cannot find module (UCD-SNMP-MIB-OLD): At line 1 in (none) > Cannot find module (UCD-IPFWACC-MIB): At line 1 in (none) > Canno

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Dave Shield
On 31 December 2012 12:32, Nuno Magalhães wrote: > And BTW, why do I receive this message in the snmpget command: > -- > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: ONBOARD-MIB::obuModule2Status > -- > It seems that the correct parameter is a

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Dave Shield
On 31 December 2012 11:57, Nuno Magalhães wrote: > - Why can't it find the modules? What modules is it referring to? I'll pass on the MIB file errors - someone more knowledgeable than me about Windows might be able to help there. (Though I'm suspicious about the mixture of forward and backward

Re: snmpd.conf: unknown token: dlmod

2012-12-31 Thread Nuno Magalhães
OLD): At line 1 in (none) Cannot find module (UCD-IPFWACC-MIB): At line 1 in (none) Cannot find module (UCD-IPFILTER-MIB): At line 1 in (none) Cannot find module (UCD-DLMOD-MIB): At line 1 in (none) Cannot find module (UCD-DISKIO-MIB): At line 1 in (none) Cannot find module (UCD-DEMO-MIB): At li

Re: snmpd.conf: unknown token: dlmod

2012-12-30 Thread Dave Shield
one of three ways: - compiled into the main SNMP agent - as a dynamically loaded module (i.e. dlmod) - as an AgentX subagent Personally, I tend to feel that compiling the module into the main agent is the simplest way to get started. So you could take the code that you were trying to load

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
ber 2012 22:00, Nuno Magalhães wrote: >> I thought I was only enabling debug for dlmod token -Ddlmod. > My apologies - I'd misread the command you were using to start the agent. > You are quite correct. > > >> Even if I simply call snmpd.exe with no parameters the error

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Dave Shield
On 29 December 2012 22:00, Nuno Magalhães wrote: > I thought I was only enabling debug for dlmod token -Ddlmod. My apologies - I'd misread the command you were using to start the agent. You are quite correct. > Even if I simply call snmpd.exe with no parameters the error persists.

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
Hi Dave, I thought I was only enabling debug for dlmod token -Ddlmod. Even if I simply call snmpd.exe with no parameters the error persists. What should I call to suppress this error? Regards, Nuno Magalhães. Em 29-12-2012 21:18, Dave Shield escreveu: > On 29 December 2012 09:23, Nuno Magalh

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Dave Shield
On 29 December 2012 09:23, Nuno Magalhães wrote: > 3) The problem: whenever I launch the snmpd with the necessary arguments: > snmpd.exe -V -f -Lo > -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable > -DnstAgentPluginObject,dlmod,winExtDLL If I've read this c

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
f -Lo -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable -DnstAgentPluginObject,dlmod,winExtDLL It tells me at some point in the log that the generated DLL (extension) could not be parsed in snmpd.conf: "C:/Program Files/Net-SNMP 5.6.1.1/etc/snmp/snmpd.conf: line 19: Warnin

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Bart Van Assche
th no problems. 2) The configuration was scalar, so I implemented responses of raw values. 3) The problem: whenever I launch the snmpd with the necessary arguments: snmpd.exe -V -f -Lo -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable -DnstAgentPluginObject,dlmod,winExtDLL It

snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
n was scalar, so I implemented responses of raw values. 3) The problem: whenever I launch the snmpd with the necessary arguments: snmpd.exe -V -f -Lo -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable -DnstAgentPluginObject,dlmod,winExtDLL It tells me at some point in the log

embedded PowerPC Warning: Unknown token: dlmod.

2012-12-21 Thread Mark Gardinier
inux-gnu --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include/net-snmp --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-endianness=big --with-mib-modules=ucd-snmp/dlmod --disable-privacy --dis

Duplicate registerations reported for modules loaded by dlmod

2012-08-05 Thread Dheeraj Gautam
Hi All, I have written a module (generated using mib2c.mfd.conf) and integrated with net-snmp using "dlmod" directive of config. This works properly with queries. I have not observed any issues. When I send SIGHUP to snmpd, it tried to unload dlmod module, it is successfull. and dlmod

shmget inside "handle" method for a dlmod share object

2009-12-18 Thread Fabio Rafael da Rosa
Hello All, I'm having a problem with dlmod, and, as I could not find anything related to this on google, I came here to check if that happened to someone else. I implemented a new MIB , and created and so for loading with dlmod. Everything works, except that I can't use shmget inside a

Re: net-snmp dlmod support

2009-01-20 Thread Nikos Balkanas
Hi, What happens if you configure without the "with-ldflags" option? (make distclean first) BR, Nikos - Original Message - From: "Ansa Ahammed" To: ; Sent: Tuesday, January 20, 2009 12:23 PM Subject: net-snmp dlmod support > Hi, > > I am usin

net-snmp dlmod support

2009-01-20 Thread Ansa Ahammed
Hi, I am using net-snmp-5.4 package for my application. I want to support dlmod for my Enterprise specific MIB files. i used the following options to configure the package: ./configure --with-cc=powerpc-linux-gcc --with-ld=powerpc-linux-gcc --with-ldflags="-lpthread" --with-ar=pow

TR: Adding MIB & dlmod

2008-08-29 Thread DAVID Sébastien
use in this function) Could you help me please? Thanks a lot. Sébastien -Message d'origine- De : DAVID Sébastien Envoyé : jeudi 28 août 2008 08:57 À : '[EMAIL PROTECTED]' Objet : RE: Adding MIB & dlmod Hi, Thanks for your answer, my problem is that I do not arrive has to

Re: Adding MIB & dlmod

2008-08-27 Thread Thomas Anders
DAVID Sébastien wrote: > I met some difficulties to add a MIB with my net-snmp. > > dlmod mplsLsrMIB /usr/local/share/snmp/mibs/MPLS-LSR-MIB.my > dlmod mplsTeMIB /usr/local/share/snmp/mibs/MPLS-TE-MIB.my dlmod is for adding MIB *implementations* as shared objects. You can't ad

Adding MIB & dlmod

2008-08-27 Thread DAVID Sébastien
arguments: community-string trapcommunity public ### # SECTION: Extending the Agent # # You can extend the snmp agent to have it return information # that you yourself define. # dlmod: dynamically extend the agent using a shared-object # arguments: module-name

Re: dlmod problem

2008-02-27 Thread Dave Shield
On 27/02/2008, simone marangoni <[EMAIL PROTECTED]> wrote: > i'm a new user so i don't know this > > how can i control the running agent? > how can i stop/start agent? What O/S are you using? On Linux, it would typically be something like /etc/init.d/snmpd stop or there might be a graphical

dlmod problem

2008-02-27 Thread simone marangoni
i'm a new user so i don't know this how can i control the running agent? how can i stop/start agent? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT

Re: dlmod problem

2008-02-27 Thread Dave Shield
NMP agent already running? You may need to shut this down, before you start the Net-SNMP agent with your dlmod extension. Dave - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 20

dlmod

2008-02-27 Thread simone marangoni
i add to snmpd.conf file: dlmod nstAgentPluginObject /home/simone/Desktop/esempio/nstAgentPluginObject.so but the snmpget don't collect info: [EMAIL PROTECTED]:~$ snmpget localhost NET-SNMP-TUTORIAL-MIB:: nstAgentPluginObject.0 Error in packet Reason: (noSuchName) There is no such variable

dlmod problem

2008-02-27 Thread simone marangoni
i add to snmpd.conf file: dlmod nstAgentPluginObject /home/simone/Desktop/esempio/nstAgentPluginObject.so but the snmpget don't collect info: [EMAIL PROTECTED]:~$ snmpget localhost NET-SNMP-TUTORIAL-MIB:: nstAgentPluginObject.0 Error in packet Reason: (noSuchName) There is no such var

Re: DLMOD and SMUX

2007-11-12 Thread Dave Shield
On 12/11/2007, Ansa Ahammed <[EMAIL PROTECTED]> wrote: > Is it possible to add DLMOD and SMUX support in the same net-snmp agent. Yes. Dave - This SF.net email is sponsored by: Splunk Inc. Still grepping through

DLMOD and SMUX

2007-11-12 Thread Ansa Ahammed
Hi, Is it possible to add DLMOD and SMUX support in the same net-snmp agent. Thanks and Regards, Ansa Ahammed - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop

extend the agent with dlmod

2007-06-05 Thread Hans Dampf
hello I'd like to get status of our mail system (novell groupwise). in snmpd.conf I've added the following line to extend the agent: dlmod Gwsnmp /opt/novell/groupwise/agents/lib/libgwsnmp.so dlmod is enabled on the agent, since snmpd -H shows: ..some output omit

Re: dlmod

2007-05-10 Thread Dave Shield
) up-to-date information. The fact that you're using dlmod is irrelevant to this problem. Dave - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take contro

dlmod

2007-05-10 Thread Hamid Taromian
i am using a delmod so for my development. when the data which i want the agent to get is changed , i have to restart the agent to refresh the data .what should i do? - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos

Re: about dlmod

2007-01-25 Thread Clement Hsu
s is as following > > --with-mib-modules=ucd-snmp/dlmod,host/hr_system,host/hr_storage,host/hr_device,disman/schedule,disman/traceroute That would work, yes. Note that "--with-mib-modules" takes a single argument. So either list them separated by commas and no spaces, or stick quotes

Re: about dlmod

2007-01-25 Thread Dave Shield
On 25/01/07, Clement Hsu <[EMAIL PROTECTED]> wrote: > what is the meaning of IIRC "If I Recall Correctly" > And if I want to add some other mibs , does the options is as following > > --with-mib-modules=ucd-snmp/dlmod,host/hr_system,host/hr_storage,host/hr_d

Fwd: about dlmod

2007-01-25 Thread Clement Hsu
Dear Anders: Thank you. And can you instruct me., what is the meaning of IIRC And if I want to add some other mibs , does the options is as following --with-mib-modules=ucd-snmp/dlmod. IIRC host/hr_system,hr_storage,hr_device disman/schedule disman/traceroute Thank you Best Regards, Clement

Re: about dlmod

2007-01-24 Thread Thomas Anders
Clement Hsu wrote: > I apply the option --enable-mini-agent, but somehow it can not use dlmod > If I want to choose mini-agent and have the function of dlmod at the same > time , how should I do? What is the mib module should I add? ucd-snmp/dlmod, IIRC. +Thomas -- Thom

about dlmod

2007-01-24 Thread Clement Hsu
Dear All: I am Clement. I have a problem about compile agent dynamically. I apply the option --enable-mini-agent, but somehow it can not use dlmod If I want to choose mini-agent and have the function of dlmod at the same time , how should I do? What is the mib module should I add? Thank you

Re: Enable dlmod caust snmpd can't run

2005-09-10 Thread Robert Story
an run snmpd well but > don't have dlmod function. Try "--disable-shared --with-mib-modules=ucd-snmp/dlmod" and see if that helps. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert St

dlmod error

2005-08-31 Thread 徐小威的EMAIL
Hi all: I used net-snmp 5.0.6 at a custom MPC852 PowerPC board.I got a problem. bash-2.05b# ./snmpd -f -L -DnstAgentPluginObject,dlmod dlmod: register mib dlmod: dlmod_path: /usr/lib/snmp/dlmod dlmod: dlmod_create_module dlmod: dlmod_load_module nstAgentPluginObject: /usr/lib

dlmod error

2005-08-30 Thread rober hsu
Hi all:     I used net-snmp 5.0.6 at a custom MPC852 PowerPC board.I got a problem. bash-2.05b# ./snmpd -f -L -DnstAgentPluginObject,dlmod dlmod: register mib dlmod: dlmod_path: /usr/lib/snmp/dlmod dlmod: dlmod_create_module dlmod: dlmod_load_module nstAgentPluginObject: /usr/lib

Re: ...dlmod

2005-08-25 Thread Thomas Anders
[EMAIL PROTECTED] wrote: Anybody know which version can used dlmod at powerpc with ELDK 3.1.1? I'v try5.0.6,5.0.7,5.0.8,5.0.9, but these version net-snmp all got compiler error, only 5.1.3.1 can compiler ok but it still not enable dlmod by --enable-share. Did you used specify --wit

...dlmod

2005-08-25 Thread 徐小威的EMAIL
Hi All: Anybody know which version can used dlmod at powerpc with ELDK 3.1.1? I'v try5.0.6,5.0.7,5.0.8,5.0.9, but these version net-snmp all got compiler error, only 5.1.3.1 can compiler ok but it still not enable dlmod by --enable-share. I know ELDK 3.1.1 has include net-snmp 5.0.

Enable dlmod caust snmpd can't run

2005-08-23 Thread 徐小威的EMAIL
Hi all: I used ucd-snmp 4.2.7.pre1 on my custom MPC852T, i found if i compiler with --enable-shared ,the snmpd will size down to 200-300K and snmpd can't run well, if used --disable-shared my snmpd is bigger than 2M and i can run snmpd well but don't have dlmod function. -rwxr-xr

Re: C++ compile problem in dlmod environement

2004-10-08 Thread Dave Shield
[ Sorry for the delay in responding to this ] > I am trying to compile a mib module as a shared object to be used as > a plugin for the standard agent. The source code is written in C++ > and uses the old ucd-snmp api. I am getting the compilation error: > > 'header_generic' undeclared. T

Loading a module with dlmod: Shared object not found

2004-08-20 Thread Trang Nguyen
Hi,   I have a mib module (compiled as a shared object library) that I would like to dynamically load via the dlmod mechanism. My library is dependent upon another shared library and when dlmod tries to load my module, it complains that it cannot find the shared object that my mib module

C++ compile problem in dlmod environement

2004-08-19 Thread Trang Nguyen
Hi,   I am trying to compile a mib module as a shared object to be used as a plugin for the standard agent. The source code is written in C++ and uses the old ucd-snmp api. I am getting the compilation error:   'header_generic' undeclared. This is typically declared in mibgroup/util_funcs.h

Re[2]: dlmod

2004-06-08 Thread "Ruslan Bulatov"
Hello! > > I'm starting snmpd daemon, then creating a new row in the dlmod table: > > > > # /usr/bin/snmpset UCD-DLMOD-MIB::dlmodStatus.1 i create > > UCD-DLMOD-MIB::dlmodStatus.1 = INTEGER: create(6) > > > > But, record in table is not created: >

Re: dlmod

2004-06-07 Thread Dave Shield
> I'm starting snmpd daemon, then creating a new row in the dlmod table: > > # /usr/bin/snmpset UCD-DLMOD-MIB::dlmodStatus.1 i create > UCD-DLMOD-MIB::dlmodStatus.1 = INTEGER: create(6) > > But, record in table is not created: My experience is that the dlmodTable is

dlmod

2004-06-07 Thread "Ruslan Bulatov"
Hi, ALL! I am using net-snmp-5.0.6. I have 2 questions: 1. I have my mib ControlSystem-MIB.txt and controlSystem.so. I'm starting snmpd daemon, then creating a new row in the dlmod table: [EMAIL PROTECTED] mibs]# /usr/bin/snmpset -c public -v2c localhost UCD-DLMOD-MIB::dlmodStatus.1 i c