Re: SIGHUP for changing SNMP agent Port

2024-01-09 Thread Feroz
IMO we need to revert this patch, as it would cause issues in production. This is a partial fix. -Feroz On Tue, Jan 9, 2024 at 2:35 PM Vivek Aditya wrote: > Thanks for quick response > > I am working on this feature and able to achieve partial success. There is > one use case where it does not

Re: SIGHUP for changing SNMP agent Port

2024-01-08 Thread Wes Hardaker via Net-snmp-users
Vivek Aditya writes: > I want the SNMP to start listening on a new agent port without restart. > Just sending SIGHUP to snmpd does not work.  > > Is there a way to do it or has this issue already been fixed? Any help > would be appreciated. That's a good feature request, but I don't think we ha

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

Re: How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Martin T
proach is to read SNMPv2-MIB::sysORTable where > the agent should [indirectly] reference MIB objects it supports... > > On 12/20/2016 10:41 AM, Martin T wrote: >> Hi, >> >> am I correct that "snmpwalk -v 2c -c public ." will query all >>

Re: How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Ilya Etingof
t supports... On 12/20/2016 10:41 AM, Martin T wrote: > Hi, > > am I correct that "snmpwalk -v 2c -c public ." will query all > possible OIDs supported by SNMP agent in ? > > > thanks, > Martin -

How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Martin T
Hi, am I correct that "snmpwalk -v 2c -c public ." will query all possible OIDs supported by SNMP agent in ? thanks, Martin -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi

RE: Developing SNMP agent for a new switch

2016-05-25 Thread Vered Zvi
nd...@indra.es] Sent: Tuesday, May 24, 2016 9:15 AM To: Vered Zvi; net-snmp-users@lists.sourceforge.net Subject: RE: Developing SNMP agent for a new switch It depends on what you want to see... AFAIK, the -DdebugTag enables the tracing of "Debug Message" in the code when calling, e.g. D

RE: Developing SNMP agent for a new switch

2016-05-23 Thread Fernández Piñas , David
, 24 de mayo de 2016 4:44 Para: Fernández Piñas, David; net-snmp-users@lists.sourceforge.net Asunto: RE: Developing SNMP agent for a new switch Hi David, All, As you wrote, -D gives a log of debug messages. What TOKEN I can put after -D in order to filter ? Best regards, Z.V __

RE: Developing SNMP agent for a new switch

2016-05-23 Thread Vered Zvi
@lists.sourceforge.net Subject: RE: Developing SNMP agent for a new switch Hi, You can specify the log file with option -Lf, e.g.: -Lf /var/log/snmpd.log The option to write Debug information is -D, but use it with just what you want to see, because enabling all DEBUG info is a lot of info being

RE: Developing SNMP agent for a new switch

2016-05-17 Thread Fernández Piñas , David
- De: Vered Zvi [mailto:ver...@elta.co.il] Enviado el: sábado, 14 de mayo de 2016 21:13 Para: Fernández Piñas, David; net-snmp-users@lists.sourceforge.net Asunto: RE: Developing SNMP agent for a new switch Hi David, All, If I install snmpd without any changes and send a valid SNMP request, is there a way

RE: Developing SNMP agent for a new switch

2016-05-14 Thread Vered Zvi
From: Fernández Piñas, David [dfernand...@indra.es] Sent: Friday, May 06, 2016 11:05 AM To: Vered Zvi; net-snmp-users@lists.sourceforge.net Subject: RE: Developing SNMP agent for a new switch Hi Zvika, Try to run snmpd on your x86 CPU either by installing the Net-SNMP for the

RE: Developing SNMP agent for a new switch

2016-05-07 Thread Vered Zvi
Hi David, Your help is highly appreciated. Thank you very much, Z.V From: Fernández Piñas, David [dfernand...@indra.es] Sent: Friday, May 06, 2016 11:05 AM To: Vered Zvi; net-snmp-users@lists.sourceforge.net Subject: RE: Developing SNMP agent for a new

RE: Developing SNMP agent for a new switch

