Having some issues moving subagent from running with 5.8 to 5.9

2024-08-12 Thread Lennart Sorensen
I am trying to get a subagent to work after moving from net-snmp 5.8 to 5.9, but it keeps segfaulting for me. I have tracked down that it is failing when trying to sort the table due to the structure not being what it should be. It is using table_container to store the tables that are causing iss

Need help regarding writing AgentX for support SNMP V3 Which running with Apache 2.4 Service.

2021-10-25 Thread Suresh
Hi All My C++ application running(on windows-64 bit application with Apache 2.4 (Daemon )and this application support only SNMP V1 V2 using net-snmp API our C++ application get snmp call (for SNMPGET,SNMP walk using Windows OS provided SNMP Service using ExtensionAgents C:\Windows\system32

Re: Interfacing Net-SNMP with Pi running Ubuntu 21.04

2021-10-18 Thread Wes Hardaker via Net-snmp-coders
Andrew Mwakibinga writes: >I have been having difficulty getting custom MIB OIDs to show > up, when I > perform SNMPGET/SET/WALK commands. If (and only if) I understand you problem, you need to put the MIB file into a place where snmpget/set/walk can find and read it. And then

Interfacing Net-SNMP with Pi running Ubuntu 21.04

2021-10-14 Thread Andrew Mwakibinga
PROPRIETARY Greetings, I have been having difficulty getting custom MIB OIDs to show up, when I perform SNMPGET/SET/WALK commands. I have modified the snmpd.conf file to have the line "rocommunity public localhost" in case this a permissions issue. I have my created MIB located i

net-snmp not returning number of descriptors when running OMAPI to DHCP server all on same linux platform

2021-08-23 Thread Resham Hayre
We have a SNMP running with Sub-agents and are using the "snmp_select_info" call to find the number of file descriptors and then perform a select call to get the data. However, when we run a OMAPI thread that communicates with a DHCP server over TCP connection to get lease inform

SNMP daemon still running after snmpd -h command

2018-10-04 Thread Josef Ridky
Hi folks, I have discovered following issue. When I run in terminal: # snmpd -h I get proper usage information, but snmpd process still exists. I prepared simple patch with solution based on code from 5.7 version of net-snmp (in attachment). Regards Josef Ridky Associate Software Engineer Cor

Re: running net snmp 5.7.3 on arm aarch64, is it ok?

2018-09-24 Thread Wes Hardaker via Net-snmp-coders
desong <[email protected]> writes: > I add init function, init_snmp, init_agent, and mib init function all > in one thread start function. If you're using threads, please make sure to read the README.thread file. -- Wes Hardaker Please mail all replies to [email protected]

Re:Re: running net snmp 5.7.3 on arm aarch64, is it ok?

2018-09-22 Thread desong
ok till now. B.R Derrick 在 2018-09-20 21:48:25,"Bart Van Assche" 写道: >On 9/18/18 11:53 PM, 宋金鑫 wrote: >> I am running our stack on new platform: arm aarch64, I get some strange >> crashes. >> like: >> #0 0xf6f91fd0 in strcmp () from >> /repo/HD_R

Re: running net snmp 5.7.3 on arm aarch64, is it ok?

2018-09-20 Thread Bart Van Assche
On 9/18/18 11:53 PM, 宋金鑫 wrote: I am running our stack on new platform: arm aarch64, I get some strange crashes. like: #0  0xf6f91fd0 in strcmp () from /repo/HD_R/rootfs/brcm/fs.install/lib/libc.so.6 #1  0xf7373bac in internal_register_config_handler ()    from /repo/HD_R/rootfs/brcm

running net snmp 5.7.3 on arm aarch64, is it ok?

2018-09-18 Thread 宋金鑫
hi guys, I am running our stack on new platform: arm aarch64, I get some strange crashes. like: #0 0xf6f91fd0 in strcmp () from /repo/HD_R/rootfs/brcm/fs.install/lib/libc.so.6 #1 0xf7373bac in internal_register_config_handler () from /repo/HD_R/rootfs/brcm/fs.install/usr/lib/libnetsnmp.so

Re: error running make on mac osx 10.11.3 - hardware/memory/memory_freebsd.c:12:10: fatal error: 'kvm.h' file not found

2016-02-23 Thread Niels Baggesen
Den 15-02-2016 kl. 20:55 skrev Dave Karokkae: > > Hi, > I was hoping an expert here can help me in the right direction, either a > configure flag to avoid kvh, or a fix in the code ? > > BACKGROUND: > > I was able to configure using these flags: > # ./configure --with-persistent-directory=/var/d

error running make on mac osx 10.11.3 - hardware/memory/memory_freebsd.c:12:10: fatal error: 'kvm.h' file not found

2016-02-19 Thread Dave Karokkae
Hi,I was hoping an expert here can help me in the right direction, either a configure flag to avoid kvh, or a fix in the code ? BACKGROUND: I was able to configure using these flags:# ./configure --with-persistent-directory=/var/db/net-snmp \                        --with-defaults \           

Error running configure script

2015-12-03 Thread Shane Slack
I'm trying to install net-snmp on aix 7.1 and I get this error while running the configure script. I have tried to google for a solution, but haven't found anything. Please let me know if you have any other tips or suggestions. Thanks, [cid:[email protected]

deprecated sysctl warning when snmpd is running in LXC container

2013-12-12 Thread Alexander Bergmann
Hi everyone, we ran into a problem with snmpd inside a LXC container. The container does not offer the neigh/default directories for ipv4 and ipv6. Therefore it cannot access the retrans_time_ms files inside the netsnmp_arch_interface_init() function and falls back to the deprecated retrans_tim

About process running time

2013-07-24 Thread Osmar Gascho
Hello, we've been running a server with net-snmp to monitor some of our clients servers, and we've come to need a way to get the running processes on-time. I mean, the time each process has been running for, as we can usually find in a top command. That would be really helpful, but

Re: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-11 Thread Stuart Henderson
On 2012-12-10, William wrote: > Hi Gary, thanks for the suggestion. I tried commenting out that call to > log_notifications() in the > /net-snmp-5.7.2/agent/mibgroup/notification/snmpNotifyTable.c program file > and recompiled the package with it. Ran snmptrapd and still has memory > leak. This

RE: [[email protected]: Re: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.]

2012-12-11 Thread William
will tell. Thank You! Bill Yee -Original Message- From: Stuart Henderson [mailto:[email protected]] Sent: Tuesday, December 11, 2012 8:14 PM To: William Subject: [[email protected]: Re: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.] Forwarded copy, in case my list mail

RE: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-10 Thread William
specification in the /usr/local/etc/snmp/snmp.conf file so that it would not find and load any MIBS also. Tried running without the MIBS loaded but still has the memory leaking. Terrible. What other areas of net-snmp are constantly and repeatedly called each time a trap comes in? Trying to pinpoint what

RE: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-10 Thread Gary Dunlap
2 11:06 AM To: [email protected] Subject: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd. Hello, main issue being reported is "Memory Leaks" in net-snmp v5.7.2 and v5.7.1. Support Key: 44ae-0f1e-cd36-1abb First off I am totally new to net-snmp and the support forum mechan

NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-10 Thread William Yee
e modified the snmptrapd.c and snmptrapd_handlers.c programs. I have added logic to the snmptrapd.c program to open 3 destination ports (sessions) and added reading in my own custom configuration file to specify the trap filtering parameters. The 3 opened sessions remain opened for the duration of r

Using SIGHUP on running daemon to reload config and determining when reload is complete

2012-10-15 Thread Bob O'Neil
I have an application running as a subagent, that operationally requires that I make changes to settings that are not available to a subagent (i.e. changing SNMP trap destinations, security values associated with trap generation, SNMP user creation/deletions/and modifications, etc.). These

Re: Running Make Fails!!!

2012-04-13 Thread Robert Story
On Tue, 10 Apr 2012 10:17:13 -0400 Zlatan wrote: ZS> Hello, ZS> ZS> I am following a tutorial ZS> http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/ ZS> ZS> When I try to run a makefile (i.e make -f ifTable_Makefile), I get the ZS> following errors: ZS> ZS> [root@localhost ifTable]# make -

Running Make Fails!!!

2012-04-10 Thread Zlatan Sadibasic
Hello, I am following a tutorial http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/ When I try to run a makefile (i.e make -f ifTable_Makefile), I get the following errors: [root@localhost ifTable]# make -f ifTable_Makefile gcc -I. `net-snmp-config --base-cflags` -Wall -Wstrict-prototypes

Re: Multi homed host running snmpd

2012-03-20 Thread శ్రీధర్
pecified endpoint "10.10.1.51" > Server Exiting with code 1 > > would appreciate any suggestions. > > $ifconfig > > eth0 Link encap:Ethernet HWaddr 00:1B:12:00:02:0A > inet addr:10.10.1.10 Bcast:10.10.1.255 Mask:255.255.255.0 > UP B

Multi homed host running snmpd

2012-03-19 Thread శ్రీధర్
HWaddr 00:1B:12:00:02:0A inet addr:10.10.1.10 Bcast:10.10.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:239685 errors:0 dropped:0 overruns:0 frame:0 TX packets:1389 errors:0 dropped:0 overruns:0 carrier:0 c

Re: Changing system time with a net-snmp-base application running can freeze the app

2012-02-02 Thread Bart Van Assche
On Thu, Feb 2, 2012 at 9:35 AM, Alban Rochel wrote: > FYI, I have fixed this problem by replacing all the calls to > gettimeofday() by calls to mygettimeofay(): > That will break at least the MIB implementations that expect a wall clock time instead of a CLOCK_MONOTONIC time. Bart. -

Re: Changing system time with a net-snmp-base application running can freeze the app

2012-02-02 Thread Alban Rochel
On 31/01/12 18:46, Bart Van Assche wrote: > On Tue, Jan 31, 2012 at 4:30 PM, Alban Rochel > wrote: >> I work on a Linux application which does an extensive use of net-snmp to >> monitor and control a bunch of external equipments, all synchronised on >> a ptp or ntp clock. The "fun" part is that t

Re: Changing system time with a net-snmp-base application running can freeze the app

2012-01-31 Thread Bart Van Assche
On Tue, Jan 31, 2012 at 4:30 PM, Alban Rochel wrote: > I work on a Linux application which does an extensive use of net-snmp to > monitor and control a bunch of external equipments, all synchronised on > a ptp or ntp clock. The "fun" part is that the clock is not always > available, and that the s

Changing system time with a net-snmp-base application running can freeze the app

2012-01-31 Thread Alban Rochel
Hello all, I work on a Linux application which does an extensive use of net-snmp to monitor and control a bunch of external equipments, all synchronised on a ptp or ntp clock. The "fun" part is that the clock is not always available, and that the system can be completely out of synch at startup

Re: Problem with running sub-agent: AgentX

2011-11-23 Thread Dave Shield
On 23 November 2011 11:00, prashant n wrote: > 1)  If  i want to handle other objects with types such as table, float, > string etc.. then what changes  i need to do in source file example-demon.c ? >From the FAQ entry Which mib2c configuration file should I use? For implementing a group

Problem with running sub-agent: AgentX

2011-11-23 Thread prashant n
Hi Dave, *Thanks for your reply.* * * Again i tried both the cases i,e 1) I am able to create sub-agent: AgentX automatically using the net-snmp-config script and i tested. 2) Instrumenting my own code with agentx sub agent support as given in tutorial I killed the snmpd command (Ct

RE: Problem with running sub-agent: AgentX

2011-11-23 Thread Eirik Nordbrøden
t > Subject: Re: Problem with running sub-agent: AgentX > > On 23 November 2011 06:33, prashant n wrote: > > Following lines shows the output of the command: > >  sudo /usr/local/sbin/snmpd -f -L -d -p Turning on AgentX > > master support. > > NET-SNMP ver

Re: Problem with running sub-agent: AgentX

2011-11-23 Thread Dave Shield
On 23 November 2011 06:33, prashant n wrote: > Following lines shows the output of the command: >  sudo /usr/local/sbin/snmpd -f -L -d -p > Turning on AgentX master support. > NET-SNMP version 5.6.1.1 OK - so there's no sign of any warning messages. So opening the AgentX socket should ha

Problem with running sub-agent: AgentX

2011-11-22 Thread prashant n
Hi Dave, *Thanks for your valuable feedback.* Ya now i got advantage of using sub-agent, you have been very helpful for me. Following lines shows the output of the command: sudo /usr/local/sbin/snmpd -f -L -d -p Turning on AgentX master support. NET-SNMP version 5

Re: Problem with running sub-agent: AgentX

2011-11-22 Thread Dave Shield
On 22 November 2011 14:43, prashant n wrote: > my snmpd.conf looks like this > > rwcommunity  private > master agentx > >  and i run the master agent using command: > sudo /usr/local/sbin/snmpd -f -L -d -p What is the output of this command? What does it log? Dave --

Re: Problem with running sub-agent: AgentX

2011-11-22 Thread Dave Shield
On 22 November 2011 14:43, prashant n wrote: >     Before i move to  the problem with running sub-agent, i wanted to know > what is the main advantage of using sub-agent in comparison with compiling > MIB modules with the SNMP agent snmpd The main advantage is with regard to deployment

Problem with running sub-agent: AgentX

2011-11-22 Thread prashant n
Hi, Before i move to the problem with running sub-agent, i wanted to know what is the main advantage of using sub-agent in comparison with compiling MIB modules with the SNMP agent snmpd i,e the following flow i followed when i started reading tutorial section : TUT: Writing a MIB Module

Re: Problem with running SNMP agent

2011-11-15 Thread Dave Shield
] On 14 November 2011 13:57, prashant n wrote: > Hi Dave Shield, > Thanks for your valuable feed back. > >  I tried omitting the '-p' flag, and used following command > >     /usr/local/sbin/snmpd -f -L -d   > > Now the agent is running giving f

