Re: MIB for Numbre of processes

2004-12-11 Thread Wes Hardaker
> On Wed, 8 Dec 2004 10:02:46 +0900, Murali Bestha <[EMAIL PROTECTED]> said: Murali> Hi, Murali> In our monitor application, we need to get the number of current Murali> processes running on the server. The server could be Redhat Murali> Linux/Solaris or HP-UX. Please let me know whats the OID

Re: snmptrapd kills itself as soon as i issue a snmptrap

2004-12-11 Thread Wes Hardaker
> On Tue, 07 Dec 2004 21:34:00 -0300, Jose Dragone <[EMAIL PROTECTED]> said: Jose> and I find out immediately after this any of these traps the following: Jose> service snmptrapd status Jose> snmptrapd dead but pid file exists It certainly shouldn't be dying. Can you run it in a debugger to

Re: why free response but not pdu??

2004-12-11 Thread Wes Hardaker
> On Wed, 8 Dec 2004 15:09:30 -0800 (PST), shetty bharat <[EMAIL > PROTECTED]> said: shetty> I have a situation where I have to do high frequency shetty> proxy polling(all the time) for hundreds of logical shetty> entities on a couple of hundred devices. And now i am shetty> not sure if i

Re: help with limiting response time

2004-12-11 Thread Wes Hardaker
> On Mon, 6 Dec 2004 19:44:48 +0800, "Anupama" <[EMAIL PROTECTED]> said: Anupama> I wanted to limit the response time to snmp GET by using Anupama> alarm functions. I doubt you could implement that safely. What's the real problem you're trying to solve? Why not restrict access to the OIDs t

Re: Trap reception problem in Perl

2004-12-11 Thread Wes Hardaker
> On Fri, 12 Nov 2004 17:32:30 +0100, GRUNCHEC Gaƫl <[EMAIL PROTECTED]> > said: GRUNCHEC> I'm trying to receive traps with SNMP::Session. I used the GRUNCHEC> example given in the perl/SNMP/examples/trap-example.pl of GRUNCHEC> NetSNMP project source tree. I think that code is for sendin

Re: Disabling sub table?

2004-12-11 Thread Wes Hardaker
> On Sun, 05 Dec 2004 18:11:14 -0500, Ted Kaczmarek <[EMAIL PROTECTED]> > said: Ted> Any chance of being able to disable just part of a table? Ted> Instead of disabling ip, ip.ipRouteTable. You can turn it off via denying it through VACM settings -- Wes Hardaker Sparta --

Re: Questions regarding to snmptrapd

2004-12-11 Thread Wes Hardaker
> On Wed, 08 Dec 2004 14:29:07 +0800, tikcireviva <[EMAIL PROTECTED]> said: tikcireviva> How does Net-snmp determine whether the receiving binary tikcireviva> data contains pain text or hex-string? It's checked with the isprint() function and thus if it contains stuff that isn't supposed to b

Re: SNMP and CIM

2004-12-11 Thread Wes Hardaker
> On Mon, 22 Nov 2004 10:40:24 +0530, Kurapati M-G19456 <[EMAIL PROTECTED]> > said: Kurapati> Any clues on where to get more data about CIM and SNMP Kurapati> interworking would be greatly helpful. I did some googling, Kurapati> I got CIM and LDAP interworking but not CIM and SNMP. Umm..

Re: (no subject)

2004-12-11 Thread Wes Hardaker
> On Tue, 7 Dec 2004 00:59:55 -0800 (PST), Hazaruddin Abdullah <[EMAIL > PROTECTED]> said: Hazaruddin> I'm Mr Hazaruddin Abdullah from Kuala Lumpur. I would like Hazaruddin> to gain an y information about SNMP protocol. Actly I'm Hazaruddin> the new users n just beginning to understand th

Re: Doubt

2004-12-11 Thread Wes Hardaker
> On Mon, 06 Dec 2004 18:15:15 +, "Mauricio Reyes" <[EMAIL PROTECTED]> > said: Mauricio> I was wondering where the snmpd.conf file is read from Mauricio> within the code. i need to know how it is read. In init_snmp() (inside read_configs()) See the read_config manual page. Mauricio

Re: agentx subagent

