Unable to read IP-MIBs

2010-07-07 Thread Dzenan Causevic
How do I configure the agent to allow me to access to IP-MIB::ipNetToMediaTable. I just installed net-smtp package with agent and clients on my CentOS 5.3. Configuration file snmpd.conf says that by defaut it only allows reading system mib's. I guess I need to make some changes to snmpd.conf fi

Does net-snmp support IPv4 and IPv6 at a time ?

2010-07-07 Thread sanjaykumar
Does net-snmp support IPv4 and IPv6 at a time ? If we configure the net-snmp-5.4.2.1 with option "--enable-ipv6" Then it will support only ipv6 or both(ipv4 and ipv6) [ --enable-ipv6 Generate IPv6 ready version.] Rgds, Sanjay

Re: Does net-snmp support IPv4 and IPv6 at a time ?

2010-07-07 Thread Dave Shield
On 7 July 2010 08:22, sanjaykumar wrote: > Does net-snmp support IPv4 and IPv6 at a time ? Yes. > If we configure the net-snmp-5.4.2.1 with option   "--enable-ipv6" > Then it will support only ipv6 or both(ipv4 and ipv6) Both. Dave -

Re: Unable to read IP-MIBs

2010-07-07 Thread Dave Shield
On 7 July 2010 08:08, Dzenan Causevic wrote: > How do I configure the agent to allow me to access to > IP-MIB::ipNetToMediaTable I guess I need to make some changes to > snmpd.conf file to get other mib's readable as well such as IP-MIB in this > case, but I just cant' get it. Given that you'

Re: Does net-snmp support IPv4 and IPv6 at a time ?

2010-07-07 Thread sanjaykumar
Dave Shield wrote: On 7 July 2010 08:22, sanjaykumar wrote: Does net-snmp support IPv4 and IPv6 at a time ? Yes. If we configure the net-snmp-5.4.2.1 with option "--enable-ipv6" Then it will support only ipv6 or both(ipv4 and ipv6) Both. Dave Hi Dave , What will b

Re: snmp_ospf.c --help

2010-07-07 Thread Dave Shield
On 1 July 2010 22:46, Nina Cukic wrote: > can anyone help me to change the write method in default snmp_ospf.c? > >     /* > * No writes for now > */ >     *write_method = NULL; > > I want to make it writable when I use snmpset command. The three smux/snmp* modules are probably somethin

Re: Does net-snmp support IPv4 and IPv6 at a time ?

2010-07-07 Thread Dave Shield
On 7 July 2010 10:16, sanjaykumar wrote: > What will be value of macro "NETSNMP_ACCESS_ARP_IPADDR_BUF_SIZE" in > following structure > > typedef struct netsnmp_arp_s That depends on how you've compiled the software. If you've enabled IPv6 support, then the 'arp_ipaddress' buffer will be 16 bytes

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

2010-07-07 Thread Dave Shield
On 2 July 2010 14:51, Joan Landry wrote: > 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 Minor correction: You should be able to run "mib2c -c m

Re: interpreting the output of dumppacket 1

2010-07-07 Thread Dave Shield
On 6 July 2010 08:31, wrote: > i put  dumppacket 1 in snmp.conf > and > snmpget -v 2c c public localhost sysLocation.0 >  is showing hexadecimal numbers. > > how to interpret these numbers? This is showing the sequence of bytes that are actually being transmitted over the network, as par

FW: Unable to read IP-MIBs

2010-07-07 Thread Dzenan Causevic
I have /etc/snmp/snmpd.conf provided by default by the system. I got it when I installed net-snmp utilities. You probabily know how it looks like. I get what you are suggesting. But in that case I had to generate my own snmpd.conf with snmpconf utility and use it to replace the default one prov

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

2010-07-07 Thread Dave Shield
On 2 July 2010 09:15, Kun Niu wrote: > I'm trying to monitor CPU and memory usage on my Linux box > But when I use snmpwalk to get laTable data, I got nothing. > Do I have to make any special configuration to my snmp daemon? Probably, yes. Please see the FAQ entries I can see the system

Re: VACM configuration

2010-07-07 Thread Dave Shield
On 28 June 2010 14:43, Wes Hardaker wrote: >> On Mon, 28 Jun 2010 17:35:12 +0530 (IST), ganeshyell...@bel.co.in said: > > g> rocommunity public localhost .1.3.6.1.2.1.1 > g> rocommunity public localhost .1.3.6.1.2.1.25.1 > > You can't use two of those "simple" statements.  If you want to restr