Help needed to a newbie

2012-11-12 Thread diffuser78
Hi there, I recently started out on working net snmp as an intern project for a company. I need some basic help and pointer that will help me get started and unblock me. I want to make a change to snmpd, such that any time a new GET (or GET NEXT or GET BULK) request comes, before invoking handler

Re: Re: help needed wrt net-snmp windows 64bit

2012-02-29 Thread Fulko Hew
On Wed, Feb 29, 2012 at 12:52 PM, Bart Van Assche wrote: > On Feb 29, Markus Gaugusch wrote: > > On Feb 29, Vijaya Simha Reddy Aedavelli > wrote: > > > I want to develop the snmp agent, using net-snmp on Windows 64bit > > > OS(Windows 7/8). Is this possible? > > > > > > I've seen Win32 is availa

Re: Re: help needed wrt net-snmp windows 64bit

2012-02-29 Thread Bart Van Assche
On Feb 29, Markus Gaugusch wrote: > On Feb 29, Vijaya Simha Reddy Aedavelli wrote: > > I want to develop the snmp agent, using net-snmp on Windows 64bit > > OS(Windows 7/8). Is this possible? > > > > I've seen Win32 is available. What about 64bit? > > Just compile it yourself, there is some infor

Re: help needed wrt net-snmp windows 64bit

2012-02-29 Thread Markus Gaugusch
Just compile it yourself, there is some information in the list archives available. On Feb 29, Vijaya Simha Reddy Aedavelli wrote: > Hi, > > I want to develop the snmp agent, using net-snmp on Windows 64bit > OS(Windows 7/8). Is this possible? > > I've seen Win32 is available. What about 64bit?

help needed wrt net-snmp windows 64bit

2012-02-29 Thread Vijaya Simha Reddy Aedavelli
Hi, I want to develop the snmp agent, using net-snmp on Windows 64bit OS(Windows 7/8). Is this possible? I've seen Win32 is available. What about 64bit? Thanks in advance. Regards Vijay -- Virtualization & Cloud Mana

Re: Help needed

2010-09-10 Thread Dirk-Willem van Gulik
Op 10 sep 2010, om 15:24 heeft Katta, Srinivasa (Contractor) het volgende geschreven: > installed the net-snmp-5.4.2.1(got binary pkg from Sun freeware) on solaris > 9 and it is installed without any problem. > .. > error on subcontainer 'interface container' insert (-1) > You can ignore tha

Re: Help needed

