snmpd -Lf :Could format log string error(ASAP)

2008-07-23 Thread Umesh Kamath
Dave I ran the snmptrapd command as "snmptrapd -f -d -Dsnmptrapd -Lf mytest.log -c $home/snmptrapd.conf ". And from another machine i sent trap messages to this machine. As a result i got trap messages ,but it failed to loginto file "mytest.log" . I got "could not format log string" error

Displaying DateAndTime type as index in OID

2008-07-23 Thread Thomas Williams
Using version 5.2.5, I am displaying a row in the ALARM-MIB::alarmActiveTable (RFC-3877) which uses a DateAndTime type as the 2nd key. The output from net-snmp doesn't appear to decode the DateAndTime type in either the 8 or 11 byte format correctly with the default output options. [EMAIL PROTECT

Re: snmp.agent on windows crashes

2008-07-23 Thread Alex Burger
It looks like you are using the winExtDLL snmpd agent as a replacement for the Microsoft SNMP agent and you have APC UPS software installed. Are you using 5.4.1.2 on Windows? What APC software are you using? Alex Heiko wrote: > what can be the reason for a crash in the windows net-snmp agent

RE: Snmpnetstat problem

2008-07-23 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jani Partanen > Sent: Wednesday, July 23, 2008 3:41 PM > This postlist seems to be dead.. Define dead. I'm getting 20+ messages a day. If you don't see anything you may have a problem with an intermediary mailer. >

RE: Snmpnetstat problem

2008-07-23 Thread Jani Partanen
This postlist seems to be dead.. It's strange because I see stable mailflow from this list, but if I need support, I don't get it. Seems to be waste of time to hang around here, so goodbye and thank you much for help! // JiiPee > -Original Message- > From: [EMAIL PROTECTED] > [mailt

Re: smux issue...

2008-07-23 Thread Alejandro Islas
Thanks Mike, as far as I understood the password may be anything, with the condition that I would need to use the same password in bothe quagga an netsnmp. If I'm wrong, do you know how can I determine the correct password??? thanks, Alejandro On Wed, Jul 23, 2008 at 11:34 AM, Mike Ayers <[EMAIL

RE: Make-Error

