dsktable monitoring

2006-09-21 Thread sailaja.banda
Hi All,   We are monitoring dsktable usage using Net-SNMP Agent - 5.3.1   We have added the following entries to the SNMP conf file: snmpd.conf   disk /  25% monitor -u test1-r 600 -o dskPath -o dskErrorMsg "dskTable" dskErrorFlag != 0   So if the free space on the root partition falls bel

Deleting all the rows in a table

2006-09-21 Thread RUCHIR MALHOTRA
Hi,   I would like to know if netsnmp 5.3.0.1 has a function which can be called to delete all the rows in a table. Else, if there is a function which can be called by the code in a loop which deletes all the rows in the table, and checks for the end of the table itself.   Thanks, Ruchir St

SNMPD crash

2006-09-21 Thread Kurapati M-G19456
Hello list,   We are seeing the following crash in NET-SNMP-5.2.2 for SNMPD. Looks like, SNMPD is trying to access freed reginfo, as part of servicing the delegated request when SubAgent is dead.   Following is the core for the same.  (gdb) bt#0  netsnmp_call_handlers (reginfo=0x14300101

Re: net-snmp with perl on AIX

2006-09-21 Thread Thomas Anders
Brian Loe wrote: > On 9/19/06, Thomas Anders <[EMAIL PROTECTED]> wrote: > >> Is "cc_r" in your PATH (it should be)? What does "perl -V" report? > > Its not in my path, and "find /* | grep cc_r" doesn't find it anywhere?!! So it looks as if you *don't* have the IBM C compiler installed, but try t

Re: Frequency of ifOutOctets stats???

2006-09-21 Thread Dave Shield
On 21/09/06, Ali Al-Shabibi <[EMAIL PROTECTED]> wrote: > It was more on the grounds of would Net-SNMP cache incoming data when it is > used as a client. No. The Net-SNMP client tools don't do any caching. They simply report whatever information is supplied by the agent. > I ask this bec

Re: Prebuilt Solaris Binaries for 5.2 or 5.3 series

2006-09-21 Thread Thomas Anders
James Mckenzie wrote: > Due to an issue with monitoring I would like to update the version of NetSNMP > that we are using. I would like to move to either the 5.2 or 5.3 tree using > pre-built binaries, if they are available for Solaris 9. > > I have searched the 'net and could not find them, bu

Re: Frequency of ifOutOctets stats???

2006-09-21 Thread Ali Al-Shabibi
Hello, My question was not really directed at any particular architecture. It was more on the grounds of would Net-SNMP cache incoming data when it is used as a client. I ask this because we have developed a high speed poller (frequency <1Hz) and switches do not seem to

Re: exec question

2006-09-21 Thread Dave Shield
On 20/09/06, danny zhong <[EMAIL PROTECTED]> wrote: > so what i need to do is just put all the starting and > stoping script in the /etc/init.h/ Write a script that will start/stop the daemons appropriately - yes. It doesn't actually matter where you put this script. I'm suggesting that you use t

Re: MAX-ACCESS values

2006-09-21 Thread Dave Shield
On 18/09/06, Alon Marx <[EMAIL PROTECTED]> wrote: > In a table definition, what should the MAX-ACCESS values be for regular > columns (not indexes and not rowstatus)? Should it be read-write or > read-create? Depends on the table. If you can create new rows in the table via SNMP SET requests, then

Re: Table iterator

