Fwd: Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-20 Thread Simone Moni
Hi all, I'm a newbie with AgentX. I need to extend snmpd with a new custom MIB module. I have NET-SNMP version 5.5 on Redhat, I would implement perl API, using NetSNMP::agent. Hereby, the steps I've done: - /etc/snmp/snmpd.conf #sec.name sourcecommunity com2sec notConfigUser

Re: HELP - Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-14 Thread Wes Hardaker via Net-snmp-users
Simone Moni writes: >         if ($request_info->getMode() == MODE_GET) { >             # ... generally, you would calculate value from oid >             if ($oid == new > NetSNMP::OID(".1.3.6.1.4.1.193.37.10.11.64.10.1.2.0")) { >             $request->setValue(ASN_OCTET_STR, $default_SP); >    

HELP - Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-07 Thread Simone Moni
Hi, Can anyone help me? I'm a newbie with AgentX. I need to extend snmpd with a new custom MIB module. I have NET-SNMP version 5.5 on Redhat, I would implement perl API, using NetSNMP::agent. Hereby, the steps I've done: - /etc/snmp/snmpd.conf #sec.name sourcecommunity com2se

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-02 Thread Dave Shield
On 1 August 2011 17:51, Bart Van Assche wrote: > On Mon, Aug 1, 2011 at 6:26 PM, Bob ONeil wrote: >> >> All applications indicate at load several MIBs that it can't loaded >> (attached screenshots). > > There is a regression in Net-SNMP with regard to MIB loading in version 5.7 > compared to 5.6

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 6:26 PM, Bob ONeil wrote: > All applications indicate at load several MIBs that it can't loaded > (attached screenshots). > There is a regression in Net-SNMP with regard to MIB loading in version 5.7 compared to 5.6 - please use the source code from git:// net-snmp.git.sou

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Dave Shield
On 31 July 2011 23:05, wrote: > 1.  I am trying to use the exact same working AgentX code under Windows > that tests and works under Linux, but connecting to the agent fails. Remember that by default, AgentX uses a named socket (/var/agentx/master) which is not supported under Windows. You'll h

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 12:05 AM, wrote: > 3. While I have Active Perl installed, the build.bat process when > specifying Perl install fails. > With which ActivePerl version and which Visual Studio version did this happen ? Also, what is the first error message reported in win32/perlmake.out ? I

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 12:05 AM, wrote: > While I am able to buidl and exeucte net-snmp, but I have the following > issues/observations: > > 1. I am trying to use the exact same working AgentX code under Windows > that tests and works under Linux, but connecting to the agent fails. There must

net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread boneil
While I am able to buidl and exeucte net-snmp, but I have the following issues/observations: 1. I am trying to use the exact same working AgentX code under Windows that tests and works under Linux, but connecting to the agent fails. I noticed that when net-snmp 1.5.7 loads up, there are mayb

net-snmp Agentx

2010-05-14 Thread mass mass
Hello all, First time i am posting the query on tis group, I have joined a day before. I have done installation of net-snmp and i am trying the daemon example given at net-snmp tutorials http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/ . I am trying code with agentx support. I have done

Net-SNMP & AgentX

2008-08-27 Thread DAVID Sébastien
Hi, I have a server to make all my request SNMP via SNMPTT. I put all MPLS mibs int the folder /usr/local/share/snmp/mibs in order to request my router Cisco. When I make a snmpwalk I get this result : snmp:/usr/local/share/snmp# snmpwalk -v 2c -c bolduc 213.218.129.5 mplsTunnelDesc

Net-SNMP & AgentX

2008-08-27 Thread DAVID Sébastien
Hi, I have a server to make all my request SNMP via SNMPTT. I put all MPLS mibs int the folder /usr/local/share/snmp/mibs in order to request my router Cisco. When I make a snmpwalk I get this result : snmp:/usr/local/share/snmp# snmpwalk -v 2c -c bolduc 213.218.129.5 mplsTunnelDesc