Re: problem relating snmpd.conf in View base access control model

2006-09-26 Thread bhushan
hello , Thanks for replying me .i have tried this configuration but one more problem has camewhen i restart snmpd after applying new configuration (as u said) it will display only only my required info but when i am trying to execute same snmpwalk multiple times command it says Timeout:No

Re: Getnext Implementation

2006-09-26 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to implement snmpgetnext even the agent does not contain the data. For example in a table where row can be created how it is possible to know the next index? The agent is reporting on the information that it knows about -

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
Hi Dev, Many thanks for your response. But my problem is little different. Suppose we have one table having indexs data type as integer. Suppose it has three rows with index 1, 2, 3. But the info about the rows are not stored in the index .It is stored in the data base. Now if some query

Re: extend monitor and trap problem

2006-09-26 Thread Dave Shield
On 13/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: At the moment I'm interested in using extend/monitor directives in snmpd.conf to send a trap. extend mytest /bin/sh /home/alberto/mytest monitor -u pippo -r 3 mymon nsExtendResult.\mytest\ != 0 trace: mteTrigger_run():

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, September 26, 2006 2:22 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getnext Implementation On 26/09/06,

Re: Getnext Implementation

2006-09-26 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Suppose we have one table having index's data type as integer. Suppose it has three rows with index 1, 2, 3. Then the agent needs to know this. Not just what the syntax of the indexing is, but what the currently valid indexes actually are.

Re: How to send notifications from applications

2006-09-26 Thread Dave Shield
On 26/09/06, Jose Jurado [EMAIL PROTECTED] wrote: I have to program a C library to let several applications notify their error codes and warnings to a central SNM. I want some features to be performed: - The library must be multi-platform. (just Linux and Windows) - The notifications

How to send notifications from applications

2006-09-26 Thread Jose Jurado
Hello community. Im Jose Jurado, from Spain. I have to program a C library to let several applications notify their error codes and warnings to a central SNM. I want some features to be performed: - The library must be multi-platform. (just Linux and Windows) - The notifications

CACHE_DONT_INVALIDATE_ON_SET problem

2006-09-26 Thread Alon Marx
Hi all, For my table I'm using mib2c with mfd configuration and the cached-container option. I found out that in the XXX_container_init routine the NETSNMP_CACHE_DONT_INVALIDATE_ON_SET is set. In my case I do want to invalidate the cache when a new value is set (information for some columns is

RE: How to send notifications from applications

2006-09-26 Thread Jose Jurado
-Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Dave Shield Enviado el: martes, 26 de septiembre de 2006 10:25 Para: Jose Jurado CC: net-snmp-users@lists.sourceforge.net Asunto: Re: How to send notifications from applications On 26/09/06, Jose Jurado

Re: Getnext Implementation

2006-09-26 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The table does not have any row initially .The user need to create the row . How? Via an SNMP SET command? Or via some other control mechanism? The table may be created by another agent (for example http agent) Ok - so that's external

GETNEXT doubt

2006-09-26 Thread somenath.pal
Hi ALL, I have a doubt regarding GETNEXT in snmpv3. Suppose we have three tables T1, T2, T3 they are in lexicographic order. Table T1 and T3 are in same view and T2 in different view. Now for GETNEXT in the last row, last column of table T1 should the agent return error or first

problem relating snmpd.conf in View base access control model

2006-09-26 Thread bhushan
hello friends , i need to show only specific mib2 info when i will do snmpwalk . so i configure my vacm in snmpd.conf as follows i want to show mib2 for following OID only 1.3.6.1.2.1.1 to 1.3.6.1.2.1.11 so what MASK i need to set in view all included .1.3.6.1.2.1 [MASK] so that i can see

problem relating snmpd.conf in View base access control model

2006-09-26 Thread bhushan
hello friends , i need to show only specific mib2 info when i will do snmpwalk . so i configure my vacm in snmpd.conf as follows i want to show mib2 for following OID only 1.3.6.1.2.1 # sec.name source communitycom2sec local localhost publiccom2sec mynetwork 192.168.0.0/16 public #

Re: problem relating snmpd.conf in View base access control model

2006-09-26 Thread Dave Shield
On 26/09/06, bhushan [EMAIL PROTECTED] wrote i want to show mib2 for following OID only 1.3.6.1.2.1.1 to1.3.6.1.2.1.11 so what MASK i need to set in view all included .1.3.6.1.2.1[MASK] so that i can see only specified OID only .. MASK is not really the answer

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, September 26, 2006 3:04 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getnext Implementation On 26/09/06,

problem relating snmpd.conf in View base access control model

2006-09-26 Thread bhushan
hello friends , i need to show only specific mib2 info when i will do snmpwalk . so i configure my vacm in snmpd.conf as follows i want to show mib2 for following OID only 1.3.6.1.2.1.1 to 1.3.6.1.2.1.11 so what MASK i need to set in view all included .1.3.6.1.2.1 [MASK] so that i can see

Net-SNMP API C++

2006-09-26 Thread Jose Jurado
Can I use the Net-SNMP API libraries from C++ code? Concretely, I want to write a sub-agent demon in C++, which calls the send_v2trap method. Is that possible ?? Thanks. Jose. - Take Surveys. Earn Cash. Influence the

RE: Net-SNMP API C++

2006-09-26 Thread Makavy, Erez (Erez)
yeah, no problem. works for me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Jurado Sent: Tuesday, September 26, 2006 7:08 PM To: net-snmp-users@lists.sourceforge.net Subject: Net-SNMP API C++ Can I use the Net-SNMP API libraries from C++ code?

Agent confusion.

2006-09-26 Thread John Anderson
Greetings, Im writing an SNMP agent for some MySQL statistics. After reading the tutorials and looking at the list archives, Im still a little confused on a couple of points. Im hoping some of you can help clear this up for me. I figured out how to write the MIB file and Im able to

Re: problem relating snmpd.conf in View base access control model

2006-09-26 Thread bhushan
hello friends,Thanks for replying to my last question .i have done like u said my things r working properlywhen i do snmpwalk it will show all my required MIB-2data .but one more problem i am facing that is i am able to do snmpwalk for v1 , V2c properlybut when i doing snmpwalk for V3 like

monitor in solaris

2006-09-26 Thread Ravi S M
Hi all I found from README.solaris that monitor token does not work, please provide some information if I am correct. since I am also using same. Ravi