Re: Problem with running SNMP agent

2011-11-14 Thread Dave Shield
agent is probably trying to open the same port as another agent (presumably the vendor-supplied agent is still running). Try omitting the '-p' flag, and use /usr/local/sbin/snmpd -f -L -d Dave -- RSA(

Problem with running SNMP agent

2011-11-11 Thread prashant n
# ### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid

Re: Problem with running SNMP agent

2011-11-10 Thread Dave Shield
On 10 November 2011 09:30, prashant n wrote: > I compiled SNMP agent with MIB module > When i run command: /usr/local/sbin/snmpd -f -L -d -p > it was giving follwing  error > /usr/local/sbin/snmpd: error while loading shared libraries: > libnetsnmpagent.so.25: cannot open

Problem with running SNMP agent

2011-11-10 Thread prashant n
Hi, I compiled SNMP agent with MIB module When i run command: /usr/local/sbin/snmpd -f -L -d -p it was giving follwing error /usr/local/sbin/snmpd: error while loading shared libraries: libnetsnmpagent.so.25: cannot open shared object file: No such file or directory S

RE: Running sub-agent on different machine

2011-10-20 Thread Shreyas Deodhar
It worked the firewall was blocking the TCP calls; setup given in FAQ is correct. Thanks & Regards, Shreyas From: Shreyas Deodhar Sent: Tuesday, October 18, 2011 5:19 PM To: net-snmp-coders Subject: Running sub-agent on different machine Hi, I want to run my sub-agent on different mac

Running sub-agent on different machine

2011-10-18 Thread Shreyas Deodhar
Hi, I want to run my sub-agent on different machine from that of snmpd (master agent) I tried to follow what is given in FAQ http://www.net-snmp.org/wiki/index.php/FAQ:Agent_12 Following is what I tried; In snmp config file I have following settings master agentx agentxsocket tcp::7

Re: consistent response handling for running out of resources

2011-08-19 Thread Dave Shield
On 19 August 2011 11:11, Lewis Adam-VNQM87 wrote: > I just did a grep through the net-snmp code [5.7 as well] and I can't > see anywhere where the snmpSilentDrops stat gets updated. > Am I missing something? Probably not. It wouldn't surprise me at all if this is an example of the code not follow

RE: consistent response handling for running out of resources

2011-08-19 Thread Lewis Adam-VNQM87
Shield > Sent: Friday, August 19, 2011 10:32 AM > To: Lewis Adam-VNQM87 > Cc: [email protected] > Subject: Re: consistent response handling for running out of resources > > On 18 August 2011 17:09, Lewis Adam-VNQM87 > wrote: > > As

Re: consistent response handling for running out of resources

2011-08-19 Thread Dave Shield
On 18 August 2011 17:09, Lewis Adam-VNQM87 wrote: > As far as I can tell, in the latter case we just > time out the request rather than attempt to send a too big (or any > other) error response. Is this the correct behavior? The spec that Wes quoted continues as follows:

RE: consistent response handling for running out of resources

2011-08-18 Thread Lewis Adam-VNQM87
[email protected] > Subject: Re: consistent response handling for running out of resources > > >>>>> On Thu, 11 Aug 2011 12:33:43 +0100, "Lewis Adam-VNQM87" > said: > > LA> As I have mentioned, we do have an embedded system with limited >

Re: consistent response handling for running out of resources

2011-08-18 Thread Wes Hardaker
> On Thu, 11 Aug 2011 12:33:43 +0100, "Lewis Adam-VNQM87" > said: LA> As I have mentioned, we do have an embedded system with limited LA> resources and it would be interesting to know how unix-style agents cope LA> with the same sort of test. RFC3416 has this to say: Otherwise, an a

RE: consistent response handling for running out of resources

2011-08-11 Thread Lewis Adam-VNQM87
eforge.net > Subject: Re: consistent response handling for running out of resources > > On Thu, 4 Aug 2011 13:08:50 +0100 Lewis wrote: > LAV> We are trying to provide a consistent response if a manager > attempts to > LAV> send too many sub-requests within a single request. We

Re: consistent response handling for running out of resources

2011-08-10 Thread Robert Story
On Thu, 4 Aug 2011 13:08:50 +0100 Lewis wrote: LAV> We are trying to provide a consistent response if a manager attempts to LAV> send too many sub-requests within a single request. We have finite LAV> resources and so at some point a malloc will fail and depending where it LAV> does, the net-snmp e

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

consistent response handling for running out of resources

2011-08-04 Thread Lewis Adam-VNQM87
Greetings all, Another question from the land of the 5.4.2.1 based embedded agent. We are trying to provide a consistent response if a manager attempts to send too many sub-requests within a single request. We have finite resources and so at some point a malloc will fail and depending where it d

Re: Running Net-SNMP regression tests under Valgrind

2011-03-21 Thread Wes Hardaker
> On Thu, 17 Mar 2011 08:28:45 +0100, Bart Van Assche > said: BVA> As promised during the latest Net-SNMP administrative meeting, I BVA> have added a page on the Net-SNMP Wiki about how to run the BVA> Net-SNMP regression tests under Valgrind: Cool, thanks! -- Wes Hardaker Please mail

Running Net-SNMP regression tests under Valgrind

2011-03-17 Thread Bart Van Assche
Hello, As promised during the latest Net-SNMP administrative meeting, I have added a page on the Net-SNMP Wiki about how to run the Net-SNMP regression tests under Valgrind: http://www.net-snmp.org/wiki/index.php/Running_Net-SNMP_Regression_Tests_under_Valgrind Bart.

Re: Now sure whether agentx is running ?

2010-11-19 Thread Wes Hardaker
t 705 port for agentx will be listening . But I do not sp> see . Is this running as agentx? By default agentx listens to the local /var/agentx/master unix domain socket, not to a TCP port. # man snmpd.conf ... agentXSocket [:][,...] defines the address the master agent

Re: Now sure whether agentx is running ?

2010-11-17 Thread sujata patra
From: sujata patra To: [email protected] Sent: Wed, November 17, 2010 5:02:41 PM Subject: Now sure whether agentx is running ? know how : 1> How to stop the /usr/local/sbin/snmpd in ubuntu gracefully ? 2> How to add mib director

Re: Now sure whether agentx is running ?

2010-11-17 Thread sujata patra
From: sujata patra To: [email protected] Sent: Wed, November 17, 2010 5:02:41 PM Subject: Now sure whether agentx is running ? know how : 1> How to stop the /usr/local/sbin/snmpd in ubuntu gracefully ? 2> How to add mib director

Now sure whether agentx is running ?

2010-11-17 Thread sujata patra
# cat /usr/local/share/snmp/snmpd.conf rocommunity public master agentx #/usr/local/sbin/snmpd I expected that 705 port for agentx will be listening . But I do not see . Is this running as agentx? 3> What is the iss

Re: Running snmptrapd in IPv6

2010-07-22 Thread Manjit
Thanks Dave ... Dave Shield wrote: > On 21 July 2010 14:16, Manjit wrote: > >> Yes, i have configured the ipv6. >> ./configure --with-mib-modules="mibII/ipv6" >> > > That includes support for the IPv6 MIB modules. > It does not include support for SNMP over IPv6 as a transport mechanism.

Re: Running snmptrapd in IPv6

2010-07-21 Thread Manjit
Yes, i have configured the ipv6. ./configure --with-mib-modules="mibII/ipv6" make make install then i run the snmptrapd from /usr/local/sbin : [r...@localhost sbin]# ./snmptrapd -c snmptrapd.conf -f -Lo udp6:162 getaddrinfo: udp6 Name or service not known couldn't open udp6:162 -- errno 0 ("Succe

Re: Running snmptrapd in IPv6

2010-07-21 Thread Dave Shield
On 21 July 2010 14:16, Manjit wrote: > Yes, i have configured the ipv6. > ./configure --with-mib-modules="mibII/ipv6" That includes support for the IPv6 MIB modules. It does not include support for SNMP over IPv6 as a transport mechanism. $ ./configure --help : --enable-

Re: Running snmptrapd in IPv6

2010-07-21 Thread Dave Shield
On 21 July 2010 11:27, Manjit wrote: > I want to run snmptrapd to accept traps coming from agent in IPV6. > Please provide me the command used for that. > I am trying the below command but it is failing: > [r...@101/udp sbin]# ./snmptrapd -d -c snmptrapd.conf -f -Lo udp6:162 Did you compile the t

Running snmptrapd in IPv6

2010-07-21 Thread Manjit
Hi All, I want to run snmptrapd to accept traps coming from agent in IPV6. Please provide me the command used for that. I am trying the below command but it is failing: [r...@101/udp sbin]# ./snmptrapd -d -c snmptrapd.conf -f -Lo udp6:162 getaddrinfo: udp6 Name or service not known couldn't open ud

how EMS will come to know about CPU is crashed on which Agent is running

2010-06-03 Thread Subhash Chandra
Hi, how EMS will come to know about CPU is crashed on which Agent is running. Will trap can be used for this purpose. Please reply as soon as possible. Regards, Subhash Chandra -- ThinkGeek and WIRED's GeekDad te

Re: Restarting Running Process

2010-05-20 Thread Dave Shield
On 20 May 2010 14:42, hareesh wrote: > Please tell me is there any mechanism to restart a running process in a > machine using SNMP ? Restarting a process being monitored by the "proc" directive can be done via the "procfix" directive. Running an arbitrary command on

Restarting Running Process

2010-05-20 Thread hareesh
Hi Friends, Please tell me is there any mechanism to restart a running process in a machine using SNMP ? -- Regards, Hareesh V -- ___ Net-snmp-coders mailing list Net-snmp

Re: running snmp in Snow Leopard

2009-11-13 Thread Xian Chen
The issue is caused by my network administrator. Now, everything is fine. thanks, Xian On Fri, Nov 13, 2009 at 4:05 PM, Xian Chen wrote: > Hi, > > First, I run "sudo snmpd" not "sudo snmp". Sorry for the typo. > > I delete those duplicated lines and it works. So, I realize that the snmpd > shou

Re: running snmp in Snow Leopard

2009-11-13 Thread Xian Chen
Hi, First, I run "sudo snmpd" not "sudo snmp". Sorry for the typo. I delete those duplicated lines and it works. So, I realize that the snmpd should take care of this kind of issue. Now, I run snmpget -c public -v2c localhost system.sysUpTime.0 It gives me the correct result. But, I run snmpge

Re: running snmp in Snow Leopard

2009-11-13 Thread Dave Shield
2009/11/13 Xian Chen : > After executing sudo snmp, I check the snmp.log file.  It says: > Sensor Data Collection not supported > netsnmp_assert 0 == (ifentry->ns_flags & 0x0100) failed > if-mib/ifTable/ifTable_data_access.c:285 _add_new_interface() > NET-SNMP version 5.4.2.1 > So, snmpget or s

running snmp in Snow Leopard

2009-11-13 Thread Xian Chen
SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rwuser: a SNMPv3 read-write user # arguments: user [noauth|auth|priv] [restriction_oid] rwuser admin rwuser private # rouser: a SNMPv3 read-only user # arguments: user [noau

Re: running snmpwalk on all MIB tree

2009-09-17 Thread Wes Hardaker
> On Wed, 16 Sep 2009 21:25:35 -0500, "EYRE Bernadette" > said: EB> I was under the impression that the snmpwalk command, given the root EB> oid, it will walk entire tree. Is this true? You didn't give it the root OID though. It did walk the entire subtree you asked of it ("system").

Re: running snmpwalk on all MIB tree

2009-09-16 Thread Magnus Fromreide
On Wed, 2009-09-16 at 21:25 -0500, EYRE Bernadette wrote: > > Hello Dave and net-snmp Coders, > > > I was under the impression that the snmpwalk command, given the root > oid, it will walk entire tree. > Is this true? No, as you have noticed. > I'm running snmp

running snmpwalk on all MIB tree

2009-09-16 Thread EYRE Bernadette
Hello Dave and net-snmp Coders, I was under the impression that the snmpwalk command, given the root oid, it will walk entire tree. Is this true? I'm running snmpwalk from a specfied MIB root node, say system. I'm running net-snmp 5.4.2.1 version for Linux my snmpwalk command is

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

2009-08-28 Thread Dave Shield
alues themselves. So yes, notifications will be based on these delta values. I'd probably suggest that you start by experimenting with simpler monitor directives. Such as using the UCD 'prTable' to monitor whether particular processes are running or not, and then "monitor"

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

2009-08-28 Thread sandeep patra
s, Sandeep Patra On Fri, Aug 28, 2009 at 1:49 PM, Dave Shield wrote: > 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" &

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 curre

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

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

net-snmp agent version running on AIX 5 3 64 bit

2009-08-05 Thread AB
Hi all We have a net-snmp agent version 5.0.6 running on AIX 5.3 - 32bit. We implemented a number of customized checks using the snmpd.conf instruction “exec OID Community command-name” . Now we move the OS from 32 to 64 bit. The snmpd agent do not start. Which is the best option in order

Re: Running Multiple snmpd agents on solaris (atleast two).

2009-02-18 Thread Robert Story
One thing all the suggestions to date have complete ignored is that they will all share a common persistent storage. This is a major oversight if you want to have distinct SNMPv3 users for each instance. http://freesnmp.com/net-snmp/faqs/#persistmulti -

Re: Running Multiple snmpd agents on solaris (atleast two).

2009-02-16 Thread Pradhap D
If you pefer not to use command line, start the daemon with alternate snmpd.conf file. #/usr/sbin/snmpd -f -c /tmp/snmpd.conf The contents of the file /tmp/snmpd.conf should look like --- rocommunity public agentaddress 18000 -- Change the port "18000" to you suit your needs. ~ Pradhap

Re: Running Multiple snmpd agents on solaris (atleast two).

2009-01-14 Thread Dave Shield
2009/1/10 : > I am using netsnmp 5.3.0.1 which is being ported by us for solaris. > On linux 2 instances are working fine. > I will try these, but as you said that we need to upgrgade. No - Thomas did not say that you *need* to upgrade. He suggested that you use the most recent version of the cod

RE: Running Multiple snmpd agents on solaris (atleast two).

2009-01-10 Thread ayush.pathak
: Thomas Anders [mailto:[email protected]] Sent: Sat 1/10/2009 2:59 AM To: Ayush Pathak (WT01 - Telecom Equipment) Cc: [email protected] Subject: Re: Running Multiple snmpd agents on solaris (atleast two). [email protected] wrote: > I am unable to run multiple sn

Re: Running Multiple snmpd agents on solaris (atleast two).

2009-01-09 Thread Thomas Anders
[email protected] wrote: > I am unable to run multiple snmpd agents on solaris machine. Unfortunately, your query lacks helpful details. Use latest net-snmp 5.4.2.1, and fire two agents (in seperate shells) as follows: snmpd -f -Le -r -C -Y rocommunity=foobar localhost:8161 snmpd -f -Le -

Running Multiple snmpd agents on solaris (atleast two).

2009-01-08 Thread ayush.pathak
Hi Everyone, I am unable to run multiple snmpd agents on solaris machine. Event two instances of snmpd are not running on solaris although I am able to run any number of instances on linux. I tried all the options with snmpd but second instance aborts. Error is mostly because of using same 161

AW: how to install on get running on HP-UX

2008-11-19 Thread Hanig, Michael
@lists.sourceforge.net Betreff: how to install on get running on HP-UX Does anyone have any experience in installing and configuring Net-SNMP on HP-UX? I have installed the latest version I can via depot from HP using swinstall, which seemed to go ok, but the system still seems to be using the default

how to install on get running on HP-UX

2008-11-18 Thread Allen, Bill
Does anyone have any experience in installing and configuring Net-SNMP on HP-UX? I have installed the latest version I can via depot from HP using swinstall, which seemed to go ok, but the system still seems to be using the default version of SNMP rather than Net-SNMP. Any help would be greatl

Running Net-snmp 5.2.1 on solaris 10

2008-11-10 Thread srikapilan.gandhi
Hi, I have problems running snmpd (net-snmp5.2.1) on solaris 10. It gives this error : init_kmem: kvm_open failed: Error 0 Reffering to http://www.mail-archive.com/[EMAIL PROTECTED]/msg1311 9.html http://www.mail-archive.com/[EMAIL PROTECTED] et/msg13119.html> http://www.mail-archive.

problem in running ..... mib2c

2008-10-18 Thread Muhammad Zeeshan
Dear Coders, I am new to coding for net-snmp, and having a problem, which i am surely expecting help from you people, as follows: When i run the following command, i get the followed error. ---

Fw: problem in running ..... mib2c

2008-10-18 Thread M. Zeeshan - IMS
Muhammad Zeeshan --- On Fri, 17/10/08, Muhammad Zeeshan <[EMAIL PROTECTED]> wrote: From: Muhammad Zeeshan <[EMAIL PROTECTED]> Subject: problem in running . mib2c To: [email protected] Date: Friday, 17 October, 2008, 4:39 PM Dear Coders, I am new t

Re: Running Net-SNMP on embedded MIPS platform

2007-07-31 Thread Kapil Sharma
one. Thanks for all your help. -Kapil - Original Message From: Kapil Sharma <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, July 26, 2007 12:05:40 PM Subject: Re: Running Net-SNMP on embedded MIPS platform Thomas Anders suggested that I could exp

Re: Running Net-SNMP on embedded MIPS platform

2007-07-26 Thread Kapil Sharma
Thomas Anders suggested that I could explicitly try to include ucd-snmp/dlmod in the mib modules in configure, and see if it helps. However, while ./configure --host=x86-linux --target=mips-linux --with-cc=mips-linux-gcc --with-ar=mips-linux-ar --with-endianness=big --disable-debugging --enabl

Re: Running Net-SNMP on embedded MIPS platform

2007-07-26 Thread Dave Shield
On 26/07/07, Need Help <[EMAIL PROTECTED]> wrote: > I thought you always had to do a "make install" to generate the true snmpd > master agent executable, otherwise I thought the "snmpd" was just a script. Kapil is installing a subtly different file, which is the actual binary. > I always perform

Re: Running Net-SNMP on embedded MIPS platform

2007-07-26 Thread Need Help
file snmpAgent.cpp containing routines to handle SNMP traps, to create snmpAgent.o. 2. I compile nstAgentPluginObject.cpp to create nstAgentPluginObject.o 3. I compile nstAgentPluginObject.o and snmpAgent.o to create shared object libnstAgentPluginObject.so 4. I copy libnstAgentPluginObject.so to my target (for

Re: Running Net-SNMP on embedded MIPS platform

2007-07-25 Thread Kapil Sharma
And this time I tried after keeping in Unix and Callbacks in transports (in configure), and I didn't get the previous error (in bold). # snmpd -V -f -L -Ddlmod -c snmpd.conf udp:161 registered debug token dlmod, 1 getaddrinfo: public Name or service not known snmpd: create_trap_session: snmpd.con

Re: Running Net-SNMP on embedded MIPS platform

2007-07-25 Thread Kapil Sharma
You meant, at the end of the snmpd command line? This is what happened: # snmpd -V -f -L -Ddlmod -c snmpd.conf udp:161 registered debug token dlmod, 1 getaddrinfo: public Name or service not known snmpd: create_trap_session: snmpd.conf: line 71: Error: cannot create trapsink: public snmpd.conf: li

Re: Running Net-SNMP on embedded MIPS platform

2007-07-25 Thread Thomas Anders
Kapil Sharma wrote: > 1. ./configure --host=x86-linux --target=mips-linux > --with-cc=mips-linux-uclibc-gcc-3.3.6 --with-ar=mips-linux-ar > --with-endianness=big --disable-debugging --enable-mini-agent > --without-kmem-usage --disable-mib-loading --disable-applications > --disable-manuals --dis

  1   2   >