2016-05-06 Thread Fernández Piñas , David
snmptrapd to get the traps from snmpd. Best regards, David -Mensaje original- De: Vered Zvi [mailto:ver...@elta.co.il] Enviado el: viernes, 06 de mayo de 2016 4:50 Para: Fernández Piñas, David; net-snmp-users@lists.sourceforge.net Asunto: RE: Developing SNMP agent for a new switch Hi

RE: Developing SNMP agent for a new switch

2016-05-05 Thread Vered Zvi
snmp-users@lists.sourceforge.net Subject: RE: Developing SNMP agent for a new switch Do you have the switch MIB to support by the SNMP agent (ASN.1)? If this is a private company MIB, I would do a AgentX subagent implementing and getting the information from the PCIe device, then the Net-SNMP snmpd wil

RE: Developing SNMP agent for a new switch

2016-05-05 Thread Fernández Piñas , David
Do you have the switch MIB to support by the SNMP agent (ASN.1)? If this is a private company MIB, I would do a AgentX subagent implementing and getting the information from the PCIe device, then the Net-SNMP snmpd will give you some standard additional MIBs. There is plenty of documentation

Developing SNMP agent for a new switch

2016-05-05 Thread Vered Zvi
Hello, I have to develope an SNMP agent for an Intel's switch. The switch is controlled via an x86 CPU connected to the switch via PCIe. Is snmpd is a good starting point ? Is there a manual explains how to develope such agent from scratch ? Best regards, Z.V The information contained in

Re: requesting information from SNMP agent

2015-12-03 Thread Vikas
What is the reason for that? Why I can not limit SNMP agent not to > return any kind of information because other computers can find the > hostname, the kernel version and other information of that agent. > >

requesting information from SNMP agent

2015-11-02 Thread ali hagigat
can read information by that snmpget command!! What is the reason for that? Why I can not limit SNMP agent not to return any kind of information because other computers can find the hostname, the kernel version and other information of that agent. Is there any way to stop that? I mean SNMP agent

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

Minimal Module Support for SNMP Agent

2014-04-08 Thread Clay Sikes
I need to configure Net-SNMP such that only the bare minimum (like zero) default MIB instrumentations exist for an embedded system. My intention is to instrument only a few MIB and hook them up as dynamically loadable objects. For example, in my case, an obvious instrumentation that needs to

Re: Net-SNMP agent responce time modification

2014-03-22 Thread Fredrik Björk
igher than your response time. If you need more help, please describe in more detail and I'm sure you'll get the help you need. /Fredrik Purushothamrao.U skrev 2014-03-22 04:50: > Dear All, > Good Morning. > > My SNMP agent will take little more time to respond to the SN

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

Minimal Module Support for SNMP Agent

2014-03-20 Thread Clay Sikes
I need to configure Net-SNMP such that only the bare minimum (like zero) default MIB instrumentations exist for an embedded system. My intention is to instrument only a few MIB and hook them up as dynamically loadable objects. For example, in my case, an obvious instrumentation that needs to

Re: How to get IP of SNMP agent in SNMPv2 trap?

2014-02-17 Thread Olivier Miakinen
Hello somenathpal Le 17/02/2014 10:11, somenathpal . a écrit : > SNMPv2 trap pdu does not have snmp agent address in its header as it is > present in SNMPv1 Trap pdu. So How a manager knows about the source of trap > PDU in case of a Proxy sitting in between device and manager? I thin

How to get IP of SNMP agent in SNMPv2 trap?

2014-02-17 Thread somenathpal .
SNMPv2 trap pdu does not have snmp agent address in its header as it is present in SNMPv1 Trap pdu. So How a manager knows about the source of trap PDU in case of a Proxy sitting in between device and manager? + Device Proxy Manager IP

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

how can I know the from IP of one SNMP request in SNMP agent?

2013-03-25 Thread Zheng, Wenjie (Barclay)
Hi, Dear all In SNMP agent, I tried to find out a way to know the source IP address of one request, I tried to dump the peername in reqinfo->asp->session->peername, which is in snmp_session, but found it's always null. Anyone know how do I know the source IP of one requests? T

