OID for processor group on HP-UX

2004-10-18 Thread Murali Bestha
Hi, Can anybody please let me know what are the OIDs for the Processor Group objects like numActive and numPresent etc. Please help me as I could not frame these OIDs. Thanks in advance Murali --- This SF.net email is sponsored by: IT Product

Monitoring threaded processes

2004-10-18 Thread Darren Gamble
Good day, I asked this question on the list a couple of years or so ago, but I can't seem to find the post anywhere in the archives. My apologies for asking this question again... I just need to have net-snmp properly report the number of threads for a given process ("proc" entry in the config f

Is there a utility to generate a MIB from a SQL Schema or DDL?

2004-10-18 Thread Tom Sturgeon
I want to take an existing database and create a MIB from it, then run mib2c and generate stubs for the SNMP agent.   Inside the stubs, I’ll make the appropriate calls to retrieve the data from the database.   Does such a handy thing exist?   Thanks, Tom

RE: snmpd problem

2004-10-18 Thread Tony Sutton
Just wondering... Is anyone looking into this problem? Is this a known problem or... ? Many thanks, - Tony Sutton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Sutton Sent: 13 October 2004 17:38 To: 'Dave Shield' Cc: [EMAIL PROTECTED] Subject:

Re: Converting a MIB into another (changing columns in a SNMP table)

2004-10-18 Thread ascc csaa
Thanks a lot. I'll try this. And apologies for the private mail. --- Dave Shield <[EMAIL PROTECTED]> a écrit : > [ First - *please* don't mail me privately, > without copying >any responses to the mailing list. I don't have > the time > or inclination to offer private,

RE: SNMP through an SSH tunnel

2004-10-18 Thread Jeff Johnson
You don't indicate whether or not the snmp trap source is on the same device as the local end of the ssh tunnel. If so, it should be easy to forward traps. If you don't have a trap receiver running on the local device, all you need to do is configure your ssh client to forward udp port 162 to the

Re: Creation of table module failes.

2004-10-18 Thread Dave Shield
> > So the first thing to get straight is how to handle the index column. > > What is the MIB definition of this object? In particular, what is the > > MAX-ACCESS clause? > For COLUMN_GATEWAYINDEX the MIB has defined as: > MAX-ACCESS not-accessible Right - then the COLUMN_GATEWAYINDEX line s

Re: Converting a MIB into another (changing columns in a SNMP table)

2004-10-18 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. T

SNMP through an SSH tunnel

2004-10-18 Thread Weinberger, Keith A
Does anyone know if you can send SNMP traps through a SSH tunnel ? If so, how ? If not, why not ?   Thanks,   Keith Weinberger, CISSP, AISSR, OSCR Senior Consultant Computer Associates, Inc. Cell: (210) 602-5833  

Re: Creation of table module failes.

2004-10-18 Thread Reiner Nix
> > I have played different 'add_row' calls. No one succeeded. > > Can we stick with one, please - it's much less confusing when > trying to debug something remotely. Thanks. > > Comparing this: > > Using the following call > > # add_row gatewayTable 1 "TrendGateway" "reiner" > >"queue/ma

Re: Can I change community strings remotely?

2004-10-18 Thread Dave Shield
> I'd like to change the community strings from remote snmp manager. > Is this possible? No. Not with the Net-SNMP agent at least. > I found the snmpCommunityMIB Yes - that's the MIb that you'd use. > Is this MIB module used? No - we haven't (yet) implemented this particular MIB. It's on

Re: Can I change community strings remotely?

2004-10-18 Thread Thomas Anders
shunuhs wrote: If this is impossible, I should use v3 based usm. But I heard that the v3 mode on net-snmp, since engine ID is generated based on an IP address, we have to use it in a fixed IP address environment. Is this correct? No, by default the engine ID is built from 2 fairly random elements:

Can I change community strings remotely?

