Hi,
I'm having a problem with the pass_persist feature and I would be very
grateful if anyone could provide any help.
I am trying to get a Java program ( called SNMPAgentDemo) to handle SNMP Get
requests for any OIDs on the subtree of the OID .1.3.6.1.3.1.1
I've added the following line to the s
Hi,
I'm having a problem with the pass_persist feature and I would be very
grateful if anyone could provide any help.
I am trying to get a Java program ( called SNMPAgentDemo) to handle SNMP Get
requests for any OIDs on the subtree of the OID .1.3.6.1.3.1.1
I've added the following line to the s
2009/7/29 Mark Hennelly :
> It appears that my Java program is not being executed at all, I was
> wondering if anyone knew of a possible reason for this not working
You haven't given us much to go on, but my immediate reaction would
be to check the access control settings. If the agent isn't con
Hi Dave,
Thanks a lot for your response. After reading your post, I used the snmpconf
tool to configure the access control on the agent, following the tutorial on
this page
http://net-snmp.sourceforge.net/tutorial/tutorial-5/demon/snmpd.html#location
Currently I have the following line in the snm
2009/8/3 Mark Hennelly :
> Currently I have the following line in the snmpd.conf file to allow access
> for the OID
> rocommunity public default .1.3.6.1.3.1.1
> Could you tell me if the line "rocommunity public default .1.3.6.1.3.1.1" is
> sufficient for allowing access to the OID?
It shoul
2009/8/4 :
> I can not extract from the gnu_regex.exeto gnu_regex.dll.. the above
> file should be put into c:\\windown\system32 OR don't need the .dll file.
I have no idea what you are talking about.
Dave
--
Let
Dear Dave,
I can not extract from the gnu_regex.exeto gnu_regex.dll.. the above
file should be put into c:\\windown\system32 OR don't need the .dll file.
Please advise it.
thanks
KH--
Let Crystal Reports handle the
k Hennelly , net-snmp-users
Subject
Re: Question on pass_persist feature of net-snmp
2009/8/4 :
> I can not extract from the gnu_regex.exeto gnu_regex.dll.. the
above
> file should be put into c:\\windown\system32 OR don't need the .dll
file.
I have no idea what you are
2009/8/4 :
> My question is how to install Perl in XP.
I have no idea - this is a list for the Net-SNMP software,
not a general purpose support list for arbitrary windows software.
But if you check the file 'README.win32', then there seems
to be some pointers in there.
> When I run snmpconf in
Thanks Dave, I reduced the snmpd.conf file to the 2 lines that you
suggested, but am still getting the same error
EMNETS-MIB::emnetsMIB = No Such Instance currently exists at this OID
the SNMP Get command that I was referring to was the same command that I
included in my first post
*snmpget -
2009/8/4 Mark Hennelly :
> Thanks Dave, I reduced the snmpd.conf file to the 2 lines that you
> suggested, but am still getting the same error
> EMNETS-MIB::emnetsMIB = No Such Instance currently exists at this OID
>
> the SNMP Get command that I was referring to was the same command that I
> inclu
Sorry, I made a mistake with the error output. The actual error I got was:
*EMNETS-MIB::networkNodeName.12 = No Such Instance currently exists at this
OID
*
The error that I posted resulted from a previous SNMP Get command: *snmpget
-v 2c -c public 127.0.0.1 .1.3.6.1.3.1.1*
The output from your 4
2009/8/4 Mark Hennelly :
> Sorry, I made a mistake with the error output. The actual error I got was:
> EMNETS-MIB::networkNodeName.12 = No Such Instance currently exists at this OID
OK - that makes more sense.
> The output from your 4 snmpgetnext commands is as follows:
>
> IP-MIB::ipForwardin
Ok, I've tried what you suggested with the "pass_persisttest" script and the
error output is exactly the same as before. The script is not being executed
following the snmp command. I changed the pass_persist line in the
snmpd.conf file to reference the script and the path to the script is
definite
Sorry, please ignore the last post. The script works! The reason it didn't
work before is that I had forgotten to change the permissions to make it
executable. The output of the snmpget command is displayed below:
*snmpget -v 2c -c public localhost .1.3.6.1.3.1.1
EMNETS-MIB::network = STRING: "lif
2009/8/4 Mark Hennelly :
> Sorry, please ignore the last post. The script works! The reason it didn't
> work before is that I had forgotten to change the permissions to make it
> executable.
OK - that sounds promising.
Both the fact that it works (which show that the pass-persist module
is operati
Cheers Dave, I have just tried this and the 2 output files were indeed
created following the snmpget command, but both files were empty.
Mark
On Tue, Aug 4, 2009 at 3:21 PM, Dave Shield wrote:
> 2009/8/4 Mark Hennelly :
> > Sorry, please ignore the last post. The script works! The reason it
> di
2009/8/4 Mark Hennelly :
> Cheers Dave, I have just tried this and the 2 output files were indeed
> created following the snmpget command, but both files were empty.
Ummm... I'm running out of ideas, now.
Is anything being logged by the agent?
Try shutting the agent down, and restarting it man
The following debug output was produced:
*NET-SNMP version 5.4.1
Connection from UDP: [127.0.0.1]:58645
ucd-snmp/pass_persist: open_persist_pipe(1,'/usr/bin/java -classpath
/home/barney1572/barney1572/Documents/snmp/SNMPAgentDemo/src/SNMPAgentDemo.jar
SNMPAgentDemo')
ucd-snmp/pass_persist: open_pe
2009/8/4 Mark Hennelly :
> The following debug output was produced:
> ucd-snmp/pass_persist: open_persist_pipe: PONG not received!
Which would explain why things aren't working.
Dave
--
Let Crystal Reports handle the re
Ok, now everything is working! There was one line of code at the very
beginning of my Java program before the handshake with the net-snmp agent
that caused the problem.
*System.out.println("SNMPAgentDemo Start"); *
When I commented out this line, the PING and PONG handshake with the
net-snmp a
21 matches
Mail list logo