why snmpd agent processing proc entries

2013-02-27 Thread Pal Suri
While trying to understand the performance characteristics of snmpd agent, noticed agent was trying to open /proc/stat, /proc/vmstat pretty often and spend time processing it. This was observed even when no external management requests were sent causing us wondering what could be triggering these a

net-snmp causes a core dump during snmp_shutdown

2013-02-27 Thread Ashik Ratnani
Hi All, I am a software developer for Solaris. One of the daemons in solaris, which uses libnetsnmp-5.4.1, gets a coredump during shutdown of the daemon. Following is the stack trace: libumem.so.1'umem_err_recoverable+0x42 libumem.so.1'process_free+0xe6 libumem.so.1'free+0x1e libnetsnmp.so.15.1.0

NetSNMP::agent

2013-02-27 Thread Boris Sitsker
Dear Net-snmp-users mailing list! Thank you so much for making this wonderful module. I'm currently trying to use this module in non-AgentX mode, that is, I would like to be able to run the SNMP agent off another port. Unfortunately, I'm running into an issue on non-AgentX mode. Either snmpwalk,

Re: snmpd failure when specifying agentaddress in snmpd.conf

2013-02-27 Thread Sudhanshu Rajvaidya
Tried udp:161 and it fails similarly. I have attached relevant debug logs from this run if that helps. On Wed, Feb 27, 2013 at 6:49 AM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > Sudhanshu Rajvaidya writes: > > > I am seeing strange failure while specifying "agentaddress 161" in > >

RE: behavior of TRAPs and INFORMs when network is down or server restarts

2013-02-27 Thread Todd Bradley
Thank you very much for the explanation. It was exactly what I wanted. Cheers, Todd. -Original Message- From: Wes Hardaker [mailto:harda...@users.sourceforge.net] Sent: Wednesday, February 27, 2013 7:53 AM To: Todd Bradley Cc: net-snmp-users@lists.sourceforge.net Subject: Re: behavior o

Re: snmp target address problem

2013-02-27 Thread Wes Hardaker
MANSOUR NASERI writes: > snmpTargetAddrStorageType--->readOnly(5) ... > after I set all of them , return an error that I can not write > snmpTargetAddrStorageType >readOnly(5) 1) You can't set a row to readOnly. The readOnly status means it came from a config file. You'd want to se

Re: Process Monitoring on Windows

2013-02-27 Thread Wes Hardaker
writes: > In which case, both prCount is indicating an ambiguous Integer value of > -1 for these processes and prErrorFlag is indicating Integer 0 for no > Error when these processes are not running. I know I can access the > Windows Host Resources MIB since I can access the hrSWRunTable MIB > Ob

Re: Regarding SysUpTime on LINUX

2013-02-27 Thread Pete Snmp
Thanks for that. But , what I am looking for is computing the sysUpTime in Linux. Any API? From: Wes Hardaker To: Pete Snmp Cc: "d.t.shi...@liverpool.ac.uk" ; "net-snmp-users@lists.sourceforge.net" Sent: Wednesday, February 27, 2013 2:48 PM Subject: Re:

Re: behavior of TRAPs and INFORMs when network is down or server restarts

2013-02-27 Thread Wes Hardaker
Todd Bradley writes: > First, what is supposed to happen when snmpd is unable to send a TRAP > due to the network interface being down? There is nothing it can do; it doesn't queue traps until they can be sent (because though it might be able to tell about it's own interface, it certainly can't

Re: snmpd failure when specifying agentaddress in snmpd.conf

2013-02-27 Thread Wes Hardaker
Sudhanshu Rajvaidya writes: > I am seeing strange failure while specifying "agentaddress 161" in > snmpd.conf. If I comment out the line in snmpd.conf, snmpd comes up fine. > Following are the snippet from failure and success logs, respectively. Have you tried "udp:161"? -- Wes Hardaker SPARTA,

Re: Regarding SysUpTime on LINUX

2013-02-27 Thread Wes Hardaker
Pete Snmp writes: > Any suggestions on how to compute the sysUpTime on Linux? > I beleive this is Agent uptime than 'System'. SNMPv2-MIB::sysUpTime is indeed the uptime of the agent: DESCRIPTION "The time (in hundredths of a second) since the network management portion of the sy

Re: Strange error when starting snmpd from systemd

2013-02-27 Thread Måns Zigher
Hi again, I found the error it was apparently my fault, systemd displays the last log of the previous failed snmp start in which I had managed to copy the temporary wrapper script for .libs/snmpd instead of the binary file. After I managed to copy the right file over and enable the snmpd service o

Regarding SysUpTime on LINUX

2013-02-27 Thread Pete Snmp
Hi, Any suggestions on how to compute the sysUpTime on Linux? I beleive this is Agent uptime than 'System'. Appreciate your response. Regards, Pete-- Everyone hates slow websites. So do we. Make your web apps faster with