2010-09-10 Thread Wes Hardaker
> On Fri, 10 Sep 2010 09:24:21 -0400, "Katta, Srinivasa (Contractor)" > said: KS(> error on subcontainer 'interface container' insert (-1) That's from an old bug you can actually fairly safely ignore the messages from. KS(> fw1# /usr/local/bin/snmpget -v 2c -c public localhost sysDesc

Help needed

2010-09-10 Thread Katta, Srinivasa (Contractor)
Hi net-Snmp Guys, I need an advise from you regarding net-snmp installation and configuration on sparc solaris 9. I installed the net-snmp-5.4.2.1(got binary pkg from Sun freeware) on solaris 9 and it is installed without any problem. I run the /usr/local/sbin/snmpd without any problem and it

Re: help needed [snmpconf utility]

2009-11-30 Thread Dave Shield
2009/11/19 sandeep patra : > But using the snmpconf utility, I am able to generate only the following line > master  agentx > but not able to create the line responsible for generating agentxsocket at > the default location /var/agentx/master. > > Please help me in this regard. That doesn't ma

help needed [snmpconf utility]

2009-11-18 Thread sandeep patra
Hi, I am using snmpconf utility to generate the snmpd.conf file. I want to run my master agent as agentx. For that I usually writes following 2 lines in my snmpd.conf file master agentx agentxsocket /var/agentx/master But using the snmpconf utility, I am able to generate only the following line

Re: help needed regarding registering callback functions

2009-09-01 Thread Dave Shield
2009/9/1 sandeep patra : > I am writing a snmp subagent (say name xyz), whose purpose is to capture all > v2traps send out by the snmp master agent. I'm not sure that will be possible. The master agent and the subagent are separate processes. The only communication between them is as specified in

help needed regarding registering callback functions

2009-08-31 Thread sandeep patra
Hi, I am writing a snmp subagent (say name xyz), whose purpose is to capture all v2traps send out by the snmp master agent. for this in the init_xyz() function i have registered a callback function for v2trap using below lines snmp_register_callback(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_SEND_

Re: Help needed to monitor CPU utilization for a particular running process

2009-08-28 Thread Dave Shield
2009/8/28 sandeep patra : > So if within a time duration of 1 minute this couter gets incremented by x > then the CPU utilization percentage would be equals to = (x / (60 * 100)) Probably, yes. Though I suggest you do some testing to verify this. (Particularly if you've got a multi-CPU system).

Re: Help needed to monitor CPU utilization for a particular running process

2009-08-28 Thread sandeep patra
Thank You very much Dave. I was just comparing with the output of top command which gives me percentage of CPU utilization of each process. Yes it should be over a time period. So if within a time duration of 1 minute this couter gets incremented by x then the CPU utilization percentage would be e

Re: Help needed to monitor CPU utilization for a particular running process

2009-08-28 Thread Dave Shield
2009/8/28 sandeep patra : > I think HOST-RESOURCES-MIB::hrSWRunPerfCPU > would provide me "the number of centi-seconds of the total system CPU > resource that a running process is consuming" Yes - this gives you the raw data that you need. > but i want to monitor the current percentage of CPU a p

Re: Help needed to monitor CPU utilization for a particular running process

2009-08-28 Thread sandeep patra
Hi Dave, I think HOST-RESOURCES-MIB::hrSWRunPerfCPU would provide me "the number of centi-seconds of the total system CPU resource that a running process is consuming" but i want to monitor the current percentage of CPU a perticular process is consuming. (e.g. 10% of CPU) I have seen that HOST-RE

Re: Help needed to monitor CPU utilization for a particular running process

2009-08-28 Thread Dave Shield
2009/8/28 sandeep patra : > I am using DISMAN-EVENT-MIB for monitoring system resources > and for generating traps when some threashold reaches. > I want the snmp master agent to generate Trap when a process > eats  (say greater than 10%) of CPU. How can I do this? That sounds like the object HOST

Help needed to monitor CPU utilization for a particular running process

2009-08-28 Thread sandeep patra
Hi, I am using DISMAN-EVENT-MIB for monitoring system resources and for generating traps when some threashold reaches. I want the snmp master agent to generate Trap when a process eats (say greater than 10%) of CPU. How can I do this? what changes I need to do in my snmpd.conf file so that the mas

Re: SNMP - Help Needed.

2009-06-09 Thread Wes Hardaker
> On Fri, 5 Jun 2009 11:35:14 +0530, said: pk> ld.so.1: snmpwalk: fatal: libcrypto.so.0.9.8: open failed: No such pk> file or directory The application was compiled on a system that had openssl installed. You don't have openssl on the machine you're trying to run it on, so there is an issue.

SNMP - Help Needed.

2009-06-05 Thread prasanth.krishnan
Hello, I am getting an error while running the SNMPWALK command from Solaris 10 /X86 server. I am unable to analyse it. ld.so.1: snmpwalk: fatal: libcrypto.so.0.9.8: open failed: No such file or directory Killed Please give recommended action. System = SunOS Release = 5.10 KernelID

RE: help needed with root oid and getnext operation

2009-03-02 Thread EYRE Bernadette
; net-snmp-coders@lists.sourceforge.net Subject: Re: help needed with root oid and getnext operation 2009/2/28 EYRE Bernadette : > One of my original problem was that when using snmpwalk command OK - so you are using "snmpwalk". That's definitely relevant here > on say

Re: help needed with root oid and getnext operation

2009-02-28 Thread Dave Shield
2009/2/28 EYRE Bernadette : > One of my original problem was that when using snmpwalk command OK - so you are using "snmpwalk". That's definitely relevant here > on say a column (without any instance index) of one of the tables, That's pretty much what I expected, but you hadn't given suffi

RE: help needed with root oid and getnext operation

2009-02-27 Thread EYRE Bernadette
e Cc: Mike Ayers; net-snmp-us...@lists.sourceforge.net; harish...@hp.com Subject: Re: help needed with root oid and getnext operation 2009/2/26 Bernadette Eyre : > My code registers organization root oid. > > (I substituted y and x in the oid to conceal some proprietary stuff) Fair

Re: help needed with root oid and getnext operation

2009-02-26 Thread Bernadette Eyre
Hi David, I first sent this email to users list instead of coders where I'm subscribed and the email bounced, apology if you get two copies of this email --- my comments are embedded below. On Thu, 2009-02-26 at 08:44 +, Dave Sh

Recall: Help Needed on Trap Support to Multiple destinations

2008-08-22 Thread Rajesh Gopalan
Rajesh Gopalan would like to recall the message, "Help Needed on Trap Support to Multiple destinations". SASKEN BUSINESS DISCLAIMER - This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended

Help Needed on Trap Support to Multiple destinations

2008-08-22 Thread Rajesh Gopalan
Hi, This is Rajesh working in Sasken communication Technologies Ltd. We are using the proven Net SNMP Open source (version 5.4.1) for a project. We need a help on trap support as we are new to this. We need to support multiple destinations for the trap events. We want to know whether the current

Re: Help Needed

2008-04-11 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. Thanks. ] On 11/0

Re: Help Needed

2008-04-10 Thread Dave Shield
On 10/04/2008, Suseendran R.B <[EMAIL PROTECTED]> wrote: > I have been assigned a task of > accessing the information of NTP through SNMP and I'm not able to proceed > further because I have some difficulties in getting the right MIB for my > NTP. There appears to be

Re: SNMP agent help needed

2006-10-13 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 1. I want to create my own MIB file and for that MIB file I want SNMP > agent to traverse the MIB tree, I have created a MIB file, but I want to > know where should I port the MIB file (at Manager as well as Agent > side)?

SNMP agent help needed

2006-09-26 Thread subhash.gajare
Hi,   I am studying the Net-SNMP agent code of version Net-SNMP 5.2.3. In that regards I have some queries.  1.  I want to create my own MIB file and for that MIB file I want SNMP agent to traverse the MIB tree, I have created   A MIB file, but I want to know where should I port the MIB

RE: help needed for SNMpv1 proxy support

2006-07-06 Thread Jobin Jose Sebastin
- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 2:42 PM To: Jobin Jose Sebastin Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: help needed for SNMpv1 proxy support Jobin Jose Sebastin wrote: > Actually my intension is to forward the requests comes for the part of &

Re: help needed for SNMpv1 proxy support

2006-07-06 Thread Dave Shield
Jobin Jose Sebastin wrote: > Actually my intension is to forward the requests comes for the part of > my mib tree to a remote agent ( say IPADDRESS 192.168.157.41 with > sysName : remote agent). > > My configuratin file /etc/snmp/snmpd.conf is as follows. > [snip] > proxy -v 1 -c publi

Re: SnmpTrap help Needed!!

2005-02-21 Thread Robert Story
First, please don't post to both lists. On Wed, 16 Feb 2005 21:48:48 -0800 (PST) raja wrote: RK> "snmptrapd -f -P" to capture notifications,but failed RK> to capture any notifications.i am sure that my code RK> generates traps. Try snmptrapd -f -Le -d That will dump all packets receive

SnmpTrap help Needed!!

2005-02-21 Thread raja krishna
Hi, I am using Agentx protocol to manage a couple of protocols.I am using my own agentx-code as subagent and net-snmp ver 5.0.8 as the master agent. I tested get/Set and walk successfully,But i am unable to capture traps on snmptrap deamon. I used the following option: "snmptrapd -f -P" to capt

SnmpTrap help Needed!!

2005-02-21 Thread sambath kumar
Hi, I am using Agentx protocol to manage a couple of protocols.I am using my own agentx-code as subagent and net-snmp ver 5.0.8 as the master agent. I tested get/Set and walk successfully,But i am unable to capture traps on snmptrap deamon. I used the following option: "snmptrapd -f -P" to capt

Re: Architecture help needed..

2004-07-06 Thread Coders
On Tue, 6 Jul 2004 13:57:12 +0200 Arne wrote: AB> RS> How are you going to get the data to the agent? Shared memory? AB> RS> database? How big is the array? AB> AB> At the moment, I use a global variable protected by a pthread_mutex. AB> RS> [...] I'm thinking is adding a cache handler to an arr

Re[2]: Architecture help needed..

2004-07-06 Thread Arne Brutschy
Hi, [EMAIL PROTECTED] wrote: RS> On Mon, 5 Jul 2004 23:24:01 +0200 [EMAIL PROTECTED] wrote: AD>> I implemented the config management with help of the array-user table, AD>> which worked fine for me. The other part of the software is more AD>> dynamic: A thread collects traffic statistics (how man

Re: Architecture help needed..

2004-07-06 Thread Coders
On Mon, 5 Jul 2004 23:24:01 +0200 [EMAIL PROTECTED] wrote: AD> I implemented the config management with help of the array-user table, AD> which worked fine for me. The other part of the software is more AD> dynamic: A thread collects traffic statistics (how many octets on which AD> port) and store

Architecture help needed..

2004-07-05 Thread abrutschy
Hi all, I need a bit of help with designing the architechture of my snmp agent. I implemented the config management with help of the array-user table, which worked fine for me. The other part of the software is more dynamic: A thread collects traffic statistics (how many octets on which port) and