SNMP V1 traps

2009-05-08 Thread Richard Gipps
Hi, I would like to use net-snmp to send V1 snmp traps. The neat monitor facility in snmpd works great for V2c but does not seem appropriate for V1 as it relies on types (macros) defined in SMI-V2 such as NOTIFICATION-TYPE to generate the correct information for the trap. Is ther

Re: Timeout: No Response from client-server

2009-05-08 Thread Margusja
If I use tcpdump in client-server: 10:26:48 root[load: 0@client-server ~# tcpdump -i eth0 port 161 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 10:32:14.174663 IP marvin.37634 > client-server.

SNMP v1 trap

2009-05-08 Thread Tanisha Kashyap
Hi, Is there any way to identify whether a trap received is a V! trap or higher version. Also what is the community string contained in the trap. "No task is so humble that it does not offer an outlet for individuality" "DISCLAIMER: This message is proprietary

compilation error

2009-05-08 Thread Gabriele Giorelli
Hi I am using fedora 10 and I want to install net-snmp: SNMP Versions Supported:1 2c 3 Net-SNMP Version: 5.4.1 Building for: linux Network transport support: Callback Unix TCP UDP SNMPv3 Security Modules: usm Agent MIB code: default_module

Re: Timeout: No Response from client-server

2009-05-08 Thread Dave Shield
What is the output of running snmpgetnext -v1 -c sw -d client-server system ? Dave -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect

Re: sysUpTimeInstance vs sysUpTime.0

2009-05-08 Thread Dave Shield
2009/5/7 Peter Hicks : > What I did was to check for an instance in the returned VarBind, and if > there's no instance, convert the OID to numeric format, lop off the last > element (in this case, "0") and use that as the instance, then convert > the OID back to text. Another possibility would be

Re: SNMP V1 traps

2009-05-08 Thread Dave Shield
2009/5/8 Richard Gipps : >The neat > monitor facility in snmpd works great for V2c but does not seem appropriate > for V1 as it relies on types (macros) defined in SMI-V2 such as > NOTIFICATION-TYPE to generate the correct information for the trap. Please read the FAQ entry Can I use S

Re: Timeout: No Response from client-server

2009-05-08 Thread Margusja
13:50:48 root[load: 1@monitoring-server ~# snmpgetnext -v1 -c sw -d client-server system Sending 37 bytes to UDP: [0.0.0.0]->[194.106.120.83]:161 : 30 23 02 01 00 04 02 73 77 A1 1A 02 04 7C E2 6D0#.sw|.m 0016: 3F 02 01 00 02 01 00 30 0C 30 0A 06 06 2B 06 01?..0.

What is "initial" - security name denotes?

2009-05-08 Thread anand chandragandhi
Hi, I am using I-reasoning MIB browser . >From the ethereal logs i can see 1st request it send to snmp device has security name as (Initial). Next request onwards it sends my username (eg;:"devicetest") along with auth and priv keys. Is "Inital"security name used to discover the engine id devi

Re: Timeout: No Response from client-server

2009-05-08 Thread Margusja
Found a solution. Big my mistake. There were firewall closed from client-server to master-server Best regards, Margus "Margusja" Roo +3725148780 skype: margusja msn: margu...@kodila.ee homepage: http://margusja.pri.ee Margusja wrote: > 13:50:48 root[load: 1@monitoring-server ~# snmpgetnex

Re: net-snmp dependency for SUN4u

2009-05-08 Thread Nikos Balkanas
net-snmp dependency for SUN4uHi, Have you tried Sun or Google? If you have your installation disks it should be somewhere in there. BTW there is no SUN4U Solaris package. Sun4u is the 64bit Ultrasparc architecture. A whole list of packages for that architecture have this in their name. BR, Nik

how to get system free memory on win32 ?

2009-05-08 Thread Girshik, Stanley
When I try to snmpget UCD-SNMP-MIB::memTotalFree on win32, I get D-SNMP-MIB::memTotalFree = No Such Object available on this agent at this OID Do you know if this has not been implemented for windows or I'm doing something wrong. Much obliged.

Re: SNMP v1 trap

2009-05-08 Thread pch0317
Hi In linux you can use tcpdump to see packet. Then you can see community string and snmp version. Regards pch0317 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environm

a

2009-05-08 Thread pch0317
a -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KO

RE: snmptrap - library calls

2009-05-08 Thread Vinod Nanjaiah
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] > There doesn't seem to be any sample program available on the net for traps. apps/snmptrap.c I used the snmptrap.c from net-snmp version 5.4.2 and this is what I observed. 1> I am able to send a generic trap once 2> the s

SNMP table with index as string containing "dot"

2009-05-08 Thread jayesh km
Hi, We need to implement an SNMP table which has two columns as indexes. Both these columns are strings and the difficult part in one can have "dot" within it (it is a diameter realm name). So the first column is realmName and second column is peerName Sample row can be realmName pee

SNMP table with index as string containing "dot"

2009-05-08 Thread jayesh km
Hi, We need to implement an SNMP table which has two columns as indexes. Both these columns are strings and the difficult part in one can have "dot" within it (it is a diameter realm name). So the first column is realmName and second column is peerName Sample row can be realmName peerNa

Re: SNMP table with index as string containing "dot"

2009-05-08 Thread Dave Shield
2009/5/8 jayesh km : > We need to implement an SNMP table which has two columns as indexes. > Both these columns are strings and the difficult part in one can have "dot" > within it (it is a diameter realm name). No problem there. The strings are treated as a sequence of ASCII characters. The char

5.4.2.1: segfault with logMatch monitor on centos 5.3/5.2

2009-05-08 Thread Shaofeng Yang
snmpd got segfault when I enable the logMatch feature in snmpd.conf. Here is the configuration part logmatch RPCError /var/adm/messages 10 RPC: Timed out notificationEvent TESTLOGMATCH 1.3.6.1.4.1.2021.16 monitor -s -D -r 10 -e TESTLOGMATCH -o logMatchName -o logMatc