RE: SNMP Packets Not Received Properly - Ubuntu Hardy/Debian Lenny

2009-06-05 Thread adam
Setting the directive "16bitIDs true" worked. I went to /home/[username]/.snmp and created snmp.conf Here is what the file looks like # start snmp.conf 16bitIDs true # end snmp.conf Thanks for the help! > Original Message >Subject: Re: SNMP Packets Not Received Properly - Ubun

newbie: how to initialize DisplayString for a NOTIFICATION

2009-06-05 Thread PoWah Wong
If my trap is defined as follows, how to initialize certExpiry to a valid DisplayString? certExpiry OBJECT-TYPE SYNTAX DisplayString (SIZE (0..128)) MAX-ACCESS read-only STATUS current DESCRIPTION "This DisplayString objects' indicates the expiry date of the ser

Fwd: Re: pb with extend

2009-06-05 Thread KP Kirchdoerfer
Sorry ; did accidently not reply to list. kp -- Weitergeleitete Nachricht -- Am Freitag, 5. Juni 2009 09:29:08 schrieben Sie: > 2009/6/4 KP Kirchdoerfer : > > Running the shellscript shows 4 messages in the deferred queue. > > > > /usr/local/bin/check_mail_queue.sh > > incomi

why "write-only" shall not be used for newly-defined object types

2009-06-05 Thread PoWah Wong
RFC1904, section 6.5.2.3. "Mapping of the ACCESS clause" state that: The value "write-only" is provided solely for backward compatibility, and shall not be used for newly-defined object types. Why? __ Be smarter than spam. S

RE: SNMP Packets Not Received Properly - Ubuntu Hardy/Debian Lenny

2009-06-05 Thread adam
When I do the -d -r 0 options I get this: m...@serv:~$ snmpget -d -r 0 -c public -v 1 192.168.1.201 1.3.6.1.4.1.2254.2.4.1.2.0 Sending 47 bytes to UDP: [192.168.1.201]:161 : 30 2D 02 01 00 04 06 70 75 62 6C 69 63 A0 20 02 0-.public. . 0016: 04 6C 94 C9 62 02 01 00 02 01 00 30 12

Re: snmpwalk not working on ipv6-host(but snmpd is started and its showing its pid)

2009-06-05 Thread Dave Shield
2009/6/3 ravi singh : > - > cat /var/log/snmpd.log > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state. Well that would explain why snmpwalk doesn't work at all. Though the sn

Re: String in OID

2009-06-05 Thread Vincent Bernat
On Fri, 5 Jun 2009 11:02:10 +0100, Dave Shield wrote: >> .1.0.8802.1.1.2.1.3.8.1.3.1.4.172.16.101.218 = INTEGER: 5 >> .1.0.8802.1.1.2.1.3.8.1.4.1.4.172.16.101.218 = INTEGER: unknown(1) >> .1.0.8802.1.1.2.1.3.8.1.5.1.4.172.16.101.218 = INTEGER: 0 >> .1.0.8802.1.1.2.1.3.8.1.6.1.4.172.16.101.218 =

traphandler not working on winows xp/vista

2009-06-05 Thread Sridhar S
Hi, I've installed net-snmp 5.4.1 on windows xp/vista.I've a specified the traphandler in the snmptrapd.conf like I mentioned below : *traphandle 1.3.6.1.6.3.1.1.5.2 c:\usr\handletrap.bat *** *traphandle default c:\usr\handletrap**.bat* For the traphandle, I am passing a batch fil

A little gift - Saurabh

2009-06-05 Thread Saurabh Jain
Saurabh Jain belongs to Skoost and sent you a little gift. Click below to collect your gift: http://uk.skoost.com/fun?net%2Dsnmp%2Dusers%40lists%2Esourceforge%2Enet/18185053/4 P.S. This is a safe and innocent gift that Saurabh Jain sent from Skoost, the free goodies website. This e-mail was sent

Re: String in OID

2009-06-05 Thread Dave Shield
2009/6/5 Vincent Bernat : > So, a  variable-length string should  always be prefixed by  its length, > except if it is IMPLIED. Yes. > LldpManAddress ::= TEXTUAL-CONVENTION >    SYNTAX      OCTET STRING (SIZE (1..31)) > > lldpLocManAddrEntry OBJECT-TYPE >    INDEX   { lldpLocManAddrSubtype, >  

Re: String in OID

2009-06-05 Thread Vincent Bernat
OoO En cette matinée pluvieuse du vendredi 05 juin 2009, vers 10:30, Dave Shield disait : >> I don't quite understand the rule  to apply when an OCTET STRING is used >> as an index  of a table. It  seems that when several string  are used as >> index, each string should be  prefixed by its le

Re: String in OID

2009-06-05 Thread Dave Shield
2009/6/5 Vincent Bernat : > I don't quite understand the rule  to apply when an OCTET STRING is used > as an index  of a table. It  seems that when several string  are used as > index, each string should be  prefixed by its length (when converting to > an OID). However,  when the string comes in la

String in OID

2009-06-05 Thread Vincent Bernat
Hi! I don't quite understand the rule to apply when an OCTET STRING is used as an index of a table. It seems that when several string are used as index, each string should be prefixed by its length (when converting to an OID). However, when the string comes in last position, no length is ne

Re: Having problem with stirng index table

2009-06-05 Thread geri noorzaman
Wow,.1st of all Thank u for the fast reply,. there's no problem with the integer index, and also I'm not missing the line: vptr = vptr->next_variable; What I posted earlier, it is just a piece of code, not complete code. The problem is, when I try to query that table with snmpwalk, I get an outp

Re: SNMP Packets Not Received Properly - Ubuntu Hardy/Debian Lenny

2009-06-05 Thread Dave Shield
2009/6/5 : > Debain Lenny Example: > m...@serv:~$ snmpget -c public -v 1 192.168.1.201 > 1.3.6.1.4.1.2254.2.4.1.2.0 > Timeout: No Response from 192.168.1.201. Please add the options '-d -r 0' and try again. What do the raw packet dumps look like. > What could possibly be the problem? > Why d

Re: pb with extend

2009-06-05 Thread Dave Shield
2009/6/4 KP Kirchdoerfer : > Running the shellscript shows 4 messages in the deferred queue. > > /usr/local/bin/check_mail_queue.sh > incoming: 0 > active: 0 > maildrop: 0 > deferred: 4 What user are you running this as? Root, or an unprivileged user? > But wth snmpwalk I see zero mails in the q

Re: Testing whether my fan and CPU temperature monitoring program is ok

2009-06-05 Thread Dave Shield
2009/6/4 PoWah Wong : > How to test my monitoring program by forcing net-snmp to send a trap without > damaging any hardware? Either set a lower threshold (as Dan suggests), or temporarily tweak the sensor MIB code to serve dummy values instead. Either hardcoded within the sensor module itself,

Re: Having problem with stirng index table

2009-06-05 Thread Dave Shield
2009/6/4 geri noorzaman : > and also I'm not missing the line: > > vptr = vptr->next_variable; > > What I posted earlier, it is just a piece of code, not complete code. I'm sorry - but I am not prepared to waste my time trying to guess what you might or might not have written in code that you can