BULKGET to proxied snmp agent

2013-02-17 Thread Michael Dick
Hello, I'm using 5.6.2* version of net-snmp, configured to proxy a subset of OID's to another SNMP agent (not net-snmp). This other agent does support version 2c of SNMP. Is there a way to not have the BULKGET requests not converted to GETNEXT requests? If not, perhaps yo

RE: Dynamic Configuration of SNMP Agent

2013-01-28 Thread Khalid Mumtaz -X (kmumtaz - Paxterra Software SPL at Cisco)
Hi Dave, Thanks for the reply. We have already configured the trap sink in snmpd.conf. And it works fine. But we need to know whether once the VM comes up in new network the SNMP agent on it should automatically find out the SNMP server in the local network and send a trap to it. Is this

Re: Dynamic Configuration of SNMP Agent

2013-01-28 Thread Dave Shield
On 28 January 2013 10:14, Khalid Mumtaz -X (kmumtaz - Paxterra Software SPL at Cisco) wrote: > But we need to know whether once the VM comes up in new network > the SNMP agent on it should automatically find out the SNMP server > in the local network and send a trap to it. No - it

Re: Dynamic Configuration of SNMP Agent

2013-01-28 Thread Dave Shield
On 28 January 2013 06:48, Khalid Mumtaz -X (kmumtaz - Paxterra Software SPL at Cisco) wrote: >So I would like to know if there is > any mechanism through which we can configure the SNMP agent in such a way > that it starts to send traps to SNMP server i

Dynamic Configuration of SNMP Agent

2013-01-28 Thread Khalid Mumtaz -X (kmumtaz - Paxterra Software SPL at Cisco)
Hi, I'm new to Net-SNMP. And I have successfully installed Net-SNMP in one of my VM. And SNMP agent reports and send traps to SNMP server in our local environment. Now for our POC setup we would like to move the VM to a different network with different subnet. So I would like to know if

RE: Index of table in SNMP Agent

2013-01-16 Thread Zheng, Wenjie (Barclay)
; net-snmp-cod...@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On 16 January 2013 08:31, Zheng, Wenjie (Barclay) wrote: > I spend some time to study the iterator helper to retrieve external data > outside from SNMP agent. > I found that iterator uses a 'get first&

Re: Index of table in SNMP Agent

2013-01-16 Thread Dave Shield
On 16 January 2013 08:31, Zheng, Wenjie (Barclay) wrote: > I spend some time to study the iterator helper to retrieve external data > outside from SNMP agent. > I found that iterator uses a 'get first' and 'get next' way for get and > getbulk requests. T

RE: Index of table in SNMP Agent

2013-01-16 Thread Zheng, Wenjie (Barclay)
Hi Dave How are you doing! I spend some time to study the iterator helper to retrieve external data outside from SNMP agent. I found that iterator uses a 'get first' and 'get next' way for get and getbulk requests. And for GET request, agent will also use this hook routin

Re: SNMP Agent engineboot

2013-01-07 Thread Dave Shield
On 7 January 2013 08:53, Zheng, Wenjie (Barclay) wrote: > I am using net-snmp provided agent. Now I'm confused. When you first posted, you said "I am trying to implement an SNMP agent using net-snmp APIs" and the code that you listed there doesn't look much like the

RE: SNMP Agent engineboot

2013-01-07 Thread Zheng, Wenjie (Barclay)
Hi Dave Thanks for your response! I am using net-snmp provided agent. But I didn't aware that snmp agent has this functionalty, and from my test result. It's not working. I didn't read the snmpv3_store thoroughly, is the old engineboots saved in the config file? Thanks, Barcla

Re: SNMP Agent engineboot

2013-01-07 Thread Dave Shield
On 7 January 2013 02:45, Zheng, Wenjie (Barclay) wrote: > What I did is to store the engineboot somewhere else from Agent, > when agent restarts will read the last engineboot and increase 1, > and response with new engineboot=2 But that's exactly what the Net-SNMP library should be taking care of

