Re: about set failure

2005-04-28 Thread ericyosho
thank you for your suggestion. i checked my snmpd.conf,and found that dlmod rocommunity test 10.10.80.0/24 rwcommunity test 10.10.80.0/24 it seemed that i threw myself into the ro group first,and could not get any writeable access at all. after i commented the rocommunity line out ,it

differences between scalar instance

2005-04-28 Thread ericyosho
hi all it seems that when we try to access a scalar,we should end the oid with .0 if in my code module,i register a scalar object as an instance,i can simply end up with the exact oid. are there any differences between these ways mentioned above?

Accessing 64bit high-capacity counters

2005-04-28 Thread Andreas Grosse
Hi, I am trying to fetch interface usage statistics from Net-SNMP Version 5.2.1 via the 64bit high capacity counters, but I can't get it to work. I know that Net-SNMP supports them, but my snmpwalk tries always end in No such Object available on this agent at this OID. Querying the IF-MIB's

RE: Proxy (EX: Re: no subject)

2005-04-28 Thread Susanne Goldammer
On Fri, 22 Apr 2005 16:56:39 +0200, Susanne Goldammer [EMAIL PROTECTED] said: Susanne What i like to do is to write a proxy. Do you realize that net-snmps agent already contains proxy support? see the proxy directive in the snmpd.conf manual page which should let you do just about

Re: differences between scalar instance

2005-04-28 Thread Dave Shield
On Thu, 2005-04-28 at 07:33, ericyosho wrote: it seems that when we try to access a scalar,we should end the oid with .0 if in my code module,i register a scalar object as an instance,i can simply end up with the exact oid. are there any differences between these ways mentioned above?

Re: Accessing 64bit high-capacity counters

2005-04-28 Thread Dave Shield
On Thu, 2005-04-28 at 09:01, Andreas Grosse wrote: I am trying to fetch interface usage statistics from Net-SNMP Version 5.2.1 via the 64bit high capacity counters, # /usr/bin/snmpwalk -v2c -c public 127.0.0.1 -m ALL 1.3.6.1.2.1.78 HCNUM-TC::hcnumTC = No Such Object available on this agent

Re: Accessing 64bit high-capacity counters

2005-04-28 Thread Andreas Grosse
Dave Shield [EMAIL PROTECTED] [28:04:05 10:45] wrote: On Thu, 2005-04-28 at 09:01, Andreas Grosse wrote: # /usr/bin/snmpwalk -v2c -c public 127.0.0.1 -m ALL 1.3.6.1.2.1.78 HCNUM-TC::hcnumTC = No Such Object available on this agent at this OID That particular MIB is just specifying the

Re: differences between scalar instance

2005-04-28 Thread ericyosho
now i know more about scalar instance but i just wonder why you've got the idea to drop the instance helper. i think it is a fine way to work with a instance especially within a paticular table. right? and we can just do the following with a scalar: in our code, register the scalar as an

Re: Accessing 64bit high-capacity counters

2005-04-28 Thread Dave Shield
On Thu, 2005-04-28 at 10:23, Andreas Grosse wrote: Dave Shield [EMAIL PROTECTED] wrote: Try walking the ifXTable instead: # /usr/bin/snmpwalk -v2c -c public 127.0.0.1 .1.3.6.1.2.1.31.1.1 /usr/bin/snmpwalk -v2c -c public 127.0.0.1 .1.3.6.1.2.1.31.1.1 IF-MIB::ifXTable = No Such Object

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-28 Thread Andy Ford
Hi Wes I have just tested the new code from CVS - I didn't do a diff to see the changes - just compiled and installed over what I had. I bombarded the snmptrapd with traps and saw the memory utilisation grow from 10MB to 50MB in a few minutes. Can I do some further testing here to help out

Re: snmpset

2005-04-28 Thread Vincent AARON
Hi Mauricio I have the same issue. I have those three line on my snmpd configuration file. But nothing is working. proc ntpd procfix ntpd /etc/rc.d/init.d/ntpd restart defaultMonitors yes Have you succeded. What does you mean dave when you said "No. It's up to some management program to

Re: snmpset

2005-04-28 Thread Vincent AARON
Great. You 're right. Many thanks for this quick answer... Have fun Dave Shield wrote: On Thu, 2005-04-28 at 11:33, Vincent AARON wrote: What does you mean dave when you said "No. It's up to some management program to actively make this assignment." The "procfix"

Re: Accessing 64bit high-capacity counters

2005-04-28 Thread Andreas Grosse
Dave Shield [EMAIL PROTECTED] [28:04:05 12:06] wrote: On Thu, 2005-04-28 at 10:23, Andreas Grosse wrote: Shouldn't the ifXTable be included in the IF-MIB? It's included in the IF-MIB, but that doesn't automatically mean that a given agent implements it. At least I can't figure out how

SnmpDemoApp problem

2005-04-28 Thread Paul Dowdy
Im running v5.2.1 on LinuxES3.0 and trying to get the tutorial demo running. But as you can see by the output at the end of this email, Im getting an error. Any thoughts? snmpget from the command line works. thx. pd :-( cosvrua:/var/net-snmp$ snmpget -c public localhost

rmon doubt

2005-04-28 Thread priya
Hai, How to configure Rmon in net-snmp.Please tell the steps.I don't know how to retrieve rmon information using get/getnext command in Linux. Thanks a lot for ur suggestion

use of directives

2005-04-28 Thread devyani.sapre
Hi I am going through MIB2C info on the net-snmp site. I just wanted to inquire that, 1. How are directives useful from the user point of view, as a user will only be interested in performing some snmp commands on MIBs? 2. what these directives have to do in MIb2C, as I suppose they

Re: snmpset

2005-04-28 Thread Maurizio Santini
What I'm doing is setting UCD-SNMP-MIB::prErrFix.1 within a script. If the condition is met it sets the above variable to 1 and triggers procfix. Maurizio On Thu, 2005-04-28 at 07:33, Vincent AARON wrote: Hi Mauricio I have the same issue. I have those three line on my snmpd configuration

Re: differences between scalar instance

2005-04-28 Thread ericyosho
--- Dave Shield [EMAIL PROTECTED] wrote: Scalar SNMP object values *MUST* include the final .0 subidentifier. That's how SNMP is defined as working. You can't simply throw away international standards, and do your own thing. all ritht! i think i should follow the standards, as i am not