2006-09-21 Thread Dave Shield
On 17/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote: > So do the queries get serialized (one serviced at a time)? Mostly, yes. I believe that "delegated" GET* requests (including those passed on to subagents) can be processed in parallel. But any request handled by the main agent (and all SET

Re: Master agent and distributed sub agents

2006-09-21 Thread Dave Shield
On 14/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > If we have several sub agents running on different machines: > - is it possible to have only one master agent? how to achieve that? > - or must we launch a master agent on each machine? No - it's quite feasible to have a single master agent,

Re: Frequency of ifOutOctets stats???

2006-09-21 Thread Dave Shield
On 13/09/06, Ali Al-Shabibi <[EMAIL PROTECTED]> wrote: > Is this also the case when polling switches? or only when Net-SNMP is > the agent? It depends on the agent running on that box. Without knowing what hardware you're referring to (and what software it runs), it's impossible to answer that que

Re: Traps duplicated by SNMPD

2006-09-21 Thread Dave Shield
On 02/09/06, Alexander Hartner <[EMAIL PROTECTED]> wrote: > Every timeI restarted SNMPD I received a number of traps twice. The most likely cause of that would be duplicated config entries. Is it *all* traps that are repeated, or just selected ones? If all traps (including startup/shutdown traps

Re: I'm confused about xupsTrapBasic

2006-09-21 Thread Dave Shield
Sorry for the delay in responding to this. On 25/08/06, Christopher Fowler <[EMAIL PROTECTED]> wrote: > I'm confused about the OID that is sent with 'xupstbControlOff' > > Here is a section from the MIB: [snip] You may have better luck talking to the people who designed this MIB. It feels a l

Re: SNMP Agent on Windows CE

2006-09-21 Thread Thomas Anders
Acon Cheung, Alex William wrote: > Hi. Does the SNMP Agent run on Windows CE 5? I could use any recommendations > on how to get it working. > > I performed a search on this topic in the mail archive and found that in > 02/2004 Mike Slifcak issued a survey on the use of Net-SNMP on windows > pl

Re: Regarding snmpwalk

2006-09-21 Thread Thomas Anders
Ravi S M wrote: > As I want to monitor free radius server daemon I did the following > changes in snmpd.conf by referring snmpd.conf(5) > > proc radiusd 1 1 > > monitor -r 30 -i -o prNames.1 -o prErrMessage.1 "Process radiusd" > prErrorFlag.1 !=0 > > monitor -r 30 -i -o prNames.2

Re: about rouser internal ?

2006-09-21 Thread Leo Lei
Leo Lei£º add on. === 2006-09-21 17:26:04 === > when usm, the username is identity to the security name, from usm rfc: " The default transformation of the User-based Security Model dependent security ID to the securityName and

Re: Re: about rouser internal ?

2006-09-21 Thread Leo Lei
Dave Shield£º yeah, it really does work, thank you! === 2006-09-21 16:11:11 === >Where did "private" come from? i had thought the security name is independent from the USM dependent username, so i construct one from the scratch >Because you haven't defined the user "nssro"

Re: Compilation Problem with 5.3.1

2006-09-21 Thread Thomas Anders
Amit Gupta wrote: > Thanks for the response. I could move forward but still not able > to complete it, You didn't answer all of my questions which make it hard to help. Again: - What distro is this? - Are you using the same compiler (which version?) that has been used to compile perl (you should

Re: about rouser internal ?

2006-09-21 Thread Dave Shield
On 21/09/06, Leo Lei <[EMAIL PROTECTED]> wrote: > rwcommunity nssrw > i can snmpwak the snmpUsmMIB and snmpVacmMIB using the following command: > snmpwalk -v 2c -c nssrw localhost snmpUsmMIB That's because of the the "rwcommunity" directive above. > createUser

Re: Regarding snmpwalk

2006-09-21 Thread Dave Shield
On 21/09/06, Ravi S M <[EMAIL PROTECTED]> wrote: > When I Run > snmpget -v 1 -c whatever localhost sysUpTime.0 > snmpwalk -v 2c -c whatever -m ALL localhost .1.3 | more > I am getting -> Timeout: No Response from localhost > > Please suggest on this... I suggest you read the FAQ entry: Reques

RE: Agentx session to master agent attempted to be re-opened.

2006-09-21 Thread Pamidipati Suresh-G20238
Title: Message All,   We observed the following message in Net-snmp-5.2.2 subagent also. "Agentx session to master agent attempted to be re-opened." We observed that there is a memory leak in subagent when agentx_send_ping() function returns failure, it is not calling the function remove_

about rouser internal ?

2006-09-21 Thread Leo Lei
hi, using net-snmp-5.3.0.1 configuration in snmpd.conf: rouser nssro createUser nssro MD5 authpass with that configuration, i can snmpwalk the snmpVacmMIB and snmpUsmMIB using the SNMPv3 user nssro, as the following: snmpwal