RE: SNMP Agent engineboot

2013-01-06 Thread Zheng, Wenjie (Barclay)
ilto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 2013年1月6日 1:56 To: Zheng, Wenjie (Barclay) Cc: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net Subject: Re: SNMP Agent engineboot On 5 January 2013 13:21, Zheng, Wenjie (Barclay) wrote: > I try to use set_en

Re: SNMP Agent engineboot

2013-01-06 Thread Anish
__ From: "Zheng, Wenjie (Barclay)" To: Dave Shield Cc: "net-snmp-cod...@lists.sourceforge.net" ; "net-snmp-users@lists.sourceforge.net" Sent: Saturday, 5 January 2013 6:51 PM Subject: RE: SNMP Agent engineboot Dave Thanks for your help! >

Re: SNMP Agent engineboot

2013-01-05 Thread Dave Shield
entirely sure why you are trying to re-implement an agent in the first place? Why not simply use the standard Net-SNMP agent - which we know works! > Then when Manager side send request, agent will return with new engineboot, > then manager side will send request again with new engineboot a

RE: SNMP Agent engineboot

2013-01-05 Thread Zheng, Wenjie (Barclay)
Dave Thanks for your help! > But when this process re-started, and there is another request comes in, > SNMP agent will replies error:usmstatus not in timewindow. That is correct - an SNMPv3 request will fail if the boot time/count values in the request don't match the agent&#x

Re: SNMP Agent engineboot

2013-01-05 Thread Dave Shield
On 5 January 2013 03:41, Zheng, Wenjie (Barclay) wrote: > But when this process re-started, and there is another request comes in, > SNMP agent will replies error:usmstatus not in timewindow. That is correct - an SNMPv3 request will fail if the boot time/count values in the request don&#

SNMP Agent engineboot

