snmpd.conf error

2004-09-08 Thread Sanjib Nath
Hi, I have seen an warning message regarding rwcommunity/rocommunity name while starting snmpd: # ./snmpd -f -Lo /vobs/bcd_views/gw/TARGETS/bulnex-2.1-opt/home/share/snmp/snmpd.conf: line 36: Warning: Unknown token: rwcommunity. /vobs/bcd_views/gw/TARGETS/bulnex-2.1-opt/home/share/snmp/snmpd.con

plz help. why I can't get the information from mib-extended agent

2004-09-08 Thread feny_lf
default net-snmp5.1.2 setup I add one mib in mib-dir. "export MIBS=ALL" "mib2c A0DV" create "AODV.c AODV.h" and modify the c file. "gcc -g -c -o AODV.o AODV.c" "gcc -g -fPIC -shared -o AODV.so AODV.o" "vi /etc/snmp/snmpd.conf" "dlmod AODV /dir/AODV.so" restart snmpd But snmpget -v 2c -c public 192.

Re: Win32 Net-SNMP 5.2 (snmptrapd event log)

2004-09-08 Thread Michael J. Slifcak
Alex Burger wrote: I just did some quick tests with the service under 2000 (MSVC 6), and I get the following in the event log. Only the first one looks correct. ID 100: Net-SNMP Trap Handler - Successfully registered as Service. ID 0: The description for Event ID ( 0 ) in Source ( snmptrapd ) ca

Re: Win32 Net-SNMP 5.2

2004-09-08 Thread Andy Smith
That looks good to me. I was going to suggest making the manual process clear, but it looks like you have that covered. You and Mike have done a great job of pulling the Windows documentation together! While you are editing READMEs don't forget to change my email address :-D Andy Alex Burger wro

Re: Win32 Net-SNMP 5.2

2004-09-08 Thread Andy Smith
Alex Burger wrote: Hi Andy. [...] I think it would be a good idea to leave the event log enabled, but we need to document how to re-register the service with the other (new for 5.2) command line logging options. README.win32 is missing the snmptrapd register info. I think we could re-write som

Re: Win32 Net-SNMP 5.2

2004-09-08 Thread Alex Burger
Alex Burger wrote: Hi Andy. Andy Smith wrote: Are there any options that need to be fed to snmptrapd when the service is registered for logging? Are we going to leave the default event log logging enabled? I think it would be a good idea to leave the event log enabled, but we need to document ho

Win32 Net-SNMP 5.2

2004-09-08 Thread Alex Burger
Hi Andy. Andy Smith wrote: Are there any options that need to be fed to snmptrapd when the service is registered for logging? Are we going to leave the default event log logging enabled? Andy I think it would be a good idea to leave the event log enabled, but we need to document how to re-regis

Re: extensible/mteTriggerTable code help?

2004-09-08 Thread Allan Mcintosh
widdled my snmpd.conf down to 5 exec entries and scrapped my proc entries. I still see strange behaviour #SECTION_EXEC# exec oracle /opt/snmp/bin/oracle exec ldap /opt/snmp/bin/ldap exec tester /tmp/tester exec statusApache /opt/snmp/bin/status -application apache exec statusMod /opt/snmp/

Re: ifXTable support

2004-09-08 Thread Karthikeyan N
Hi, I tried in the below mentioned way ifXTable columns are not retrieved and saying no data available. Am I missing something?? steps followed : Copied the files from CVS under agent/mibgroup/if-mib directory Copied the file from CVS named, table_container.c Compiled (using, make and make ins

for help! how to display modules messages to the screen?

2004-09-08 Thread Jay Lin
Dear all: In my mib code, I need show message to the screen whenever ,in case GET ... for example, and I don't want to log to /var/log/snmp.log. I can't use fprintf(stderr,"message"); to show message to the stdout or stderr. Is any API for show to stderr or stdout or any solution?? THX