2004-12-11 Thread Wes Hardaker
> On Mon, 6 Dec 2004 11:49:14 -0700, Carlos Cantu <[EMAIL PROTECTED]> said: Carlos> If using an agentx sub-agent to connect to net-snmp master Carlos> agent, what kind of connection is set up for communication? agentx, by default on unix, uses a named pipe: /var/agentx/master -- Wes Hardak

Re: running snmpd through dmalloc

2004-12-11 Thread Wes Hardaker
> On 07 Dec 2004 11:14:40 +0530, ujjwal <[EMAIL PROTECTED]> said: ujjwal> After tracing a bit, we noticed that setlocale() function called from ujjwal> the agent is trying to free null pointer. Err... If setlocale is the problem then thats a OS problem not a Net-SNMP problem... -- Wes Hard

Re: Understanding Traps

2004-12-11 Thread Wes Hardaker
> On Fri, 10 Dec 2004 19:21:27 -0200, "Gutemberg Santos de Medeiros" > <[EMAIL PROTECTED]> said: Gutemberg> % snmptrap -v 2c -c public localhost '' NOTIFICATION-TEST-MIB::demo-notif \ SNMPv2-MIB::sysLocation.0 s "just here" Gutemberg> occurs snmptrap : unknown host Um, that shouldn't h

Re: Fairly confused.....

2004-12-11 Thread Wes Hardaker
> On Wed, 8 Dec 2004 13:16:42 -0500, <[EMAIL PROTECTED]> said: Chris> Am I correct that this is actually the "NET-SNMP" agent ?? (formerly Chris> UCDavis) Correct. Fedora (and RedHat releases before that) have all included Net-SNMP. Chris> However. I want to be able to see CPU and Memor

Re: Getbulk

2004-12-11 Thread Wes Hardaker
> On Wed, 8 Dec 2004 17:53:44 +0200, "Moses Reuben" <[EMAIL PROTECTED]> > said: Moses> I'm using the snmpwalk.c to get the route table from my router, Moses> during the session the router cpu usage reaches above 80% so I Moses> want to use getbulk instead of getnext. What I should change

Re: (no subject)

2004-12-11 Thread Wes Hardaker
> On Thu, 9 Dec 2004 19:17:58 +0200, "Moses Reuben" <[EMAIL PROTECTED]> > said: Moses> I'm using the snmpbulkwalk.c to get the route table from my Moses> router, but my sniffer (Ethereal) recognize the packet as Moses> GETNEXT packets with one oid on each response it this o.k. or Moses> m

Re: NET-SNMP Binaries distribution along with the commercial software ?

2004-12-11 Thread Wes Hardaker
> On Fri, 10 Dec 2004 10:04:11 +0530, Kurapati M-G19456 <[EMAIL PROTECTED]> > said: Kurapati> I need a clarification on distribution of net-snmp binaries Kurapati> along with a commercial software. Is it OK to distribute? Kurapati> Are there any copyright issues? The file you need to r

Re: snmptrapd start problems

2004-12-11 Thread Wes Hardaker
> On Thu, 09 Dec 2004 19:57:30 -0300, Jose Dragone <[EMAIL PROTECTED]> said: Jose> The same problem is happening to me no matter what version of net-snmp Jose> I'm dealing with, as I tried with 5.0.9 or 5.2 and I can figure it out Jose> on how to solve it I'd run "sh -x /etc/rc.d/init.d/snm

Re: why free response but not pdu??

2004-12-11 Thread Wes Hardaker
> On Wed, 08 Dec 2004 10:47:05 -0600, Stephen Dzurenko <[EMAIL PROTECTED]> > said: Stephen> My question regarding the above code is why do we free the Stephen> reponse PDU but not the pdu PDU??? In fact, when I have Stephen> attempted to free the pdu PDU bad things have happened. The or

How to begin to copy files, install, and configure snmp on HPUX?

2004-12-11 Thread Vern Harrison
I am wanting to use snmp on my HPUX systems. It is my understanding that I need to install snmp from net-snmp-5.1.1-HP-UX_B.10.20_9000_715.tar that I downloaded because the version of snmp that HPUX has by default does virtually nothing. So, now that I have the download, what are the steps I need t