2013-01-04 Thread Zheng, Wenjie (Barclay)
Hi Everyone, Happy new year 2013! I am trying to implement an SNMP agent using net-snmp APIs,I use below method to setup SNMP agent process, called SNMP_agt. snmp_set_do_debugging(1); snmp_enable_stderrlog(); init_agent("SNMP_

Re: SNMP Agent log

2013-01-02 Thread Dave Shield
On 2 January 2013 08:45, Zheng, Wenjie (Barclay) wrote: > I am trying to implement an SNMP agent using net-snmp APIs, > I used below method to setup a SNMP agent process,called SNMP_agt. : > This agent works but I can not find the deamon process using "ps -ef|grep > sn

SNMP Agent log

2013-01-02 Thread Zheng, Wenjie (Barclay)
Hi everyone Happy new year 2013! I am trying to implement an SNMP agent using net-snmp APIs, I used below method to setup a SNMP agent process,called SNMP_agt. snmp_set_do_debugging(1); snmp_enable_stderrlog(); init_agent("SNMP_

RE: Index of table in SNMP Agent

2012-12-19 Thread Zheng, Wenjie (Barclay)
Hi Dave mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 2012年12月18日 14:39 To: Zheng, Wenjie (Barclay) Cc: net-snmp-users@lists.sourceforge.net; net-snmp-cod...@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On 18 December 2012 05:53, Zheng, Wenjie (Barclay) wrote

Re: Index of table in SNMP Agent

2012-12-17 Thread Dave Shield
On 18 December 2012 05:53, Zheng, Wenjie (Barclay) wrote: > We have concern to keep a cache of index, we might need audit to detect > the mismatch between cache and external data. How rapidly is the data changing? If you took two snapshots, say 5 seconds apart, how likely is it that they would be

RE: Index of table in SNMP Agent

2012-12-17 Thread Zheng, Wenjie (Barclay)
Hi Dave Thanks for your help, really appreciated. We have concern to keep a cache of index, we might need audit to detect the mismatch between cache and external data. So we decided to not to keep data inside SNMP Agent, and read data directly from outside. I will study the code you referred

Re: Index of table in SNMP Agent

2012-12-17 Thread Dave Shield
On 17 December 2012 01:18, Zheng, Wenjie (Barclay) wrote: > Thanks for your response, it's really helps. > Is there an example I can refer that SNNP can retrieve data from outside? Hmmm... there are probably not many examples of using the iterator to walk through external data. As I indica

RE: Index of table in SNMP Agent

2012-12-16 Thread Zheng, Wenjie (Barclay)
Zheng, Wenjie (Barclay) Cc: net-snmp-users@lists.sourceforge.net; net-snmp-cod...@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On 14 December 2012 06:45, Zheng, Wenjie (Barclay) wrote: > I am trying to setup a SNMP Agent to manage data from outside of SNMP Agent. > I

Re: Index of table in SNMP Agent

2012-12-14 Thread Dave Shield
On 14 December 2012 06:45, Zheng, Wenjie (Barclay) wrote: > I am trying to setup a SNMP Agent to manage data from outside of SNMP Agent. > I try to use mib2c.iterate.conf to generate code, I found that the table > handler need > to keep a index list of the table data, but as my data

Index of table in SNMP Agent

2012-12-13 Thread Zheng, Wenjie (Barclay)
Hi Everyone I have a question for SNMP table handler. I am trying to setup a SNMP Agent to manage data from outside of SNMP Agent. I try to use mib2c.iterate.conf to generate code, I found that the table handler need to keep a index list of the table data, but as my data is from out side of

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: snmp agent not closing trap socket resulting in resource leak

2012-07-30 Thread Dave Shield
On 30 July 2012 12:36, vishal kumar wrote: > snmp agent is not releasing the socket created for sending traps to > configured manages: Correct. That socket would normally be used for sending all future notifications to that destination, so will be held open until the agent shuts down. &g

snmp agent not closing trap socket resulting in resource leak

2012-07-30 Thread vishal kumar
snmp agent is not releasing the socket created for sending traps to configured manages: create_trap_session2(const char *sink, const char* sinkport, char *com, int version, int pdutype) { netsnmp_transport *t; netsnmp_session session, *sesp; memset(&sessio

Re: How to start snmp agent with unique engineBoots value

2012-07-20 Thread Dave Shield
On 27 June 2012 22:57, Patel, Narendra - ES wrote: > I want to start net-snmp 5.7.1 agent with required(integer) engineBoots > value instead of default ‘1’. The default value is not '1' - it's one more than the previous value. That's a fundamental requirement for proper SNMPv3 operation. > Is a

How to start snmp agent with unique engineBoots value

2012-07-03 Thread Patel, Narendra - ES
I want to start net-snmp 5.7.1 agent with required(integer) engineBoots value instead of default '1'. Is any engineBoots configuration parameter during agent startup? or Is any configuration item in snmpd.conf? Regards, Narendra Patel Sr. Section Head Tactical Networking _

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

SNMP-Agent with mib2c

2012-05-18 Thread Murugayen M
After Creating MIB2C where i modifed the logic of c file pls help me for simple example with print snmpwalk with hostname display -- Thanks & Regards, Murugayen M -- Live Security Virtual Conference Exclusive live event

Re: SNMP Agent V2C community string problem

2012-05-17 Thread Dave Shield
On 17 May 2012 13:58, George Rubin wrote: > ./configure ... --with-out-mib-modules=" mibII/vacm ..." That's the module that is concerned with access control - it's really an essential part of the agent. I'd need to check the code in detail, but I suspect that omitting this will allow access

SNMP Agent V2C community string problem

2012-05-17 Thread George Rubin
Hello, I've built net-snmp 5.7.1 for powerpc linux (eldk 5.1). I've configured it with the following line: ./configure --host=powerpc-linux --build=i686-pc-linux-gnu --target=ppc-denx-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc

Snmp agent process

2012-05-02 Thread Geoffrey Fournier
Hi! Thanks to the example i have write one integer in a MIB (nstAgentPluginBoject). This one is a dynamically loadable object. One host (unbuntu 10.04 with net-snmp 5.7) change the variable of the target MIB (for the moment another computer with the same configuration as previously). I want to di

Re: unable to start snmp agent

2012-04-10 Thread Dave Shield
On 9 April 2012 10:32, pandit jignesh wrote: > My operating system is ubuntu 11.10 and net-snmp version is 5.7.1 . > executable snmpd file location: /usr/local/sbin/snmpd > when i start snmpd from /etc/init.d:# snmpd start > it says snmpd programme is not installed. I suspect that the init.d sc

Re: unable to start snmp agent

2012-04-09 Thread David Sastre Medina
On Mon, Apr 09, 2012 at 05:32:27PM +0800, pandit jignesh wrote: > My operating system is ubuntu 11.10 and net-snmp version is 5.7.1 . > Installation folder: /home/jbpandit/snmp_projects/net-snmp > snmpd.conf file location: /usr/local/share/snmp/snmpd.conf > executable snmpd file location: /usr/loca

unable to start snmp agent

2012-04-09 Thread pandit jignesh
My operating system is ubuntu 11.10 and net-snmp version is 5.7.1 . Installation folder: /home/jbpandit/snmp_projects/net-snmp snmpd.conf file location: /usr/local/share/snmp/snmpd.conf executable snmpd file location: /usr/local/sbin/snmpd snmpd.conf file contain following value: access control set

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: Snmp agent executable and libnet module problem

2012-01-31 Thread Dave Shield
On 25 January 2012 22:07, Francois Bouchard wrote: > Is there a way to include loadable module (.so files) so we don't have to > transfer with the executable? >From the FAQ: How can I compile the project to use static linking? --- For totally st

Snmp agent executable and libnet module problem

2012-01-25 Thread Francois Bouchard
Hello list, Once built, the SNMP agent does seems to use the latest source code modules as specified in the net-snmp spec file. It seems that the older libnet*.so files located on the target contains older code, and not the new one. Is there a way to include loadable module (.so files) so we

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: Dynamic snmp agent reconfiguration

2011-11-11 Thread Dave Shield
On 11 November 2011 06:00, Mohammad Waqas Athar wrote: >  Is there a way to dynamically reconfigure snmpd settings without restarting > it. I mean are there any IOCTL command, C api or signal handler defined to > reconfigure agent settings other then editing the snmpd.conf and restarting > agent o

Re: Dynamic snmp agent reconfiguration

2011-11-11 Thread anand anand
Net-Snmp supports re-reading of the snmpd.conf file if it receives a SIGHUP Check out the receive(void) function in snmpd.c, there is a call to update_config, which will be called only if a global flag is set when net-snmp receives a SIGHUP -anand On Fri, Nov 11, 2011 at 11:30 AM, Mohammad Waq

Dynamic snmp agent reconfiguration

2011-11-10 Thread Mohammad Waqas Athar
Hello users, Is there a way to dynamically reconfigure snmpd settings without restarting it. I mean are there any IOCTL command, C api or signal handler defined to reconfigure agent settings other then editing the snmpd.conf and restarting agent ourself.

how to allow only 1 SNMP manager to access SNMP agent ?

2011-10-24 Thread ning ji
this is my understanding, pls correct me if it's wrong. the SNMP agent is running in the embedded linux system in the lab, i'm sitting in the cube to get SNMP info in my desktop pc (SNMP manager). how should i configure the snmpd.conf in the embedded system, so it only passes in

How to associate SNMP OID with specific parameter under SNMP agent

2011-09-08 Thread Martin T
my SNMP agent(192.168.1.100) and now I'm able to see HDD temperature in 192.168.1.100, but how to associate SNMP OID with it? My end goal would be to execute: snmpwalk -c public -v 2c 192.168.1.100 particular_OID ..and receive HDD temperature. An in more general, how can one associate SNM

Re: Running snmp agent as a thread

2011-08-05 Thread Bart Van Assche
On Fri, Aug 5, 2011 at 9:14 AM, jatinder goswami wrote: > I have a requirement to run SNMP Agent as a thread in my application (The > application in running on Linux based embedded system). > > Following are the changes I have done for same: > 1. Modified main() function in a

Running snmp agent as a thread

2011-08-05 Thread jatinder goswami
Hi All, I have a requirement to run SNMP Agent as a thread in my application (The application in running on Linux based embedded system). Following are the changes I have done for same: 1. Modified main() function in agent/snmpd.c to snmpd_main(). 2. Compile snmpd.c as a shared library which is

RE: Limiting ip addresses which have access to SNMP agent

2011-04-12 Thread Lewis Adam-VNQM87
12, 2011 5:21 PM > To: Lewis Adam-VNQM87 > Cc: net-snmp-users@lists.sourceforge.net > Subject: Re: Limiting ip addresses which have access to SNMP agent > > On 12 April 2011 16:57, Lewis Adam-VNQM87 > wrote: > >  does anyone know if there is a standard MIB which allows you to

Re: Limiting ip addresses which have access to SNMP agent

2011-04-12 Thread Dave Shield
On 12 April 2011 16:57, Lewis Adam-VNQM87 wrote: >  does anyone know if there is a standard MIB which allows you to configure > the list of IP addresses which have access to an agent? No. That's probably the major difference between the Net-SNMP "com2sec" token, and the official COMMUNITY-MIB f

Limiting ip addresses which have access to SNMP agent

2011-04-12 Thread Lewis Adam-VNQM87
Hi, does anyone know if there is a standard MIB which allows you to configure the list of IP addresses which have access to an agent? I'm guessing there isn't because we should probably be relying on either the community string or the auth/priv combination to control access, but I just thought I

Re: snmp agent

2011-03-28 Thread geetha ramani
ani wrote: >>  is it possible to run a snmp agent as a snmp agent cache. > > What do you mean by "a snmp agent cache" ? > > It's common for a given MIB module implementation > to cache data from the underlying subsystem, and > use this cache for subsequent req

Re: snmp agent

2011-03-28 Thread Dave Shield
On 28 March 2011 10:52, geetha ramani wrote: >  is it possible to run a snmp agent as a snmp agent cache. What do you mean by "a snmp agent cache" ? It's common for a given MIB module implementation to cache data from the underlying subsystem, and use this cache for subsequent

snmp agent

2011-03-28 Thread geetha ramani
hi, is it possible to run a snmp agent as a snmp agent cache. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are

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: help :- Problems with snmp agent NetSNMP-5.5 version while creating/spawning new thread (using pthread library interface)

2010-12-21 Thread Wes Hardaker
> On Tue, 21 Dec 2010 17:31:22 +0530, "Borra, Kishore Babu" > said: BKB> Still I haven't got any info on this. It would be good, if there is BKB> atleast some view point on the issue mentioned. I've noticed you've sent your questions about once a day to the list. Please refrain from doi

RE: help :- Problems with snmp agent NetSNMP-5.5 version while creating/spawning new thread (using pthread library interface)

2010-12-21 Thread Borra, Kishore Babu
Still I haven't got any info on this. It would be good, if there is atleast some view point on the issue mentioned. Thanks, Kishore From: Borra, Kishore Babu Sent: Monday, December 20, 2010 3:00 PM To: 'net-snmp-users@lists.sourceforge.net' Cc: 'Dave Shield' Subject: h

help :- Problems with snmp agent NetSNMP-5.5 version while creating/spawning new thread (using pthread library interface)

2010-12-20 Thread Borra, Kishore Babu
Hi, I am re-posting this message after subscribing to the net-snmp users. Hope there will be some guidance on this problem. I was trying to create a thread using pthread_create() in one of the dynamic mib extension file, to create a tcp socket listening on 6 port. I had ran it in two ways

help :- Problems with snmp agent NetSNMP-5.5 version while creating thread

2010-12-18 Thread borra kishore babu
Hi, I was trying to create a thread using pthread_create() in one of the dynamic mib extension file, to create a tcp socket listening on 6 port. I had ran it in two ways, 1. one with foreground option - (./snmpd -c snmpd.conf -Lsd -f) This point thread creation was successful.

  1   2   3   4   5   >