NetSNMP::agent / ASN_INTEGER64 / ASN_FLOAT

2013-07-03 Thread Samuel Mutel
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

perl NetSNMP::agent handling of snmpd restart

2013-03-17 Thread James R. Leu
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

NetSNMP::agent

2013-02-27 Thread Boris Sitsker
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,

Help with NetSNMP::agent

2011-04-06 Thread Robert Roll
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

Re: Installing NetSNMP::agent on Cygwin

2011-02-25 Thread Roche, Christian (EXT-Other - MA/Rabat)
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

Re: Installing NetSNMP::agent on Cygwin

2011-02-25 Thread Dave Shield
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

RE: Installing NetSNMP::agent on Cygwin

2011-02-25 Thread Roche, Christian (EXT-Other - MA/Rabat)
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

Installing NetSNMP::agent on Cygwin

2011-02-24 Thread Roche, Christian (EXT-Other - MA/Rabat)
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

Is there NetSNMP::agent support for sending Traps?

2010-09-27 Thread Fulko Hew
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

FQDN resolve by NetSNMP agent in snmpd.conf

2010-07-31 Thread Malathi Panyam
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

FQDN resolve by NetSNMP agent in snmpd.conf

2010-07-30 Thread Malathi Panyam
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

Re: NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Dave Shield
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

Re: NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Fulko Hew
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

Re: NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Joao Ferreira gmail
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

Re: NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Fulko Hew
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

NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Joao Ferreira gmail
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

using NetSNMP::agent with SNMP::MIB

2010-05-19 Thread Joao Ferreira gmail
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

Re: NetSNMP::agent help

2010-03-22 Thread Fulko Hew
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> >< &

Re: NetSNMP::agent help

2010-03-19 Thread Fulko Hew
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

NetSNMP::agent help

2010-03-18 Thread Milena
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

Re: How to use NetSNMP::agent to work with snmpd

2008-12-04 Thread latteye
-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

How to use NetSNMP::agent to work with snmpd

2008-12-04 Thread latteye
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

Re: is there an API to configure the netsnmp agent?

2008-03-13 Thread Dave Shield
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 -

is there an API to configure the netsnmp agent?

2008-03-12 Thread Torben Surmer
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

bug in NetSNMP::agent

2007-06-16 Thread Steven Jenkins
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

Re: NetSNMP::agent and ASN_COUNTER64

2007-04-23 Thread Dave Shield
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

NetSNMP::agent and ASN_COUNTER64

2007-04-19 Thread Maxime Henrion
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

Re: Question about adding atmMIB.atmInterfaceConfTable in netsnmp agent

2006-03-23 Thread Wes Hardaker
> 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 adding atmMIB.atmInterfaceConfTable in netsnmp agent

2006-03-20 Thread Ke, Lei (Titan) @ TITAN
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

Question about adding atmMIB.atmInterfaceConfTable in netsnmp agent

2006-03-20 Thread Leitrend
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

Re: NetSNMP::agent question

2004-06-09 Thread Wes Hardaker
> 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

NetSNMP::agent question

2004-06-07 Thread Glenn MacGregor
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