Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Don Cohen
> > Somehow this quoting feature is sensitive to -M ? > > # ./net-snmp-5.1.3.1/apps/snmptrapd -f -Lo problem above still to be solved next problem related to config file > Try calling it with -Dread_config so you can see what configuration > files it is loading. Maybe it is loading a snmp.co

Re: NetSnmp issue on AIX5.2

2005-09-07 Thread tango . tang
Thanks for your help again. The reason why it doesn't work is that PDSLIB has some problem with both the source and binary for AIX5.2 package. Now I download a new packaged according to their instruction as following: -

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: > > I'm really not talking about the input to the shell but the input > > to snmptrapd. In one case it got a string and in the other case a > > string and an integer. It could tell the difference. But the > > distinction was lost in the output it generated. > > Ok, now

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Don Cohen
> > I'm really not talking about the input to the shell but the input > > to snmptrapd. In one case it got a string and in the other case a > > string and an integer. It could tell the difference. But the > > distinction was lost in the output it generated. > > Ok, now I understand what

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: Alex Burger writes: > Don Cohen wrote: > > Andre wrote: > > Here's a demo of the problem. I enter these commands: > > snmptrapd > > snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 > > 117 '' SNMPv2-MIB::sysLocation.0 s $'XXX' .1.2.3.4 i 1234 > > sn

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Don Cohen
Alex Burger writes: > Don Cohen wrote: > > Andre wrote: > > Here's a demo of the problem. I enter these commands: > > snmptrapd > > snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 > > 117 '' SNMPv2-MIB::sysLocation.0 s $'XXX' .1.2.3.4 i 1234 > > snmptrap -v 1 -c priv

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: Andre wrote: Here's a demo of the problem. I enter these commands: snmptrapd snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 117 '' SNMPv2-MIB::sysLocation.0 s $'XXX' .1.2.3.4 i 1234 snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 117

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Don Cohen
Andre wrote: We use perl to parse the syslog file, I can't see anything unusable strings in my logs... All informations I want, I got it from my logfile! The perl regex are very powerful to do anything with the output... I don't know where is the problem;( I see some clarification is required

Re: NetSnmp issue on AIX5.2

2005-09-07 Thread Thomas Anders
[EMAIL PROTECTED] wrote: bash-2.05b# ldd /usr/local/sbin/snmpd /usr/local/sbin/snmpd needs: /usr/lib/libc.a(shr.o) /home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5) /home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmph

Segmentation fault for NetSnmp on AIX5.2

2005-09-07 Thread tango . tang
Hi All: I have downloaded the NetSnmp installation package for AIX from : http://aixpdslib.seas.ucla.edu/packages/net-snmp.html I install it to my AIX5.2 system, it is success with no error. But when I stop the AIX default snmp and try to start the netsnmp. The netsnmp can not be started wti

Re: NetSnmp issue on AIX5.2

2005-09-07 Thread tango . tang
Thanks for your help! ->Some things to check: -> Run "ldd /usr/local/sbin/snmpd" (is it really a static executable?) The following are the run log, any problems? bash-2.05b# ldd /usr/local/sbin/snmpd /usr/local/sbin/snmpd needs:          /usr/lib/libc.a(shr.o)          /home/tango/tmp/net-snmp-

Re: NetSnmp issue on AIX5.2

2005-09-07 Thread Thomas Anders
[ no HTML mails, please ] [ proper quoting, please -> http://learn.to/quote ] [EMAIL PROTECTED] wrote: Firstly, there is no Manual at all in http://aixpdslib.seas.ucla.edu/packages/net-snmp.html. The binary should ship with full documentation, including man pages, FAQ, README.aix and pointers

Re: NetSnmp issue on AIX5.2

2005-09-07 Thread tango . tang
Thanks for your response. [EMAIL PROTECTED] wrote: > I have downloaded the NetSnmp installation package for AIX from : > http://aixpdslib.seas.ucla.edu/packages/net-snmp.html If you use binaries provided by , you should first RTFM as much as possible, then ask that for help if it still does

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread andre . heine
Hi Don, Am 06.09.2005 um 05:54 Uhr haben Sie geschrieben: [...] > For instance, a string variable containing tabs (or commas or > newlines) could cause output that could be parsed as a shorter > string along with a set of extra variables. > example: > > snmptrap ... SNMPv2-MIB::sysLocation.0 s

Re: AgentX Subagent send trap problem under Win32

2005-09-07 Thread Stefano Pagani
I'm sorry, I found the error: (void *)&selpA   StePa     Hi,   I have an AgentX Subagent running under Win32. When I try to send a trap I became an error: Unhandled exception in subagent.exe: Access Violation.   The problem appears when I try to add a variable to the

Re: NetSnmp issue on AIX5.2

2005-09-07 Thread Thomas Anders
[EMAIL PROTECTED] wrote: I have downloaded the NetSnmp installation package for AIX from : http://aixpdslib.seas.ucla.edu/packages/net-snmp.html If you use binaries provided by , you should first RTFM as much as possible, then ask that for help if it still doesn't work for you. Did you do bo

NetSnmp issue on AIX5.2

2005-09-07 Thread tango . tang
Dear sirs: Has anyone had good luck getting snmp setup and running smooth on AIX5.2? Our AIX version is 5.2 and with default snmp, it works fine. Now I want to replace the default snmp with NetSnmp. I have downloaded the NetSnmp installation package for AIX from : http://aixpdslib.seas.ucla.edu

AgentX Subagent send trap problem under Win32

2005-09-07 Thread Stefano Pagani
Hi,   I have an AgentX Subagent running under Win32. When I try to send a trap I became an error: Unhandled exception in subagent.exe: Access Violation.   The problem appears when I try to add a variable to the trap variable list:     snmp_varlist_add_variable(&var_list,    selpA_oid,