net-snmp agent gets timeout while responding

2020-06-01 Thread Jae
Hi, I installed net-snmp 5.7.3 version on windows 2016 servers, CentOS 6 and CentOS 7. I am using net-snmp agent to monitor servers' process list, cpu, memory and disk. My snmp manager is running on windows 2016. When I query using snmpwalk command, it works fine on every CentOS 6,7 server

extending the net-snmp agent - which approach to use?

2015-02-11 Thread Tim Culhane
Hi There, I'm relatively new to snmp, so excuse any mistakes I make in terminology etc in this message. I would like to extend the net-snmp agent so that I can monitor performance and status counters maintained by a proprietary mail server developed by my employer. The mail server has a t

Re: Support for ipv6AddrTable missing in Net-SNMP agent?

2014-08-21 Thread Bill Fenner
I like using '-OX' when I'm using snmpwalk to explore what a device implements. Then things like this become much more obvious, e.g., IP-MIB::ipAddressOrigin[ipv4]["127.0.0.1"] = INTEGER: manual(2) IP-MIB::ipAddressOrigin[ipv4]["172.18.16.10"] = INTEGER: manual(2) IP-MIB::ipAddressOrigin[ipv4]["1

Re: Support for ipv6AddrTable missing in Net-SNMP agent?

2014-08-21 Thread Roger Meier
Hi Bill Many thanks for the hint: We found the IPv6 addresses using the IP MIB "ipAddressTable". When we looked at it first, we were not aware that the IP addresses are coded into the dotted OID. Thus we oversaw it browsing through the snmpwalk output. Regards -- Roger -- terreActive AG

Re: Support for ipv6AddrTable missing in Net-SNMP agent?

2014-08-19 Thread Bill Fenner
I didn't realize there was any support for the historical IPV6 MIBs in net-snmp. However, you will find support for the IP-MIB ( http://www.net-snmp.org/docs/mibs/ip.html) and all of the information you're looking for should be there - ipv6InterfaceTable, ipAddressPrefixTable, ipAddressTable, etc.

Support for ipv6AddrTable missing in Net-SNMP agent?

2014-08-19 Thread Roger Meier
Hi SNMP users, It seems that the agent supports the ipv6Interfaces MIB, but not the ipv6AddrTable MIB. I tried this using the following versions: - Net-SNMP 5.7.2.1 on a home brewed Linux, the daemon built from source, - Net-SNMP 5.4.3 on Ubuntu, using the packages which come with 12.04. First

net-snmp-agent-libs missing

2014-07-06 Thread Allen Zhang
Hi, I need to install an application on centos 6 that depends on net-snmp-agent-libs. I compiled net-snmp from source and then build RPMs via rpmbuild with the default SPEC file. I pushed the RPMs to the yum repo. But that didn't resolve the dependency. Yum still thinks net-snmp-agent-li

Re: Net-SNMP agent responce time modification

2014-03-22 Thread Fredrik Björk
Hi! I think you need to explain a little more in detail where this timeout occurs. What SNMP manager do you use? If you just perform standard queries from the command line, you can use the following options to tweak the timeout: -r retries Specifies the number of retries

Net-SNMP agent responce time modification

2014-03-21 Thread Purushothamrao.U
Dear All, Good Morning. My SNMP agent will take little more time to respond to the SNMP queries. By that time SNMP manager will declare response timeout. How to avoid this so that SNMP Manager has to wait little more time to my response. With Regards, U.Purushotam Rao. Bangalore . --

Net-SNMP agent password change on read-only file system

2013-10-16 Thread Kevin M Bryan
I am having issues getting the Net-SNMP agent to allow me to change passwords. Problem 1: I initially set up 3 default r/w users in the snmpd.conf file with the createUser commands, and after starting the server, it wrote the encrypted version of the passwords into the snmpd.conf in my

Regarding Extension of Net-SNMP agent

2012-09-24 Thread RaviRaja M
Hi, Actually after installation of Net-SNMP is didn't get any EXAMPLE.conf file installed in the src directory. I Request to give some assistance on Extending the agent because i am unable to get the CPU Usage by the UCD-SNMP MIB with the OID's. Regards, RaviRaja. M

Re: Can we create a session with SNMP Manger using net-snmp agent?

2012-06-19 Thread Dave Shield
On 18 June 2012 11:15, Suresh kumar wrote: > Can we create a session with SNMP Manger using net-snmp agent? What is the software package "SNMP Manager" ? Is this something that you have developed yourself, or are you using a third-party package for this? In general, the agent will

