Unable to run mib2c : perl error

2010-07-02 Thread Kavita Raghunathan
Hello, Here is my situation: Note that I’m using net-snmp-5.5 1. I had been using mib2c successfully for awhile 2. Rebooted my linux machine and did some cleans 3. Now my mib2c does not work, and complains of Perl module not being found 4. I tried to install Perl (although it should have

Re: Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Fulko Hew
On Fri, Jul 2, 2010 at 9:11 AM, Stavros Tsolakos wrote: > Hi all. > > I am really new to SNMP and net-snmp. I have a MIB file from a network > switch and i wanted to make a custom subagent to make the snmpd of my > workstation report some dummy data, as if it were the switch. I have > managed to b

RE: Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Joan Landry
You have to use mib2c for each table and scalor: Example: mib2c -c mib2c.scalar.conf SNMP-USER-BASED-SM-MIB:usmUserSpinLock mib2c -c mib2c.table_data.conf SNMP-USER-BASED-SM-MIB:usmUserTable -Original Message- From: Stavros Tsolakos [mailto:stsola...@gmail.com] Sent: Friday, July 02, 2010

Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Stavros Tsolakos
Hi all. I am really new to SNMP and net-snmp. I have a MIB file from a network switch and i wanted to make a custom subagent to make the snmpd of my workstation report some dummy data, as if it were the switch. I have managed to build a subagent reporting a dummy integer value. But when trying to

Re: send a trap and location the specify column in multiple rows(the sametable)

2010-07-02 Thread Alexander King
-- Original -- From: "Dave Shield"; Date: Sat, Apr 24, 2010 04:52 PM To: "Alexander King"; "Mike Ayers"; Cc: "net-snmp-users"; Subject: Re: send a trap and location the specify column in multiple rows(the sametable) On 23 April 2010 22:07, Mike Ay

Re: snmptrapd can listen to both IPv4 and IPv6 Traps?

2010-07-02 Thread anand chandragandhi
> > Can netsnmp listen to both IPv4 and IPv6 trap simultaneously. > -Anand > > > -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu

snmptrapd can listen to both IPv4 and IPv6 Traps?

2010-07-02 Thread anand chandragandhi
Hi, Can netsnmp listen to both IPv4 and IPv6 trap simultaneously. Regards, Anand C -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net

How to avoid "There is no such variable name in this MIB" error?

2010-07-02 Thread Kun Niu
Dear all, I'm trying to monitor CPU and memory usage on my Linux box with net-snmp. I enabled UCD-SNMP-MIB. Output of "net-snmp-config --default-mibs" is "HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:UCD-DISKIO-MIB:LM-SENSORS-MIB:IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFI