Hello everybody,
I coded a subagent with NetSNMP::agent.
It works fine with OID with type ASN_OCTET_STR.
But I have some errors when I want to use ASN_INTEGER64 or ASN_FLOAT :
unknown var value type: 72
unknown var value type: 74
Can someone help me ?
Regards,
Samuel Mutel
Hello,
I'm using the perl bindings for NetSNMP to implement
to the agentx interface (version 5.4.2). I'm having
difficulty handling when snmpd restarts. I was
wondering is there is a recommended way of handling restarts?
I've managed to get notification of when snmpd restarts
but getting my long
Dear Net-snmp-users mailing list!
Thank you so much for making this wonderful module.
I'm currently trying to use this module in non-AgentX mode, that is, I
would like to be able to run the SNMP agent off another port.
Unfortunately, I'm running into an issue on non-AgentX mode. Either
snmpwalk,
I'm trying to get the Perl agentX example code
found in the NetSNMP::agent perldoc working.
(I'm talking about the Perl NOT the embedded perl)
I seem able to run it just fine, however, when
I try something like:
snmpwalk -v2c -cpublic localhost 1.3.6.1.4.1.8072...7375
Hi Dave,
thanks a lot for your answer.
>>> perl -M CPAN -e shell
>
>No - that probably won't work.
>You need to ensure that you're using the SNMP modules that
>match the version of the C library that you are using.
>We tend to recommend that you retrieve the relevant source
>tarball, and use th
On 24 February 2011 09:49, Roche, Christian (EXT-Other - MA/Rabat)
wrote:
> I have written a small SNMP probe using NetSNMP::agent that's working fine
> on CentOS 5.5. I installed the required Perl modules as RPM packages using
> yum (net-snmp-perl-5.3.2.2-9.el5_5.1.x86_64.rpm). No
Hi again,
doesn't anybody here have an answer regarding my problem? Isn't this the right
place to ask this?
Thanks for your help,
Chris
Original message:
>I have written a small SNMP probe using NetSNMP::agent that's working fine on
>CentOS 5.5. I installed the require
Hi all,
I have written a small SNMP probe using NetSNMP::agent that's working fine on
CentOS 5.5. I installed the required Perl modules as RPM packages using yum
(net-snmp-perl-5.3.2.2-9.el5_5.1.x86_64.rpm). Now I would like to be able to
test it on Windows under Cygwin, so I trie
I just needed to coble up a test sub-agent (in Perl) that acts as an
AgentX based sub-agent. All went well for what I needed to test, but...
I see support for gets and sets, but what I didn't see was any support
for forwarding traps to an AgentX master from Perl sub-agents.
Is it missing, or am I
Sending it again. Just in case it did not reach the proper group.
--- On Fri, 7/30/10, Malathi Panyam wrote:
From: Malathi Panyam
Subject: FQDN resolve by NetSNMP agent in snmpd.conf
To: net-snmp-users@lists.sourceforge.net
Date: Friday, July 30, 2010, 9:07 AM
Hi,
I have specific
Hi,
I have specific case where in SNMP managers are configured as FQDNs. During
start up we read all these addresses, write them to snmpd.conf and ask the
agent to reread the config file. Problem is during startup when the DNS server
is not really ready, it looks like agent tries to resolve t
On 14 June 2010 16:12, Fulko Hew wrote:
>> Ok, that is great... but... what version of net-snmp are you using ?
>> I tried to do it in 5.4.1 and it does not work...
>
> It looks like it didn't make it in until the 5.5 release.
Correct.
The 5.4.x branch was first released in late 2006
(with 5.4.1
On Mon, Jun 14, 2010 at 10:47 AM, Joao Ferreira gmail <
joao.miguel.c.ferre...@gmail.com> wrote:
> On Mon, 2010-06-14 at 08:26 -0400, Fulko Hew wrote:
>
> > getSourceIp and getDestIp can be used to find the requestor and the
> > target addresses.
>
> Ok, that is great... but... what version of net
On Mon, 2010-06-14 at 08:26 -0400, Fulko Hew wrote:
> getSourceIp and getDestIp can be used to find the requestor and the
> target addresses.
Ok, that is great... but... what version of net-snmp are you using ?
I tried to do it in 5.4.1 and it does not work...
cheers
Joao
>
> I had added the
On Mon, Jun 14, 2010 at 6:15 AM, Joao Ferreira gmail <
joao.miguel.c.ferre...@gmail.com> wrote:
> can I read the NMS IP address from within a perl NetSNMP::agent ?
>
> I've searched the docs at CPAN but I can't find anything there.
>
getSourceIp and getDestIp can b
Hello,
can I read the NMS IP address from within a perl NetSNMP::agent ?
I've searched the docs at CPAN but I can't find anything there.
thanks
Joao
--
ThinkGeek and WIRED's GeekDad team up for the Ul
Hello all,
in the past I've done agent extension by using C, mib2c, and compiling
in a MIB C module.
Now I'm facing the same task but this time in Perl. I will use
NetSNMP::agent to implement a sub-agent, registered on our private
enterprice OID/branch.
The speed at which I will
gt;
> Can you help me?
>My SNMP Sub-agent source is perl source code and it is equal to the
>example on
>
> http://search.cpan.org/~HARDAKER/NetSNMP-agent-5.0401/agent.pm#EXAMPLES<http://search.cpan.org/%7EHARDAKER/NetSNMP-agent-5.0401/agent.pm#EXAMPLES>
><
&
On Thu, Mar 18, 2010 at 11:06 AM, Milena wrote:
> Hi ,
> I want to run SNMP Sub-agent, but I don't know how.
>
> Can you help me?
> My SNMP Sub-agent source is perl source code and it is equal to the
> example on
> http://search.cpan.org/~HARDAKER/NetSNMP-agent-5.0
Hi ,
I want to run SNMP Sub-agent, but I don't know how.
Can you help me?
My SNMP Sub-agent source is perl source code and it is equal to the
example on
http://search.cpan.org/~HARDAKER/NetSNMP-agent-5.0401/agent.pm#EXAMPLES.
Thank you in ad
-multi/NetSNMP/agent
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/NetSNMP/
agent.pm
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/NetSNMP/agent/
default_store.pm
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/NetSNMP/agent/netsnmp_request_infoPtr.pm
/usr/lib64
Hello Everyone
I am trying to make a perl script to gather LVS information and output
with snmpd.
I try to use NetSNMP::agent but I got some trouble.
This is what I have done.
vi /usr/bin/perl.pl
use Data::Dumper; use NetSNMP::agent (':all'); use NetSNMP::ASN
qw(ASN_OCTET
On 12/03/2008, Torben Surmer <[EMAIL PROTECTED]> wrote:
> Is there a way to configure the agent without a dialog?
Edit the file 'snmpd.conf' (using the text editor of your choice).
That's all that the snmpconf script does anyway.
Dave
-
Hi,
the tutorial tought me to use the snmpconf perl script to configure the netsnmp
agent. Is there a way to configure the agent without a dialog?
Thank you for support!
Torben
_
Express yourself instantly with MSN Messenger
ing around made me realize that there was a missing:
use NetSNMP::ASN;
in either the examples or the NetSNMP::agent module (not sure which).
Thanks,
Steven
-
This SF.net email is sponsored by DB2 Express
Download DB2 Expre
On 19/04/07, Maxime Henrion <[EMAIL PROTECTED]> wrote:
> It seems the NetSNMP::agent module can't deal properly with
> ASN_COUNTER64 types. Whenever I try to use this type when calling the
> setValue() method on the request object from an embedded perl agent, no
> value
Hello all,
It seems the NetSNMP::agent module can't deal properly with
ASN_COUNTER64 types. Whenever I try to use this type when calling the
setValue() method on the request object from an embedded perl agent, no
value is returned at all from the OID. There are no errors at all i
> On Sun, 19 Mar 2006 19:42:51 -0800 (PST), Leitrend <[EMAIL PROTECTED]>
> said:
leitrend> Question on new mib and agent support to netsnmp version
leitrend> 5.3.0.1 in Redhat Linux kernel.
leitrend> I have followed on-line tutorial instructions and ifTable
leitrend> example for using
Question on new mib and agent support to netsnmp
version 5.3.0.1 in Red hat Linux kernel. I have followed on-line
tutorial instructions and ifTable example for using mib2c.mfd.conf to configure,
build snmp agent with add-on atmInterfaceConfTable snmp agent support as
configuration below. Sent
Hi there,Question on new mib and agent support to netsnmp version 5.3.0.1 in Redhat Linux kernel.I have followed on-line tutorial instructions and ifTable example for using mib2c.mfd.conf to configure, build snmp agent with add-on atmInterfaceConfTable snmp agent support as configuration be
> On Mon, 07 Jun 2004 16:56:40 -0400, Glenn MacGregor <[EMAIL PROTECTED]> said:
Glenn> I am using NetSNMP Version 5.1.1 on Linux 2.4. I have the SNMP
Glenn> agentx example from the toolkit working. I was wondering if I
Glenn> can receive snmpset messages in the subagent? The example
Glenn> doe
Hi All,
I am using NetSNMP Version 5.1.1 on Linux 2.4. I have the SNMP agentx
example from the toolkit working. I was wondering if I can receive
snmpset messages in the subagent? The example doesn't handle or receive
them.
Also on a different note. Does anyone know how to user the perl debugger
32 matches
Mail list logo