Getting OID type value

2012-08-29 Thread C Chiranjeevi
Hi All, I am replacing an existing SNMP system from TCL Scotty to NetSNMP. As a part of it, I am planning to write a TCL interface over NetSNMP. There are few commands in Scotty, for which I am not able to find any SNMP equivalent API Ex: * To get syntax/Type of a particular

help

2012-08-29 Thread C Chiranjeevi
I am replacing an existing SNMP system from TCL Scotty to NetSNMP. As a part of it, I am planning to write a TCL interface over NetSNMP. There are few commands in Scotty, for which I am not able to find any SNMP equivalent API Ex: To get syntax/Type of a particular OID field mib

Getting OID syntax type and ASN type

2012-08-29 Thread C Chiranjeevi
Hi All, I am replacing an existing SNMP system from TCL Scotty to NetSNMP. As a part of it, I am planning to write a TCL interface over NetSNMP. There are few commands in Scotty, for which I am not able to find any SNMP equivalent API Ex: * To get syntax/Type of a particular

Re: Getting OID syntax type and ASN type

2012-08-29 Thread Niels Baggesen
On Wed, Aug 29, 2012 at 11:29:29AM +0530, C Chiranjeevi wrote: I am replacing an existing SNMP system from TCL Scotty to NetSNMP. As a part of it, I am planning to write a TCL interface over NetSNMP. There are few commands in Scotty, for which I am not able to find any SNMP equivalent API

need Trap function help

2012-08-29 Thread Jatin Bodarya
Below there are two functions are given for generating traps, I want to pass an integer argument eg. highCpuUsage .so that I can send value of this variable in a trap.How can I pass such arguments in below send_highCpuUsage_trap function ? Thanks in advance, Jatin. void cpu() {

Re: CFV: Handle TimeTicks when pretty-printing OID (patch 3560473)

2012-08-29 Thread Bill Fenner
Personally I would argue that it's a bug that strings in the OID are printed as numbers. While handling of TimeTicks is new, it is the most straightforward way to fix the bug of printing strings as numbers. Bill On Aug 28, 2012, at 7:46 PM, Wes Hardaker harda...@users.sourceforge.net

Re: CFV: Handle TimeTicks when pretty-printing OID (patch 3560473)

2012-08-29 Thread Bill Fenner
On Aug 29, 2012, at 1:31 AM, Niels Baggesen n...@users.sourceforge.net wrote: Den 29-08-2012 01:46, Wes Hardaker skrev: Well, I was just about to add a +1 and apply it... But there is one problem, it's a new feature technically... No, it adds a case that was forgotten in the original

Re: CFV: Add missing process status values (Net/Open-BSD)

2012-08-29 Thread Niels Baggesen
Den 29-08-2012 07:29, Niels Baggesen skrev: Den 29-08-2012 02:13, Wes Hardaker skrev: Niels Baggesen n...@users.sourceforge.net writes: The attached patch completes the conversion of process status for hrSWRunTable with some missing values Can you apply that and I'll publish rc2 tomorrow?