Need Help

2008-12-04 Thread Parveen Yadav
hi, I am new user to net-SNMP and i am trying to implement new tables in code.My data is in shared space and in the form of static structure. Can somebody provide some examples of using integer index as my_loop_context pointer. thanks in advance Parveen Yadav--

Re: How to use NetSNMP::agent to work with snmpd

2008-12-04 Thread latteye
my system is CentOS 5.2 x86_64 [EMAIL PROTECTED] bin]# rpm -qa net-snmp-perl net-snmp-perl-5.3.1-24.el5 [EMAIL PROTECTED] bin]# rpm -ql net-snmp-perl /usr/bin/mib2c /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Bundle /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/NetSN

How to use NetSNMP::agent to work with snmpd

2008-12-04 Thread latteye
Hello Everyone I am trying to make a perl script to gather LVS information and output with snmpd. I try to use NetSNMP::agent but I got some trouble. This is what I have done. vi /usr/bin/perl.pl use Data::Dumper; use NetSNMP::agent (':all'); use NetSNMP::ASN qw(ASN_OCTET_STR); sub myroutin

RE: how to save changes into snmpd.conf

2008-12-04 Thread Ron Rader
[Please copy any replies to the list] > From: Steve Miller [mailto:[EMAIL PROTECTED] > Here are some specific persistent examples. > 1: change sysLocation's value via a snmp request. > 2: change a newly snmp v3 user's passwords via a snmp request. > Both of these operations should cause the

RE: how to save changes into snmpd.conf

2008-12-04 Thread Ron Rader
> From: Steve Miller [mailto:[EMAIL PROTECTED] > May be I should rephrase the question a little bit. Are the so-called > persistent file and the snmpd.conf the same file ? It is one of the persistent agent configuration files, yes. > If they are the same one, I would like to know how to per

Re: how to save changes into snmpd.conf

2008-12-04 Thread Steve Miller
May be I should rephrase the question a little bit. Are the so-called persistent file and the snmpd.conf the same file ? If they are the same one, I would like to know how to persist the changed info in it during runtime. If they are different files, I would like to know how to make the snmpd

Cannot find module

2008-12-04 Thread Leonardo Moreira Oliveira
Hi all, when I run snmpwalk -vc2 -c public localhost in windows XP I get this erros message to several mib. (IP-MIB): at line 0 in (none) (IF-MIB): at line 0 in (none) My path is ok, C:\usr\share\snmp\mibs Could someone help me please ? Leonardo Moreira -

SNMPd exits problem

2008-12-04 Thread Ambika Tripathy
Hi Experts, I am facing problem in executing snmpd? It exits. When I gdb it I found below errors. (gdb) run -Lo -Le Starting program: /usr/local/sbin/snmpd -Lo -Le [Thread debugging using libthread_db enabled] Program exited normally. (gdb) Error opening specified endpoi

FW: Timeout: No Response from localhost

2008-12-04 Thread hsuan
Dear all : I'm using NET-SNMP version: 5.3.1 with an centos 5.2. when I try the following request : snmpwalk -v2c -c public localhost I get the following result : Timeout: No Response from localhost What's the problem ? How can I to solve the problem ? Regards , Vicky --