mib2c undefined identifier: enterprises

2005-10-10 Thread bernhard . fischer
hi gurus! I try to generate c-stubs using mib2c: #> MIBS=ALL /usr/local/bin/mib2c -c mib2c.scalar.conf myValue The output of mib2c looks like this: " Unlinked OID in MY-MIB: myNode ::= { enterprises x } Undefined identifier: enterprises near line 10 of ./MY-MIB " I have imported enterprises

Developing An SNMP-Aware Application

2005-10-10 Thread Chino Aureus
Hi, I'm new to SNMP.  Basically, I'm developing a server application and wan't this app monitored via SNMP.  On the console, I want to see both O.S. related stats (e.g. resource utilization) and "my app" related stats (e.g. data queues, TPS, etc...). Any suggestions on how should I implement thi

What is lt-snmpd?

2005-10-10 Thread Ying Wang(CD)
Hi list, What is lt-snmpd? I type "snmpd -D", but process lt-snmpd not snmpd runs. BR Ying --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.

Re: What is lt-snmpd?

2005-10-10 Thread Thomas Anders
Ying Wang(CD) wrote: What is lt-snmpd? I type "snmpd -D", but process lt-snmpd not snmpd runs. This is a libtoolized snmpd as created during the build process. It means you're either running from the *source* dir (instead of the install dir) or haven't installed it properly (do a proper "mak

specifying SNMP version

2005-10-10 Thread Ronnel P. Maglasang
Hello, Is it possible to specify which SNMP version when running snmpd from command line or snmpd.conf? Can I run it on v3? only v2c or both? Thanks, Ronnel smime.p7s Description: S/MIME Cryptographic Signature

Re: Problem Polling Avaya G3 Mibs

2005-10-10 Thread Dave Shield
On Mon, 2005-10-10 at 11:48 +0530, [EMAIL PROTECTED] wrote: > snmpget -v 2c -c public 192.168.0.1 .1.3.6.1.4.1.6889.2.8.1.6.11.0 > gives me > SNMPv2-SMI::enterprises.6889.2.8.1.6.11.0 = Gauge32: 2 What happens if you try snmpget -v 1 -c public 192.168.0.1 .1.3.6.1.4.1.6889.2.8.1.6.11.0

Re: specifying SNMP version

2005-10-10 Thread Dave Shield
On Mon, 2005-10-10 at 17:06 +0800, Ronnel P. Maglasang wrote: > Is it possible to specify which SNMP version when running snmpd from > command line or snmpd.conf? Can I run it on v3? only v2c or both? You can't completely remove SNMPv3 or SNMPv2c support from the agent without re-compiling it. Bu

SNMPv3 UCD and router (CISCO)

2005-10-10 Thread Kostia Grebelsky
Title: Message Hi,I have searched through the archive and still not clear on a couple of issues. I am starting work on writing a client using UCD SNMP to query CISCO router using SNMPv3 for info.The problem is that a number of things are not clear to me and I was hoping somebody would clarify

Help setting up snmpd.conf for encrypted V3 access only

2005-10-10 Thread Joe Asdf
Hi all, I've read through the snmpd.conf man page a few times, and I can't figure out how to enforce that users connect to my agent via encrypted & authenticated SNMPv3. Currently, I have a fairly simple snmpd.conf: __ rouser joe_username auth .1.3.6.1.4.1.bla.bla.bla

Solaris - monitoring processes

2005-10-10 Thread Keith Salter
I'm trying to get net-snmp monitoring processes on a solaris 8 box. I tried the binary install available from sunfreeware. Net-snmp worked fine, I could view the processes etc. from my snmp manager console.   However when using the proc keyword in snmpd.conf to monitor a specific process it didn

Re: SNMPv3 UCD and router (CISCO)

2005-10-10 Thread Dave Shield
On Fri, 2005-10-07 at 13:29 -0400, Kostia Grebelsky wrote: > The way I understand things the keys for authentication and privacy > both need to be set up on the router (they may be generated by the > router not sure), but they also need to be set in the code to both > session.securityAuthKey and

Re: specifying SNMP version

2005-10-10 Thread Ronnel P. Maglasang
Great! thanks a lot. Dave Shield wrote: On Mon, 2005-10-10 at 17:06 +0800, Ronnel P. Maglasang wrote: Is it possible to specify which SNMP version when running snmpd from command line or snmpd.conf? Can I run it on v3? only v2c or both? You can't completely remove SNMPv3 or SNMPv2c s

Re: Help setting up snmpd.conf for encrypted V3 access only

2005-10-10 Thread Dave Shield
On Fri, 2005-10-07 at 15:17 -0700, Joe Asdf wrote: > I can't figure out how to enforce that users connect to my > agent via encrypted & authenticated SNMPv3. > > Currently, I have a fairly simple snmpd.conf: > __ > rouser joe_username auth .1.3.6.1.4.1.bla.bla.bla First t

Re: Solaris - monitoring processes

2005-10-10 Thread Dave Shield
On Sun, 2005-10-09 at 12:39 +, Keith Salter wrote: > However when using the proc keyword in snmpd.conf to monitor a > specific process it didn't work, no traps were generated. No - you wouldn't. Please see the FAQ entry What traps are sent by the agent? and in particular, the third p

removing default compiled mib modules

2005-10-10 Thread Ronnel P. Maglasang
I wanted to remove the mib modules compiled by default in the agent except for the mib-II with this option in the configure script: --with-out-mib-modules="snmpv3mibs ucd_snmp agent_mibs agentx notification target utilities" The configure scripts prints the following summary: -

pass-through Perl script && multiple (joined) tables

2005-10-10 Thread Turbo Fredriksson
I'm trying to create a pass-through script (in Perl) to retrieve Bacula (backup system - http://bacula.org) using indexed (with two indexed tables) information. All the statistics information for Bacula is in an SQL server, which my script retrieves (correctly)... I've managed to follow and unde

RE: SNMPv3 UCD and router (CISCO)

2005-10-10 Thread Dave Shield
On Mon, 2005-10-10 at 08:15 -0400, Kostia Grebelsky wrote: >However, the way > I understood it EngineID is of the authoritative end correct. > which is the system that does Get not correct. The authoritative engine for most SNMP requests is the reques

RE: SNMPv3 UCD and router (CISCO)

2005-10-10 Thread Kostia Grebelsky
Hmm. Thanks this confirms at least some things for me. However, the way I understood it EngineID is of the authoritative end which is the system that does Get for my purposes ie. Not the router but the client? Am I wrong? Are you saying engineID is not set but rather is something that is figured by

Re: removing default compiled mib modules

2005-10-10 Thread Dave Shield
On Mon, 2005-10-10 at 18:18 +0800, Ronnel P. Maglasang wrote: > I wanted to remove the mib modules compiled by default in the > agent except for the mib-II with this option in the configure > script: --with-out-mib-modules="snmpv3mibs ucd_snmp agent_mibs agentx > notification target utilities" >

Re: removing default compiled mib modules

2005-10-10 Thread Thomas Anders
Dave Shield wrote: I'm actually surprised that you get this, as the relevant shouldn't be compiled if you've excluded the agentx module. We'll have to investigate that. [...] This is due to the modules you excluded. The trap daemon relies on 'utilities' - try putting that back into the default

Interface reported as DOWN even though it is up and in use

2005-10-10 Thread Hurgh
Hi All, I had a quick search throught the archives and found a few references to this problem but i could not find any solutions that worked for me. First up, I installed net-snmp on a Gentoo linux box, I am using version: NET-SNMP version:  5.2.1.2 Web:   http://www.net-snmp.org/ Em

Problems with AIX 5.3 and NET-SNMP

2005-10-10 Thread Charles - UOL
Hello everyone. I'm facing a little problem within NET-SNMP and our IBM-AIX Version 5.3 machines. We use snmp to monitor the operational conditions of the machines, but we are collecting wrong values. The CPU level is always in 100% (and it is not!), the volume do not show correctly and the ne

Re: Problems with AIX 5.3 and NET-SNMP

2005-10-10 Thread Thomas Anders
Charles - UOL wrote: I'm facing a little problem within NET-SNMP and our IBM-AIX Version 5.3 machines. What net-snmp version are you using? Please retry with 5.2.2.pre3 if you haven't already. The CPU level is always in 100% (and it is not!), the volume do not show correctly and the network

does net-snmp cache snmp counters

2005-10-10 Thread Ali Al-Shabibi
Hello, I am having some trouble with a hosh speed monitoring tool that I have build. This tool polls the switch counter about 100 times per second. The problem is that when I run iperf tests and monitor with my tool, The SNMP counters change every half second, on all the ports exce

Re: does net-snmp cache snmp counters

2005-10-10 Thread Dave Shield
On Mon, 2005-10-10 at 17:36 +0200, Ali Al-Shabibi wrote: > Hence my question, does net-snmp cache counter values? It depends on the counter (and often on the O/S as well) Some object values are cached by the agent, which will therefore report slightly "old" results. Other objects are retriev

help wanted using net-snmp package with windows and VS.NET

2005-10-10 Thread taner memet ali
Hello, i try to use net-snmp with windows and VS.NET since two months and i have several problems on getting started with it. I do not get any answers to many questions related with my problems in this mailing list. I guess that the majority is using net-snmp with unix or linux. I dont know an

Re: does net-snmp cache snmp counters

2005-10-10 Thread Ali Al-Shabibi
Hello again, Thanks for the quick answer! I am polling the if-mib variables by groups of two. The cisco is running IOS C3560 Software (C3560-I9-M), Version 12.2(20)SE4. and the HP is running firmware M.08.75. I am running net-snmp 5.0.9. Thanks for help, On Mon, 2005-10-10 at 1

Re: does net-snmp cache snmp counters

2005-10-10 Thread Ali Al-Shabibi
Hi again, I am running this on linux. Sorry i forgot to include that in my previous mail. Cheers, On Mon, 2005-10-10 at 17:59, Dave Shield wrote: > On Mon, 2005-10-10 at 17:36 +0200, Ali Al-Shabibi wrote: > > Hence my question, does net-snmp cache counter values? > > It depends on the cou

Re: does net-snmp cache snmp counters

2005-10-10 Thread Ali Al-Shabibi
Hello again, I have updated my version of Net-SNMP to 5.1.3.1 and still i observe the same behaviour. Cheers, On Mon, 2005-10-10 at 17:59, Dave Shield wrote: > On Mon, 2005-10-10 at 17:36 +0200, Ali Al-Shabibi wrote: > > Hence my question, does net-snmp cache counter values? > > It depends

Re: does net-snmp cache snmp counters

2005-10-10 Thread Thomas Anders
Ali, do you eventually care to answer Dave's question: We'd need to know the exact MIB object(s) you're polling, ? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --- This SF.Net email is sponsored by: Power Architecture Resour

RE: does net-snmp cache snmp counters

2005-10-10 Thread Ali Al-Shabibi
Hi, I thought I did, but anyway the objects I am polling are If[In,Out]Octets, If[In, Out][U,M,B]cast, If[In,Out]Discards, IfOutQlen and Dropped Events from the RMON mib. I hope that will do. Cheers, -Original Message- From: Thomas Anders [mailto:[EMAIL PROTECTED] Sent: Mon 10/10/200

[SLV]RE: What is lt-snmpd?

2005-10-10 Thread Ying Wang(CD)
Thomas wrote: > haven't installed it properly (do a proper "make > install" instead, then) Yes, I just copy snmpd and relevant dynamical library to a new environment, and run it without installation. Thanks for kindly help! BR Ying -Original Message- From: Thomas Anders [mailto:[EM