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
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)
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
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
--
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
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
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
"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
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
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
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
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"
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
) 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
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
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
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
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
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
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
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
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
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
[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
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.
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
[ 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
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
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
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:
>
> 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
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
59 matches
Mail list logo