Re: Query MIB internally during snmpd initialization

2018-08-22 Thread Wes Hardaker via Net-snmp-coders
Michael Wu writes: > I have a situation where the pass persist scripts take some time to run due > to the size of the custom mibs it needs > to generate. When pass persist script gets started by snmpd, the external > query (snmpwalk for example) would time > out. To get around this issue I was

Re: Query related to net-snmp package

2015-01-25 Thread Robert Story
On Mon, 15 Dec 2014 14:59:41 +0530 aman wrote: AS> Is there a fix for the 100 % cpu utilization due to snmp process? AS> If yes, please tell me the link of the patch and what version of net-snmp AS> contains this patch? AS> AS> please do the needful...its gating. What release are you running? Wha

RE: Query related to net-snmp package

2015-01-04 Thread Rajkumar Purohit
Hi Aman, I have no idea about 100% cpu utilization due to SNMP Process. I am working on net-snmp in linux environment, , the time allocation done by linux os with process scheduling mechanism and the cpu time is shared by all running processes. Regards, Raj From: aman sharma [mailto:amansharma

Re: Query related to memory leaks and read errors in snmptrap command

2014-02-13 Thread Bill Fenner
On Wed, Feb 12, 2014 at 12:41 PM, Chaitanya Gulhane < [email protected]> wrote: > Hi Bill, > > Thanks for the reply. > > Actually I wanted to use Net-SNMP APIs to send traps from my code instead > of direct calling snmptrap. I saw that my code was having leaks. So I > curiously tested fo

Re: Query related to memory leaks and read errors in snmptrap command

2014-02-10 Thread Bill Fenner
On Thu, Feb 6, 2014 at 7:11 AM, Chaitanya Gulhane < [email protected]> wrote: > > Hi, > > I was using net-snmp 5.6.2 and have built the code and installed it. > > I was using valgrind over snmptrap command. > Following is the command I ran. > > valgrind --leak-check=full --log-file=log_s

Re: Query For SNMP NOTIFICATION-TYPE

2011-05-09 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 5 May

Re: Query For SNMP NOTIFICATION-TYPE

2011-05-05 Thread Dave Shield
On 5 May 2011 08:43, Dashang Trivedi wrote: >     My MIb file contain this macro >  highCpuUsage NOTIFICATION-TYPE [snip] If this is a notification object, then it can *only* be used as part of a "snmptrap" (or similar) command. There is no information

Re: query on VACM Config

2009-07-24 Thread Dave Shield
2009/7/24 B V Narasimhulu : > rocommunity jjk > group network-admin v2c jjk Do _not_ try and mix the short-form ("rocommunity") and long-form (com2sec/group/access) styles of access control. That way madness lies. > I want to exclude the ifTable mib while paring the MIBs with one community >

Re: query: send_easy_trap issue

2009-01-22 Thread Dave Shield
2009/1/22 B V Narasimhulu : > Why the net-snmp routine: send_easy_trap(x,x) sending trap TWICE for every > time when call that routine ? What does your 'snmpd.conf' file contain? Dave -- This SF.net email is sponsored by

Re: Query reg Net-SNMP5.4.2.1

2008-12-21 Thread Nikos Balkanas
Have you considered running valgrind on it? BR, Nikos - Original Message - From: VenkatRangan Govindarajan To: [email protected] Cc: [email protected] Sent: Sunday, December 21, 2008 9:12 AM Subject: Query reg Net-SNMP5.4.2.1 Hi, Thanks for th

Re: Query regarding the SNMP Subagent coding.

2008-06-05 Thread Bhuvan
: Dave Shield <[EMAIL PROTECTED]> To: Bhuvan <[EMAIL PROTECTED]> Cc: net-snmp Coders Sent: Thursday, June 5, 2008 10:45:57 AM Subject: Re: Query regarding the SNMP Subagent coding.     [ Normally, I'd delay responding to private email for a day,       and then start with a plea to

Re: Query

2007-04-10 Thread Dave Shield
On 09/04/07, satishkr <[EMAIL PROTECTED]> wrote: > I am Using NetSNMP Library for Sending traps to OMC. Now i want to develop a > code for recieving traps from OMC(remote system) how shall i go about it ... Have a look at the application 'snmptrapd', which does precisely this. You might also wish

Re: query regarding SNMP

2007-03-13 Thread Dave Shield
On 09/03/07, nishant singh <[EMAIL PROTECTED]> wrote: > I have to get device information(Like its name and location) > using SNMP in c++ environment(In windows)... > Plz can anybody send me some sample codes in C++ regarding > how to create SNMP packets,send and How to get the information.. Pleas

RE: Query on configuring master and subagent in net-snmp

2007-01-22 Thread Lokeswara B ,Bangalore
[email protected]; [email protected] Subject: RE: Query on configuring master and subagent in net-snmp Hi, Thanks for your response. As I am new to net-snmp. I used the example mib(only leaf node) from net-snmp tutorials and tried to implement our project relate

RE: Query on configuring master and subagent in net-snmp

2007-01-22 Thread vijaya.dlakshmi
. Regards Vijaya -Original Message- From: [EMAIL PROTECTED] on behalf of Dave Shield Sent: Sat 1/20/2007 7:52 PM To: Vijaya Lakshmi D (WT01 - IP-Multimedia Carrier & Ent Networks) Cc: [email protected]; [email protected] Subject: Re: Query on configu

Re: Query on configuring master and subagent in net-snmp

2007-01-22 Thread Dave Shield
On 22/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Using mib2c, I am generating .c and .h files. But it is giving only skeleton > program. That's right. Mib2c can construct the framework of your MIB module - the code for handling the SNMP side (the syntax of the MIB). But it can't know

Re: Query on configuring master and subagent in net-snmp

2007-01-20 Thread Dave Shield
On 20/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > d) ./mysubagent & > But after running the step "d" , it is looking for /var/agentx/master file. Please see the FAQ entry How can I run AgentX with a different socket address? (http://net-snmp.sourceforge.net/wiki/index.php/FAQ

Re: Query about System Group - Reg

2006-04-06 Thread Thomas Anders
madhan raj wrote: Iam using Net-SNMP-5.3.0.1 in my router. I have one doubt about the "System Group". In system group we have the following variables which are writable: SysContact (1.3.6.1.2.1.1.4.0), SysName (1.3.6.1.2.1.1.5.0) and SysLocation (1.3.6.4.2.1.1.6.0

Re: query multiple tables

2006-01-20 Thread Dave Shield
On Thu, 2006-01-19 at 13:53 -0800, Fong Tsui wrote: > I have no problem to snmpget multiple OIDs, such as > snmpget -c public localhost ifSpecific.6 sysUpTime.0 As documented in the man page: $ man snmpget NAME snmpget - communicates with a network entity using SNM

Re: Query regarding SMUX process.

2005-05-10 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 Tue

Re: Query regarding SMUX process.

2005-05-10 Thread Dave Shield
On Sat, 2005-05-07 at 07:55, jigar contractor wrote: > I want to get some more information about how to make > SMUX process in Net- SNMP. Well the most important thing to know about SMUX is that it's obsolete. If you're developing subagents today, then the most sensible starting point would be Ag

Re: Query related to snmpset

2005-03-22 Thread Dave Shield
[First - *please* don't mail me privately, without Cc:ing the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. In fact, you should send initial queries to the list *only*. I've currently stepped back from the lists, to

Re: Query on snmpwalk

2004-12-07 Thread Coders
On Tue, 07 Dec 2004 07:08:23 -0500 Andy wrote: AS> c) Network issues. AS> AS> If you can ping the machine then of course that rules out c. Not necessarily... Could be tcpwrappers configuration, or a firewall.. Running 'snmpd -f -d' will print packet dumps on receive/send, and let you know if the

Re: Query on snmpwalk

2004-12-07 Thread Andy Smith
In almost all of the cases that this has happened to me it has been: a) An SNMP version that the agent does not support. b) The community string is not configured correctly on either the querying machine or the agent machine. c) Network issues. If you can ping the machine then of course that rule

Re: Query regagarding tables

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding ] > I am new to SNMP.I have designed a MIB for the com port settings. The values > for the objects in the MIB have to be retrieved and saved into a txt file. > How do I know the row number where the column values are to be set? The most obvious