Does iterator work for tables with two indices

2007-09-17 Thread kolakalurikrishna.chaitanya
Hi, Does iterator work for tables with two indices? Example table mib. | | +--mVgSipDnsServerTable(6) | | | | | | | +--mVgSipDnsServerEntry(1) | | | | Index: mVgSipDnsServerIPAddressType, mVgSipDnsServer

Which configuration file should be used with mib2c ???

2007-09-17 Thread dhannya.chandran
Hi, I am working on a VTP ( extend Net-SNMP support for IEEE 802.11 MIB) . The Approch document is given below . **

cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-17 Thread dns admin
Hey! I just built up Net-SNMP r16702 from scratch. Everything went OK, no problems: snmpd --version NET-SNMP version: 5.4.1 Web: http://www.net-snmp.org/ Email: [EMAIL PROTECTED] Right after the build, I checked for the Perl module: module_info SNMP Name:

RE: Inform Handling

2007-09-17 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Steve Kittleson > Sent: Monday, September 17, 2007 2:01 PM > Can someone point me to documentation or explain how informs > are handled by the agent? Does the agent handle the necessary > retries and timeouts or does each in

RE: Truncation of trap by snmptrapd with DisplayString ending in null

2007-09-17 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dave Shield > Sent: Monday, September 17, 2007 1:02 AM > Now it could be argued that snmptrapd should be able to handle > embedded null characters, and display them sensibly. But in > practise, NUL is not a character that you

RE: I am a factory.how to manage the snmp production in wan?

2007-09-17 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of goon863 > Sent: Friday, September 14, 2007 6:31 PM > Our productions have snmp funtion.I want to manage them with > snmp,know their situations(on line or not).But they are in > wan,we just have their ddns name.is there any

Inform Handling

2007-09-17 Thread Steve Kittleson
Hi, Can someone point me to documentation or explain how informs are handled by the agent? Does the agent handle the necessary retries and timeouts or does each individual mib writer have to do that for each mib that sends informs? Specifically, how are the timeout and retrycount in the TargetAddr

R: Table get is slow

2007-09-17 Thread DI BACCO ANTONIO - technolabs
I'm using table iterator adn my subagent is written in C++. Bye. Da: Erik Haagsman [mailto:[EMAIL PROTECTED] Inviato: lun 17/09/2007 15.49 A: DI BACCO ANTONIO - technolabs Cc: net-snmp-users@lists.sourceforge.net Oggetto: Re: Table get is slow In what program

Can't set entry in Notification-MIB

2007-09-17 Thread Steve Kittleson
Hello, I'm trying to createAndWait an entry in the Notify Table of the Notification-MIB. I keep getting errors like it won't let me write to that table. My snmpset is run from the same host that the agent is running on. In snmpd.conf I have tried the following lines: rwcommunity private rwcommuni

RE: example program does not compile

2007-09-17 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Devvrat Tripathi > Sent: Saturday, September 15, 2007 9:00 AM > I just installed the net-snmp package. Since this is the > first time i am using this package i tried to run the example > program given at the net snmp site. W

Host monitoring and trap sending

2007-09-17 Thread Mateus Interciso
Hello I'm trying to monitor some hosts that are behind the switch, and send traps over the internet, in an external host. The SNMP daemon is ON the switch (it's a linux box with NET-SNMP 5.4). The question is: 1)Do I need a custom MIB for this? 2)If yes, then how do I make one? Do you guys have a

problems with process monitoring under WindowsXP

2007-09-17 Thread [EMAIL PROTECTED]
Hi all. I have a problem controlling the state of a process under Windows XP. I want to monitor the process "firefox" (this is an example) through "snmpget -v 2c -c public localhost prErrorFlag.1", after having modified snmpd.conf with "proc firefox". Now, when i send my get request and firef

Re: Table get is slow

2007-09-17 Thread Erik Haagsman
In what programming language and through what hook/API are you making and using the subagent..? On Fri, 2007-09-14 at 20:16 +0200, DI BACCO ANTONIO - technolabs wrote: > I found that getting tables managed by my subagent is really slow, > asking a particular column of a row involves iterating over

Logging

2007-09-17 Thread Gabi Mahu
Hello all, I have a small application that initializes an agent, checks for some parameter values and if these values are in a some "bad" limits, sends some traps. Because I have some problems with the connection with the master agent, some kind of log , from the agent side, would be very helpf

RE: How to create row for a table having two indices.

2007-09-17 Thread kolakalurikrishna.chaitanya
Hi Dave, I have one more problem. After giving the command 'snmpset -c public 127.0.0.1 mVgSipDnsServerRowStatus.1.\"1.1.1.1\" i 4' the corresponding row is getting created. But when I am giving the following command 'snmpset -c public 127.0.0.1 mVgSipDnsServerPriority.1.\"

RE: How to create row for a table having two indices.

2007-09-17 Thread kolakalurikrishna.chaitanya
Hi Dave, Thank you very much dave. That solved my problem of accessing the second index. After giving the command 'snmpset -c public 127.0.0.1 mVgSipDnsServerRowStatus.1.\"1.1.1.1\" i 4' the corresponding row is getting created. But when I am giving the following

Re: Truncation of trap by snmptrapd with DisplayString ending in null

2007-09-17 Thread Dave Shield
On 16/09/2007, Jason Baekey <[EMAIL PROTECTED]> wrote: > I'm not sure whether this is a problem with snmptrapd or with the > agent/mib declaration of the vendor. > sessionUserName OBJECT-TYPE > SYNTAX DisplayString (SIZE (0..31)) > MAX-ACCESS read-only > STATUS

Truncation of trap by snmptrapd with DisplayString ending in null

2007-09-17 Thread Jason Baekey
Hell Everyone, I'm not sure whether this is a problem with snmptrapd or with the agent/mib declaration of the vendor. I am receiving a trap with the defined in the following MIB excerpt: [Removed for clarity] sessionAuthenticationTrap NOTIFICATION-TYPE OBJECTS { sessio

Re: How to create row for a table having two indices.

2007-09-17 Thread Dave Shield
On 17/09/2007, <[EMAIL PROTECTED]> wrote: > I have generated the code for the table using iterator helper. After > receiving the request I am not able to receive the ipaddress passed by the > snmpset command in > > Table_info->indexes but I am able to receive the ipaddresstype i.e '1'. The first s

Re: How to create row for a table having two indices.

2007-09-17 Thread kolakalurikrishna.chaitanya
Hi, After googling I could find that I will be able to create the row using snmpset -c public 127.0.0.1 mVgSipDnsServerRowStatus.1.\"1.1.1.1\" i 4. I have generated the code for the table using iterator helper. After receiving the request I am not able to receive the ipaddress passed by t