2008-07-23 Thread Mike Ayers
[Please send all list correspondence to the list.] I'm not sure what the issue is here. It seems you're running AIX native make, which I do not have access to. Can anyone on the list make on AIX? Thanks, Mike > From: Phani Chand.Kolli [mailto:[EMAIL PROTECT

RE: in case of a table has not primitive types:agent/mibgroup/examples/data_set.c

2008-07-23 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alexander Bubnov > Sent: Wednesday, July 23, 2008 4:56 AM > I created more complex table: > > +--complexTable(3) >| >+--specialCase(1) > | Index: i1 > | > +-- -RW- INTEGER i1(1) > | >

Re: SNMPSET illusion?

2008-07-23 Thread Raghavendra Prasad
>You are still only checking the type of the assigned value. >As Richard said earlier, you need to check the *range* >of this value as well. >Try > ret = netsnmp_check_vb_int_range( requests->requestvb, 1, 2); I may sound stupid, sometime ago I remember that this range check for enumeration type

Re: syntax of mib txt files

2008-07-23 Thread Murilo Fujita
Mike Ayers escreveu: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Bubnov Sent: Wednesday, July 23, 2008 3:55 AM NET-SNMP is distributed with MIB data bases which is in ${PREFIX}/snmp/mibs/ path, as far as I understand. My question is what is syntax used fo

RE: syntax of mib txt files

2008-07-23 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alexander Bubnov > Sent: Wednesday, July 23, 2008 3:55 AM > NET-SNMP is distributed with MIB data bases which is in > ${PREFIX}/snmp/mibs/ path, as far as I understand. My question is what > is syntax used for these files? ASN.

RE: snmptrap.conf

2008-07-23 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of /xig > Sent: Tuesday, July 22, 2008 7:00 PM > < using the authCommunity snmptrapd.conf configuration file > token. For example, this line: > > authCommunity log,execute,net public>> > I will use the trap,but when I see

RE: SnmpV3 traps and engineID

2008-07-23 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Lewis, Debbie > I would like to be able to configure the engine id being > sent out to be fixed and have tried using the engineIDType 1 > to use the IP address of the local machine, this works when I > set it in the snmpd.

RE: smux issue...

2008-07-23 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alejandro Islas > smux: [smux_accept] peer on 13 failed authentication "quagga_ripd" is not the password for the quagga SMUX connection. You n eed to determine the correct password and use that. HTH, Mike

Net-SNMP and Dell Openmanage

2008-07-23 Thread Thomas Priore Jr
Im attempting to use net-snmp with dell openmanage and I'm running into problems. I can walk the normal net-snmp mib, but when I get to the openmanage snmp stuff it fails. I'm new to snmp, but i've been doing a lot of research on this, and I have come to a dead end. I'm using net-snmp 1:

snmp.agent on windows crashes

2008-07-23 Thread Heiko
Hello, what can be the reason for a crash in the windows net-snmp agent? this is the error message: The application, C:\usr\bin\snmpd.exe, generated an application error The error occurred on 07/23/2008 @ 15:49:09.121 The exception generated was c005 at address 0107392B (APCSnmp!SnmpExtensio

Any problems with having 2 SNMPv3 sessions open at once?

2008-07-23 Thread Frank Radish
I believe the version I am using is 4.2.7 of the net-snmp package for Perl5. I seem to be able to create at least 2 v1 or 2c sessions at the same time without any problems, but with V3, when I attempt to create a second session, I just get timeouts with the second session. I can create e

Re: SNMPSET illusion?

2008-07-23 Thread Dave Shield
2008/7/23 Raghavendra Prasad <[EMAIL PROTECTED]>: > I use the following code still the problem persists, any help?? > > case MODE_SET_RESERVE1: > ret = netsnmp_check_vb_type_and_size(...) You are still only checking the type of the assigned value. As Richard said earlier, you need to check the *

Re: Problem in net-snmp table

2008-07-23 Thread Alexander Bubnov
Hi, there is no response from server, most probably snmpd is not up. you can use the following command to see if snmpd listen to standard port, 161 ~/trial/snmp> netstat -a | grep snmp udp0 0 *:snmp *:* 2008/7/23 Amit Srivastava <[EMAIL PROTECTED]>: > Hi, > > > >

Re: SNMPSET illusion?

2008-07-23 Thread Raghavendra Prasad
I use the following code still the problem persists, any help?? case MODE_SET_RESERVE1: ret = netsnmp_check_vb_type_and_size(requests->requestvb, ASN_INTEGER, i requests->requestvb->val_len); if ( ret != SNMP_ERR_NOERROR ) { netsnmp_set_request_error(reqinfo, requests

net snmp Table implementation

2008-07-23 Thread Amit Srivastava
Hello, Please tell me how to use the mfd.conf for code generation of tables. Please tell me the steps to follow. Regards, Amit - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build t

Net snmp data set get and set.

2008-07-23 Thread Amit Srivastava
Hello, I am new to net snmp and I created a table with row status column and code for it using. mib2c -c mib2c.create-dataset.conf amitStackTable Now I want to do changes in handler function so that I can do get and set on table. Please help me with some example code for it.

Problem in net-snmp table

2008-07-23 Thread Amit Srivastava
Hi, I am new to net SNMP. I created a table with row status column. Now I have generated the code using the mib2c -c mib2c.iterate.conf amitStackTable ---> this is the table name and after doing some changes I copied the .c and .h files it into the mibgroup folder and then compiled th

in case of a table has not primitive types: agent/mibgroup/examples/data_set.c

2008-07-23 Thread Alexander Bubnov
Hello, all! I am playing about with data_set.c example. It shows how to work with tables by next structure: +--mytable(1) | +--Entry(1) | Index: index | +-- Stringindex(1) |Size: 1..32 +-- CR-- Stringname1(2) +-- CR-- Stringname2

Re: SNMPSET illusion?

2008-07-23 Thread Raghavendra Prasad
Thanks for reply Did you both mean the function ret = netsnmp_check_vb_type_and_size(requests->requestvb, ASN_INTEGER, requests->requestvb->val_len); Which I am using in my code - This SF.Net email is sponsored by the M

syntax of mib txt files

2008-07-23 Thread Alexander Bubnov
Hello! I am a newbie in SNMP. can you please help to find out an answer on some questions? NET-SNMP is distributed with MIB data bases which is in ${PREFIX}/snmp/mibs/ path, as far as I understand. My question is what is syntax used for these files? ASN.1? or the syntax is mixed with ASN.1? I woul

Re: SNMPSET illusion?

2008-07-23 Thread Richard Horton
2008/7/23 Raghavendra Prasad <[EMAIL PROTECTED]>: > For invalid snmpset values instead of complaining that the value is > out of bounds - it shows as if the value has been set even for out of > bounds value - although in reality the value has not been changed/set > creating an illusion - instead

SNMPSET illusion?

2008-07-23 Thread Raghavendra Prasad
Hi all, I have the following MIB node in my MIB cdsprAlcActivity OBJECT-TYPE SYNTAX INTEGER { alc-on ( 1 ), alc-off ( 2 ) } ACCESS read-write STATUS mandatory DESCRIPTION "Us