Re: Can we create a session with SNMP Manger using net-snmp agent?

2012-06-19 Thread Wes Hardaker
Suresh kumar writes: > Can we create a session with SNMP Manger using net-snmp agent? For > example, we have configured certain IP addresses that are allowed to > access the agent. Is there a way we can create and maintain sessions > with those managers? SNMP doesn't typic

Can we create a session with SNMP Manger using net-snmp agent?

2012-06-19 Thread Suresh kumar
Hi Dave i'm using net-snmp 5.7.1 version. Can we create a session with SNMP Manger using net-snmp agent? For example, we have configured certain IP addresses that are allowed to access the agent. Is there a way we can create and maintain sessions with those managers? IS the respon

Can we create a session with SNMP Manger using net-snmp agent?

2012-06-18 Thread Suresh kumar
Hi Dav i'm using net-snmp 5.7.1 version. Can we create a session with SNMP Manger using net-snmp agent? For example, we have configured certain IP addresses that are allowed to access the agent. Is there a way we can create and maintain sessions with those managers? IS the response t

net-snmp agent stops updating nic statistics on RHEL 5.5

2012-03-15 Thread Shane Anderson
Hi, I'm hoping someone here will be able to assist me with a problem I'm having. I'm running net-snmp agents (version 5.3.2.2) on a bunch of RHEL 5.5 servers. The servers are Sun X6270 blades with eth2 and eth3 bonded as bond0. The problem I'm having is that randomly (at least I can't detect a pa

Re: how to register enterprise specific traps extended in net-snmp agent on event basis

2011-12-12 Thread Dave Shield
> We have generated trap definition by extending our enterprise specific MIB > module. However we did not find any function that could register this trap Having defined the trap within the MIB file, you can now use the 'mib2c.notify.conf' template to generate a routine that will send this trap.

how to register enterprise specific traps extended in net-snmp agent on event basis

2011-12-12 Thread Suresh kumar
how to register enterprise specific traps extended in net-snmp agent on event basis i.e the trap should be sent when a particular event occurs? We have generated trap definition by extending our enterprise specific MIB module. However we did not find any function that could register this

Re: how to install NET-SNMP-AGENT-MIB:: nsCacheTable for ifTable = 1

2011-02-23 Thread Oleg Litvinov
Здравствуйте, Dave Shield Ответ на Ваше письмо от 23.02.2011 15:09 > [ 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

Re: how to install NET-SNMP-AGENT-MIB:: nsCacheTable for ifTable = 1

2011-02-23 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 23 Fe

Re: how to install NET-SNMP-AGENT-MIB:: nsCacheTable for ifTable = 1

2011-02-23 Thread Dave Shield
On 23 February 2011 09:07, Oleg Litvinov wrote: > snmpget -v 1 -c private 172.22.0.1 > 1.3.6.1.4.1.8072.1.5.3.1.2.1.3.6.1.2.1.2.2 > iso.3.6.1.4.1.8072.1.5.3.1.2.1.3.6.1.2.1.2.2 = INTEGER: 15 > > snmpset -v 1 -c private 172.22.0.1 > 1.3.6.1.4.1.8072.1.5.3.1.2.1.3.6.1.2.1.2.2 i 1 > Error in packet.

how to install NET-SNMP-AGENT-MIB:: nsCacheTable for ifTable = 1

2011-02-23 Thread Oleg Litvinov
Hi All, Debian GNU/Linux 6.0 snmpd -v NET-SNMP version: 5.4.3 Web: http://www.net-snmp.org/ Email: net-snmp-cod...@lists.sourceforge.net when trying to install NET-SNMP-AGENT-MIB:: nsCacheTable snmpset -v 1 -c private 172.22.0.1

Re: how to configure net-snmp agent version at run time?

2010-05-19 Thread Dave Shield
2010/5/19 chenwill : > If a package is built with v3, it means net-snmp agent can handle request of > snmp version v1, v2c and v3. > how can I confiure it as v2c, just accepting v1 and v2c request at run time? Don't configure any SNMPv3 access control settings. It will then not acc

how to configure net-snmp agent version at run time?

2010-05-19 Thread chenwill
hi, If a package is built with v3, it means net-snmp agent can handle request of snmp version v1, v2c and v3. how can I confiure it as v2c, just accepting v1 and v2c request at run time

running net-snmp agent in windows

2010-05-07 Thread Group
Hi, I'm able to compile the code with basic settings. My Configuration: net-snmp version: net-snmp-5.4.2.1 environment: cygwin operating system: windows XP Now i would like to run the snmp agent on windows. I created a snmpd.conf file in /usr/local/share/snmp with following entry: rocommunity

Re: net-snmp, agent x and c#

2010-04-23 Thread Dave Shield
On 20 April 2010 17:32, Fulko Hew wrote: > Does anyone have any experience in creating Agent X subagents in C#? This project is very much C-based, so I suspect that no-one here has much experience of Network Management using C# A quick Google on "SNMP C#" gave a page on the .NET Framework Develo

net-snmp, agent x and c#

2010-04-20 Thread Fulko Hew
Does anyone have any experience in creating Agent X subagents in C#? I have a project that is being written in C# (.Net) that needs to have SNMP telemetry and traps added, and therefore I'm looking for some kind of library that those developers could use to provide connectivity to the Net-SNMP mas

RE: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-13 Thread PEOPLES, MICHAEL P (ATTSI)
89-8975 mpeop...@att.com <mailto:mpeop...@att.com> From: Evgeny Nagaev [mailto:enag...@gmail.com] Sent: Monday, April 12, 2010 5:32 AM To: Dave Shield Cc: net-snmp-users@lists.sourceforge.net Subject: Re: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

Re: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-12 Thread Dave Shield
On 12 April 2010 10:32, Evgeny Nagaev wrote: > OK, but can you provide me with info about how to extend your sources to > support my own development of hrDeviceStatus support in net-snmp? In the routine init_hr_disk(), look for the line device_descr[HRDEV_DISK] = describe_disk; and add

Re: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-12 Thread Evgeny Nagaev
OK, but can you provide me with info about how to extend your sources to support my own development of hrDeviceStatus support in net-snmp? 2010/4/12 Dave Shield > On 12 April 2010 06:30, Evgeny Nagaev wrote: > > But can you tell me what is the reason to do so? > > Because at the time that I was

Re: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-12 Thread Dave Shield
On 12 April 2010 06:30, Evgeny Nagaev wrote: > But can you tell me what is the reason to do so? Because at the time that I was writing the original code, it wasn't clear to me exactly how you would detect the status of a disk (or most of the other hardware types). >

Re: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-11 Thread Evgeny Nagaev
Hello David! But can you tell me what is the reason to do so? There is no other OID's in HOST-RESOURCES-MIB or UCD-SNMP-MIB to dereminet status of Disks. The only thing we can pool for disks is their usage, that isn't really so critical, much more critical to see if my disks are operating or some

Re: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-09 Thread Dave Shield
On 8 April 2010 10:34, Evgeny Nagaev wrote: > Now what I see from my SNMP Agent is that I don't have in hrDeviceEntry > column named hrDeviceStatus. This MIB object is only implemented for selected categories of device. In particular, Network interfaces, CPUs and (ish) printers. There is no code

No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-08 Thread Evgeny Nagaev
Hello! I deployed net-snmp for monitoring RHEL, Solaris(9;10). I installed it from corresponding packages. Now what I see from my SNMP Agent is that I don't have in hrDeviceEntry column named hrDeviceStatus. Therefore I have problem with my management system that rely on this OID in discovering a

About net-snmp agent.....

2010-01-28 Thread ganeshyellapu
Hi All, I am using NET-SNMP to create snmp agent on Windows XP. i installed net-snmp-5.5-x86.exe in my system (downloaded from http://net-snmp.sourceforge.net/download.html). I configured the agent using the below command "snmpconf -g basic_setup" as instructed in the FAQ section. While

About NET SNMP Agent ...

2010-01-28 Thread ganeshyellapu
Hi All, I am using NET-SNMP to create snmp agent on Windows XP. i installed net-snmp-5.5-x86.exe in my system (downloaded from http://net-snmp.sourceforge.net/download.html). I configured the agent using the below command "snmpconf -g basic_setup" as instructed in the FAQ section. While

Re: net-snmp agent error when set from a MIB browser

2010-01-15 Thread Dave Shield
2010/1/15 : > case MODE_SET_ACTION: >     strcpy(set_val,(void*)requests->requestvb->val.string); You need to use the *length* of the value as well. (requests->requestvb->val_len) You cannot assume that string values are null-terminated. Try strncpy ( set_val, requests->requestvb->v

Re: Net SNMP Agent

2010-01-14 Thread Ashish vashishtha
Hi, even if i am not using this while loop in my separate thread, than also my application stuck. /* while(keep_running) { agent_check_and_process(1); } */ i got these messages from my application p1 *NET-SNMP version 5.3.1 AgentX subagent connected snmp agent is up. * and after that my

RE: net-snmp agent error when set from a MIB browser

2010-01-14 Thread Mike Ayers
> From: chi.g...@l-3com.com [mailto:chi.g...@l-3com.com] > Sent: Thursday, January 14, 2010 4:36 PM > Mike, Thank you for the quick response. > I tried different string value on both browsers, they have the same > problem. > net-snmp's snmpset -V 2C (snmp v2) have the same problem too. Th

RE: net-snmp agent error when set from a MIB browser

2010-01-14 Thread Chi . Guan
: net-snmp agent error when set from a MIB browser > From: chi.g...@l-3com.com [mailto:chi.g...@l-3com.com] > Sent: Thursday, January 14, 2010 4:00 PM > I wrote a agent in net-snmp and use commercial MIB browser (iReasoning > and MG-soft) to talk to it. > > I try to set values to

RE: net-snmp agent error when set from a MIB browser

2010-01-14 Thread Mike Ayers
> From: chi.g...@l-3com.com [mailto:chi.g...@l-3com.com] > Sent: Thursday, January 14, 2010 4:00 PM > I wrote a agent in net-snmp and use commercial MIB browser (iReasoning > and MG-soft) to talk to it. > > I try to set values to different OID. When I use snmpset of net-snmp, > it works fine, b

net-snmp agent error when set from a MIB browser

2010-01-14 Thread Chi . Guan
Hi, there, I wrote a agent in net-snmp and use commercial MIB browser (iReasoning and MG-soft) to talk to it. I try to set values to different OID. When I use snmpset of net-snmp, it works fine, but when I use the MIB browser, the values was wrong. 1. I set an octets string value "12345" in

Re: Net SNMP Agent

2010-01-14 Thread Dave Shield
2010/1/14 Ashish vashishtha : > when i am starting my existing application p1 that stops executing when it > starts the sub agent code(this code). That's because you've got an (infinite) event loop: while(keep_running) { agent_check_and_process(1); } > can you please help me how i ca

Re: Net SNMP Agent

2010-01-14 Thread Ashish vashishtha
hello, i am trying to develop net-snmp agent in my existing application P1. i am using a separate thread for the sub-Agent in my application that uses below function. int start_snmp_agent() { int agentx_subagent=1; /* change this if you want to be a SNMP master agent */ int background = 0

Re: Net SNMP Agent

2010-01-14 Thread Dave Shield
2010/1/14 Ashish vashishtha : > if i make my process p1 as a net snmp subagent using agentx than will the > snmp master agent(SNMPD) will forward all the incoming requests to P1 No. Not necessarily. > (as there can be more than one sub-Agent)? Each subagent will register with the master agent,

Re: Net SNMP Agent

2010-01-13 Thread Ashish vashishtha
Hello, As suggested in the first option if i make my process p1 as a net snmp subagent using agentx than will the snmp master agent(SNMPD) will forward all the incoming requests to P1(as there can be more than one sub-Agent)? is it possible to filter incoming requests from the snmpd to the p1 ba

Re: Net SNMP Agent ( AgentX Performance)

2010-01-07 Thread Peyush Kumar
Thanks. Another query related to AgentX Want kind of performance overhead can using AgentX lead to Is it minimal ? Do we have some benhcmark I am looking at process P1(Agentx) recieving 40-50 GET requests every 10 seconds. TIA Peyush. On Thu, Jan 7, 2010 at 5:15 PM, Dave Shield wrote: > 2010/

Re: Net SNMP Agent

2010-01-07 Thread Dave Shield
2010/1/7 Peyush Kumar : > I can do that , but in that case  P1 cannot work directly with > SNMP manager(one of the limitation) Why is this a problem? The manager will talk to "the SNMP agent" and receive the necessary information. It cannot tell whether than SNMP agent is a single binary, or a c

Re: Net SNMP Agent

2010-01-07 Thread Peyush Kumar
I can do that , but in that case P1 cannot work directly with SNMP manager(one of the limitation) Another rleated query: Can a master agent simultaneouly work with AgentX and SNMP agents ? ie If i make with P1 as AgentX and I have a 3rd party agent on SNMP on sane machine can the "same" master b

Re: Net SNMP Agent

2010-01-07 Thread Dave Shield
[ Resending to the mailing list. Note that the name of the list is "net-snmp-users", not simply "users". Please ensure that you use the correct address. Thanks.] 2010/1/7 Dave Shield : > 2010/1/7 Ashish vashishtha : >> (a) How SNMP get and get next requests will come to MIB module code ? > >

Re: Net SNMP Agent

2010-01-07 Thread Dave Shield
2010/1/7 Peyush Kumar : >>  a)  Make P1 an AgentX subagent, and have snmpd >>      (acting as a master agent) pass the requests on to P1 > > Related to above, > > Cant we using NetSNMP ,to make P1 act as SNMP agent ( by osmehowloning > NetSNMP libraries) Yes - you can embed a simplified SNMP agent

Re: Net SNMP Agent

2010-01-06 Thread Peyush Kumar
On Thu, Jan 7, 2010 at 12:40 PM, Peyush Kumar wrote: [resent with corrections] > > a) Make P1 an AgentX subagent, and have snmpd > > (acting as a master agent) pass the requests on to P1 > > Related to above, > > Cant we use NetSNMP ,to make P1 act as SNMP agent ( by somehow linking > NetS

Re: Net SNMP Agent

2010-01-06 Thread Peyush Kumar
> a) Make P1 an AgentX subagent, and have snmpd > (acting as a master agent) pass the requests on to P1 Related to above, Cant we using NetSNMP ,to make P1 act as SNMP agent ( by osmehowloning NetSNMP libraries) I guess the other tools gives such ability ? Please correct if i am wrong Reg

Re: Net SNMP Agent

2010-01-06 Thread Dave Shield
[Resent to include the correct mailing list address] 2010/1/6 Dave Shield : > 2010/1/6 Ashish vashishtha : >> But we have a separate application "P1" that contains the response data that >> i need to send in response to the get or get next. >> >> How SNMPD will get this inforamtion from P1 un

Re: Net SNMP Agent

2010-01-06 Thread Dave Shield
the agent. All you need to do is write a MIB module to implement your particular MIB, and compile that module into the Net-SNMP agent. How to do this is covered in the FAQ. > i have scalars and tabular data to deal with as in my mib. That's fine - many existing MIBs combine scalar and tabl

Re: Net SNMP Agent

2010-01-06 Thread Dave Shield
2010/1/6 Ashish vashishtha : > i need to develop a SNMP Agent that can handle SNMP get and getnext requests > for SNMP v1 and SNMP v2 without Agentx support. Just use the standard Net-SNMP agent. That can handle these requirements. If you don't activate the AgentX support, then it w

Net SNMP Agent

2010-01-05 Thread Ashish vashishtha
Hello, i am very new to SNMP and i dont have much knowledge about this. i need to develop a SNMP Agent that can handle SNMP get and getnext requests for SNMP v1 and SNMP v2 without Agentx support. so the requests from remote hosts will directly land to my agent not to the Snmpd demon and should be

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-24 Thread Bart Van Assche
On Thu, Dec 24, 2009 at 1:28 PM, bheemesh v wrote: > On Thu, Dec 24, 2009 at 2:53 PM, Bart Van Assche > wrote: > >> On Fri, Dec 11, 2009 at 11:20 AM, bheemesh v wrote: >> > Attaching call graph of the profiled snmpd daemon. >> > Find the graph in attachment. >> >> (replying to an e-mail of two

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-24 Thread bheemesh v
HI Bart, Thanks very much for your inputs. In fact we have 500+ IP's configured on this machine. Meanwhile as a optimization i tried was to avoid the netsnmp_binary_array_get() call from "netsnmp_binary_array_insert()", so that sort will be called only when the last entry in the container is bein

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-24 Thread Bart Van Assche
On Fri, Dec 11, 2009 at 11:20 AM, bheemesh v wrote: > Attaching call graph of the profiled snmpd daemon. > Find the graph in attachment. (replying to an e-mail of two weeks ago) The call graph is interesting. What you did not yet tell us, and what is important in order to interpret the call grap

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-13 Thread bheemesh v
HI, Thanks Mike for notifying this part. But i have a more generic question now on the logic of updating the MIB entries (such as IF-MIB, IP-MIB etc) to NMS: There are 2 triggers for updates done to the NMS: 1) Whenever a new network configuration is done, will there be a trigger to update the C

RE: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-11 Thread Mike Ayers
> From: bheemesh v [mailto:bheem...@gmail.com] > Sent: Friday, December 11, 2009 2:20 AM > Attaching call graph of the profiled snmpd daemon. > Find the graph in attachment. I think you are misreading this chart. It does show that 81% of runtime is spent inside run_alarms, but 0% of tha

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-11 Thread Dave Shield
2009/12/11 bheemesh v : > But basically there are no other monitoring that is on which can consume > much of alarm resources. Please re-read my response. There are certain MIB modules which *inherently* rely on re-loading the underlying data on a regular basis, to calculate certain values. This wi

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-11 Thread bheemesh v
Hello Mike & Dave, Thanks for your inputs here. But basically there are no other monitoring that is on which can consume much of alarm resources. My snmpd daemon here is running as a SUb agent and not as masteragent and it has only agentx Masteragent's socket defned in conf file nothing else. For

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-08 Thread Dave Shield
2009/12/8 Mike Ayers : >        Check your snmpd.conf file.  I suspect you've got a lot of > monitoring turned on.  Many of the monitors: disman, RMON, > hardware monitoring, etc. use alarms to schedule their activity, it would > seem. There are also some MIB modules which rely on re-loading the

RE: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-08 Thread Mike Ayers
> From: bheemesh v [mailto:bheem...@gmail.com] > Sent: Monday, December 07, 2009 10:25 PM > I was profiling through the net-snmp 5.4.2.1 and found that run_alarms() > was contributing majorly to the CPU load from the > "snmplib/snmp_alarm.c" file. Check your snmpd.conf file. I suspect y

why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-07 Thread bheemesh v
Hello, I was profiling through the net-snmp 5.4.2.1 and found that run_alarms() was contributing majorly to the CPU load from the "snmplib/snmp_alarm.c" file. I want to understand the need and criticality of this alarming mechanism within net-snmp agent. Can we introduce delays w

Re: A question about net-snmp agent extension

2009-09-22 Thread Wes Hardaker
> On Thu, 17 Sep 2009 10:17:35 +0800, said: A> And I think, if I want to use the default subhandler (e.g. use A> netsnmp_instance_int_handler for my integer object), only write the MIB A> file is OK, and no need to write the C/header file for registration. A> Because I don't want to register

A question about net-snmp agent extension

2009-09-18 Thread AlbenShao
Hi, I want to write a custom extension to the core net-snmp agent. As the tutorial said, usually I need to 1) write a MIB file 2)Write the related C file 3) Write a header file. And I think, if I want to use the default subhandler (e.g. use netsnmp_instance_int_handler for my integer object

RE: A question about net-snmp agent extension

2009-09-17 Thread AlbenShao
Not sure if it’s sent successfully. Just re-send it for help. Alben Shao Guangdong Nortel 4G Design ESN: 6-554-5301 From: Alben Shao Sent: 2009年9月17日 10:18 To: 'net-snmp-users@lists.sourceforge.net' Subject: A question about net-snmp agent

Re: How to run my legacy snmp "agent" as sub-agent of net-snmp agent

2009-07-07 Thread Krishna Mohan
Thanks, Dave. It worked fine after disabling unwanted modules in the master agent. KrishnaMohan --- On Fri, 3/7/09, Dave Shield wrote: From: Dave Shield Subject: Re: How to run my legacy snmp "agent" as sub-agent of net-snmp agent To: "Krishna Mohan" Cc: "net-snm

Re: How to run my legacy snmp "agent" as sub-agent of net-snmp agent

2009-07-03 Thread Dave Shield
2009/7/3 Krishna Mohan : > I configured net-snmp listening on port 161 to proxy requests for all OIDs > (.1.3) as below expecting it to proxy all requests to legacy agent > listening on port 1661 > proxy -v 2c -c public localhost:1661 .1.3 No - that will proxy any request ==>that does not have a

Re: How to run my legacy snmp "agent" as sub-agent of net-snmp agent

2009-07-02 Thread Krishna Mohan
/1000 Mbps, RJ45; | | Case 2: Request single MIB to net-snmp agent: success # snmpget -v 2c -c public 172.13.5.24 .1.3.6.1.2.1.2.2.1.2.1 IF-MIB::ifDescr.1 = STRING: Internal TCP Software Loopback Interface; # snmpget -v 2c -c public 172.13.5.24 .1.3.6.1.2.1.2.2.1.2.2 IF-MIB::ifDescr.2

Re: How to run my legacy snmp "agent" as sub-agent of net-snmp agent

2009-06-23 Thread Dave Shield
2009/6/23 Krishna Mohan : > On my host I’m using legacy snmp (internally developed by our team) which > lacks IPv6 functionality.  In order to circumvent this, I’d like to use > net-snmp agent which supports IPv6 and adding new MIBs at ease.  Could you > please let me know how to r

How to run my legacy snmp "agent" as sub-agent of net-snmp agent

2009-06-23 Thread Krishna Mohan
Hi,   On my host I’m using legacy snmp (internally developed by our team) which lacks IPv6 functionality.  In order to circumvent this, I’d like to use net-snmp agent which supports IPv6 and adding new MIBs at ease.  Could you please let me know how to run my legacy snmp as sub-agent of net

Re: crash in net-snmp agent

2009-06-13 Thread Dave Shield
2009/6/12 Samer Vazdekis : > This problem happened twice when running snmptable. > It is hard to reproduce. Hmmm... that sounds suspiciously like a timing problem, which would be very difficult to pin down. > I'm querying a table in an agentx subagent. I'm running > SNMP version 5.2.1.2. T

RE: crash in net-snmp agent

2009-06-12 Thread Samer Vazdekis
Re: FW: crash in net-snmp agent > From: d.t.shi...@liverpool.ac.uk > To: sbazd...@hotmail.com > CC: net-snmp-cod...@lists.sourceforge.net; > net-snmp-users@lists.sourceforge.net > > 2009/6/11 Samer Vazdekis : > > It would take us lots of time to test and qualify new code w

Re: FW: crash in net-snmp agent

2009-06-12 Thread Dave Shield
2009/6/11 Samer Vazdekis : > It would take us lots of time to test and qualify new code which already > done for version 5.2.1.2. It would be more convenient for the mean time to > just apply the patch that possibly fixes this issue. The thing is that we don't _know_ what is causing this particula

FW: crash in net-snmp agent

2009-06-11 Thread Samer Vazdekis
From: sbazd...@hotmail.com To: harda...@users.sourceforge.net Subject: RE: crash in net-snmp agent Date: Thu, 11 Jun 2009 11:46:55 -0400 It would take us lots of time to test and qualify new code which already done for version 5.2.1.2. It would be more convenient for the mean time

Re: crash in net-snmp agent

2009-06-11 Thread Wes Hardaker
>>>>> On Wed, 10 Jun 2009 10:55:35 -0400, Samer Vazdekis >>>>> said: SV> I'm running net-snmp agent version 5.2.1.2. I got the following SV> crash when running snmptable command. Any idea if this is a known SV> issue. Is there a fix already?. 5.2.1.2

crash in net-snmp agent

2009-06-10 Thread Samer Vazdekis
Hi All, I'm running net-snmp agent version 5.2.1.2. I got the following crash when running snmptable command. Any idea if this is a known issue. Is there a fix already?. Thanks. #0 0x30373a74 in ?? () #1 0x68963bd8 in netsnmp_call_next_handler (current=0x30373a74, reginfo=0x8f

Re: net-snmp agent issues on Windows 2008

2009-06-06 Thread Mobeen Azhar
Alex Burger wrote: > Are you using Windows 2008 32 or 64-bit? I assume you are using 5.4.2.1 > so can you try one of the new 5.5.pre2 binaries? They are in the 5.5 > pre2 source area in the download section. > > Alex > > > Mobeen Azhar wrote: > >> Hello

Re: net-snmp agent issues on Windows 2008

2009-06-06 Thread Alex Burger
Are you using Windows 2008 32 or 64-bit? I assume you are using 5.4.2.1 so can you try one of the new 5.5.pre2 binaries? They are in the 5.5 pre2 source area in the download section. Alex Mobeen Azhar wrote: > Hello all: > I have the net-snmp agent running fine on a number of Window

net-snmp agent issues on Windows 2008

2009-06-06 Thread Mobeen Azhar
Hello all: I have the net-snmp agent running fine on a number of Windows 2003 servers without any issues. However, running the agent with the same configuration on Windows 2008 keeps on failing. Executing: snmpget -v 3 -u -l authNoPriv -a MD5 -A sysDescr.0 against Windows 2003 servers produces

Re: net-snmp agent does not send warm start TRAP

2009-06-04 Thread Dave Shield
In particular, it would seem reasonable in general to distinguish between an agent restarting (but no changes), and an agent restarting with a new configuration. Just because the Net-SNMP agent has difficulty in telling these two apart - that doesn't mean that everyone else should b

net-snmp agent does not send warm start TRAP

2009-06-04 Thread Ritesh Majumdar
Hello List, I am facing issues with generating warmstart TRAP with net-snmp.actually I could never get warm start TRAP.while looking over few forums I found that net-snmp does not send warm start TRAP at all. here are few links which mention about this. http://archives.devshed.com/forums/networ

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du dimanche 04 janvier 2009, vers 14:57, "Nikos Balkanas" disait : > So, you say that even in Linux, given the Unix socket credentials > support, agentx doesn't support it? Yes. But Linux will check permission of the socket, so you can use this mechanism t

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Nikos Balkanas
ot; To: "Nikos Balkanas" Cc: Sent: Sunday, January 04, 2009 3:23 PM Subject: Re: Integrating net-SNMP agent into my application OoO Peu avant le début de l'après-midi du dimanche 04 janvier 2009, vers 13:51, "Nikos Balkanas" disait : > 1) Default agentx co

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du dimanche 04 janvier 2009, vers 13:51, "Nikos Balkanas" disait : > 1) Default agentx configuration (master agentx) is TCP:705 from > anywhere. This is not the default Unix socket as told in th man > pages. It should be restricted in the configuration and n

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Nikos Balkanas
authentication should be implemented at the agentx client, encrypted for snmp v3, and with a very short timeout, as applicable to applications. Many thanx, Nikos - Original Message - From: "Vincent Bernat" To: Sent: Sunday, January 04, 2009 1:59 PM Subject: Re: Integrating net-SNMP

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Vincent Bernat
OoO Pendant le temps de midi du dimanche 04 janvier 2009, vers 12:58, je disais: > Since you are on Unix, unix socket should be the default > (/var/agentx/master). With just "master agentx" in your configuration > file, don't you get a socket at /var/agentx/master? If not, do

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Vincent Bernat
OoO Pendant le temps de midi du dimanche 04 janvier 2009, vers 12:23, "Nikos Balkanas" disait : > I tried these suggestions. localhost works fine. Couldn't get, though, > unix sockets to work. > It creates the unix socket OK, but the example-daemon fails to connect: > Warning: Failed to conne

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Nikos Balkanas
AM Subject: Re: Integrating net-SNMP agent into my application > OoO En cette nuit nuageuse du dimanche 04 janvier 2009, vers 01:32, > "Nikos Balkanas" disaitΒ : > >> It is a TCP/IP socket. I am afraid i don't follow you. Sockets do not >> have >> any

Re: Integrating net-SNMP agent into my application

2009-01-04 Thread Vincent Bernat
OoO En cette nuit nuageuse du dimanche 04 janvier 2009, vers 01:32, "Nikos Balkanas" disait : > It is a TCP/IP socket. I am afraid i don't follow you. Sockets do not have > any rights. Anyone can read/write to them. That's what makes Internet > work. Bydefault, thisisa _U

Re: Integrating net-SNMP agent into my application

2009-01-03 Thread Nikos Balkanas
2009 12:02 AM Subject: Re: Integrating net-SNMP agent into my application > OoO En ce dΓ©but de soirΓ©e du samedi 03 janvier 2009, vers 21:34, "Nikos > Balkanas" disaitΒ : > >> Yes, but there are security concerns. Agentx doesn't require >> authentication &g

Re: Integrating net-SNMP agent into my application

2009-01-03 Thread Vincent Bernat
OoO En ce début de soirée du samedi 03 janvier 2009, vers 21:34, "Nikos Balkanas" disait : > Yes, but there are security concerns. Agentx doesn't require authentication > and opens up TCP 705. Anyone with access to port 705 on your server can > hijack your snmpd master agent, server and applic

Re: Integrating net-SNMP agent into my application

2009-01-03 Thread Nikos Balkanas
ssage - From: "Bart Cornelissen" To: Sent: Saturday, January 03, 2009 4:42 PM Subject: Re: Integrating net-SNMP agent into my application > On Sat, Jan 3, 2009 at 3:24 PM, Vincent Bernat wrote: >> >> Using subagent (AgentX), you will write something that will

Re: Integrating net-SNMP agent into my application

2009-01-03 Thread Bart Cornelissen
On Sat, Jan 3, 2009 at 3:24 PM, Vincent Bernat wrote: > > Using subagent (AgentX), you will write something that will talk to > snmpd using AgentX protocol. I think this is what you want to do and > this is usually the way to go. The subagent will be tightly integrated > into your appl

Re: Integrating net-SNMP agent into my application

2009-01-03 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du samedi 03 janvier 2009, vers 14:36, "Bart Cornelissen" disait : >> 1) Subagenthttp://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent >> 2) Shared object >> http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Dynamically_Loadable_Object >> 3)

Re: Integrating net-SNMP agent into my application

2009-01-03 Thread Nikos Balkanas
your module. This can be anything you decide. BR, Nikos - Original Message - From: "Bart Cornelissen" To: Sent: Saturday, January 03, 2009 3:36 PM Subject: Re: Integrating net-SNMP agent into my application > Thanks for the reply. > > On Sat, Jan 3, 2009 at 12:09

  1   2   >