2004-10-18 Thread shunuhs
#sorry, I sent from different mail address previously. (B (BHi, (B (BI'm using v2c mode on the net-snmp-5.1.2. (B (BI'd like to change the community strings from remote snmp manager. (BIs this possible? (B (BI found the snmpCommunityMIB(1.3.6.1.6.3.18) that includes snmpCommunityName (Bob

perl / multiple agents on same host, for same OID

2004-10-18 Thread Toni Willberg
I have developed a little device emulator using NetSNMP Perl module. It binds to one OID. Now I've been asked to run multiple instances of the emulator on the very same host, and I didn't find a clear solution for this. I did set up several IP addresses on the host, 10.0.0.1, 10.0.0.2 and so on.

Re: net-snmp snmpd and load average on Linux

2004-10-18 Thread Dave Shield
> Thanks, that works! But why doesn't this appear when I do an snmpwalk > without specifying the OID? Please see the FAQ entry: Why can't I see values in the tree? Dave --- This SF.net email is sponsored by: IT Product Guide on ITManag

Re: net-snmp snmpd and load average on Linux

2004-10-18 Thread Chris Boot
Hi there, Thanks, that works! But why doesn't this appear when I do an snmpwalk without specifying the OID? If I just do a 'snmpwalk -v 1 -c public localhost' I don't see the UCD-SNMP-MIB entries at all. How can I get it to show all the MIBs when I do a walk? I'd like to see what other attribut

Re: ppp0 interface

2004-10-18 Thread Dave Shield
> I am using ucd-snmp 4.2.6 in my computer. I was wondering if it possible > to quere an agent using the ppp0 interface, or in other words using a > dial-up connection. Should be no problem. SNMP is just another protocol sitting on top of IP, so if you've got an IP connection over your dial-up

Re: "exec" buffer size problem

2004-10-18 Thread Dave Shield
> After upgrading to 5.1.2-5 again, I did some more tests. When the total > amount of data is below 4k, snmpd works but truncates the output of my > script at 1023 bytes. If the total amount of data is above 4k, snmpd > hangs. > Unfortunately, downgrading all SNMP-related pages to 5.1-5 doesn't >

Re: Converting a MIB into another (changing columns in a SNMP table)

2004-10-18 Thread Dave Shield
> When proxying the table with all the columns, it works > OK. But when trying to redirect column 4 to column 1, > a getNext on LOCALHOST fails, saying "Not Increasing OID". Why are you trying to redirect one column to another? Particularly to an *earlier* column. GetNext is quite correct to comp

Re: net-snmp snmpd and load average on Linux

2004-10-18 Thread Dave Shield
> When I snmpwalk it, I can't see any variables to do with load average, Try snmpwalk ... arcadia UCD-SNMP-MIB::laTable That shouldn't need any special entries in your config file. Dave --- This SF.net email is sponsored by: IT Produc

net-snmp snmpd and load average on Linux

2004-10-18 Thread Chris Boot
Hi, I admit I'm new to SNMP. I'm running Gentoo Linux and I've set up a pretty basic snmpd.conf with the help of snmpconf, and started snmpd up. When I snmpwalk it, I can't see any variables to do with load average, which I really would like to see. I've got CPU % and other such things which ar

ppp0 interface

2004-10-18 Thread Mike Mohamet
Hi all I am using ucd-snmp 4.2.6 in my computer. I was wondering if it possible to quere an agent using the ppp0 interface, or in other words using a dial-up connection. Regards, Mike begin:vcard fn:Mike Mochamet n:Mochamet;Mike org:Intracom S.A.;Wagering & POS Systems Development adr;dom:;;;At

Re: embedded perl, memory leak

2004-10-18 Thread Thomas Anders
Jean-Michel Favre wrote: I'am at present testing embedded perl both as an extension of snmpd and snmptrapd. (net-snmp 5.2.pre2). The perl extension to snmptrapd consumes a large amount of memory even when the perl trap handler is a single return instruction. with snmpd, the request handler being