Hello List,
I am implementing the MIB table using mib2c table_data.conf . Please see
the attached files for MIB, kencast.c and debug output.
When I do the snmpwalk / snmptable it seems to work initially and then
after some time genError comes up as below and subagent dies.
Please advise.
Thanks,
Sonika
snmpwalk -v 2c -c public localhost SNMPv2-SMI::enterprises.4282.13.2
SNMPv2-SMI::enterprises.4282.13.2.1.2.0 = ""
SNMPv2-SMI::enterprises.4282.13.2.1.2.1 = ""
SNMPv2-SMI::enterprises.4282.13.2.1.3.0 = INTEGER: 1
SNMPv2-SMI::enterprises.4282.13.2.1.3.1 = INTEGER: 1
SNMPv2-SMI::enterprises.4282.13.2.1.4.0 = Gauge32: 0
SNMPv2-SMI::enterprises.4282.13.2.1.4.1 = Gauge32: 0
SNMPv2-SMI::enterprises.4282.13.2.1.5.0 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.5.1 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.6.0 = INTEGER: 100
SNMPv2-SMI::enterprises.4282.13.2.1.6.1 = INTEGER: 100
SNMPv2-SMI::enterprises.4282.13.2.1.7.0 = INTEGER: 32603
SNMPv2-SMI::enterprises.4282.13.2.1.7.1 = INTEGER: 32603
SNMPv2-SMI::enterprises.4282.13.2.1.8.0 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.8.1 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.9.0 = INTEGER: 2
SNMPv2-SMI::enterprises.4282.13.2.1.9.1 = INTEGER: 2
SNMPv2-SMI::enterprises.4282.13.2.1.10.0 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.10.1 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.11.0 = INTEGER: 3339000
SNMPv2-SMI::enterprises.4282.13.2.1.11.1 = INTEGER: 47093000
[root@localhost ~]#
[root@localhost ~]# date
Thu Jul 11 09:26:03 PDT 2013
[root@localhost ~]# snmpwalk -v 2c -c public localhost
SNMPv2-SMI::enterprises.4282.13.2
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::enterprises.4282.13.2
SNMPv2-SMI::enterprises.4282.13.2 = No Such Object available on this agent
at this OID
KENCAST-DVB-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises,
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Unsigned32
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC;
kencast MODULE-IDENTITY
LAST-UPDATED "201306242047Z" -- Jun 24, 2013 8:47:00 PM
ORGANIZATION ""
CONTACT-INFO
""
DESCRIPTION
""
REVISION "201306242047Z" -- Jun 24, 2013 8:47:00 PM
DESCRIPTION
"Initial version."
-- 1.3.6.1.4.1.4282
::= { enterprises 4282 }
-- Scalars and Tables
--
kencastDVB OBJECT IDENTIFIER
-- 1.3.6.1.4.1.4282.13
::= { kencast 13 }
dvbNumberOfInputs OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of DVB S2 Inputs available on the device"
-- 1.3.6.1.4.1.4282.13.1
::= { kencastDVB 1 }
dvbTable OBJECT-TYPE
SYNTAX SEQUENCE OF DvbEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
-- 1.3.6.1.4.1.4282.13.2
::= { kencastDVB 2 }
dvbEntry OBJECT-TYPE
SYNTAX DvbEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
""
INDEX {
dIndex }
-- 1.3.6.1.4.1.4282.13.2.1
::= { dvbTable 1 }
DvbEntry ::= SEQUENCE {
dIndex Integer32,
dName DisplayString,
dStatus INTEGER,
dSignal Integer32,
dSNR Integer32,
dBER Integer32,
dUNC Integer32,
dFrequency Unsigned32,
dModulation INTEGER,
dFecInner INTEGER,
dSymbolRate Integer32
}
dIndex OBJECT-TYPE
SYNTAX Integer32 (0..50)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Index"
-- 1.3.6.1.4.1.4282.13.2.1.1
::= { dvbEntry 1 }
dName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Name / Description"
-- 1.3.6.1.4.1.4282.13.2.1.2
::= { dvbEntry 2 }
dStatus OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Status
lock 0 -> System is okay
no_lock 1
error 2"
-- 1.3.6.1.4.1.4282.13.2.1.3 --
-- 1.3.6.1.4.1.4282.13.2.1.3
::= { dvbEntry 3 }
dSignal OBJECT-TYPE
SYNTAX Integer32
UNITS
"Percent"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Signal Strength"
-- 1.3.6.1.4.1.4282.13.2.1.4
::= { dvbEntry 4 }
dSNR OBJECT-TYPE
SYNTAX Integer32
UNITS
"Percent"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"SNR (Signal to Noise Ratio) of received signal"
-- 1.3.6.1.4.1.4282.13.2.1.5
::= { dvbEntry 5 }
dBER OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"BER"
-- 1.3.6.1.4.1.4282.13.2.1.6
::= { dvbEntry 6 }
dUNC OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"UNC"
-- 1.3.6.1.4.1.4282.13.2.1.7
::= { dvbEntry 7 }
dFrequency OBJECT-TYPE
SYNTAX Unsigned32 (950000000..2150000000)
UNITS
"Hz"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Tuned carrier Frequency in Hz"
-- 1.3.6.1.4.1.4282.13.2.1.8
::= { dvbEntry 8 }
dModulation OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Modulation
0 QPSK
1 8PSK
2 APSK16
3 APSK32
"
-- 1.3.6.1.4.1.4282.13.2.1.9
::= { dvbEntry 9 }
dFecInner OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Fec Inner "
-- 1.3.6.1.4.1.4282.13.2.1.10
::= { dvbEntry 10 }
dSymbolRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Symbol Rate"
-- 1.3.6.1.4.1.4282.13.2.1.11
::= { dvbEntry 11 }
END
/*
* Note: this file originally auto-generated by mib2c using
* : mib2c.table_data.conf 17695 2009-07-21 12:22:18Z dts12 $
*/
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include <net-snmp/library/tools.h>
#include <net-snmp/agent/cache_handler.h>
#include <net-snmp/agent/table_tdata.h>
#include "kencast.h"
#include <dirent.h>
// Add Sonika header files
#include <linux/dvb/frontend.h> /* DVB */
#include <linux/dvb/dmx.h>
#include <linux/dvb/audio.h>
#include <linux/dvb/version.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/param.h>
#include <fcntl.h> /*open()*/
#include <unistd.h> /*close()*/
#define NNN 50
netsnmp_tdata_row *dvbTable_createEntry(netsnmp_tdata *table_data, long dIndex ) ;
struct dvbTable_entry {
/* Index values */
long dIndex;
/* Column values */
char dName[NNN];
size_t dName_len;
long dStatus;
u_long dFrequency;
long dSignal;
long dSNR;
long dBER;
long dUNC;
long dModulation;
long dFecInner;
long dSymbolRate;
int valid;
};
struct dvbTable_entry *entry;
int listdir(const char *name, int level)
{
DIR *dir;
struct dirent *item;
int fenumber = 0 ;
if (!(dir = opendir(name)))
return 1;
if (!(item = readdir(dir)))
return 1;
do {
if (item->d_type == DT_DIR) {
char path[1024];
int len = snprintf(path, sizeof(path)-1, "%s/%s", name, item->d_name);
path[len] = 0;
if (strcmp(item->d_name, ".") == 0 || strcmp(item->d_name, "..") == 0)
continue;
//printf("%*s[%s]\n", level*2, "", item->d_name);
listdir(path, level + 1);
if (strstr(item->d_name,"adapter") != 0) { fenumber+=1; }
}
} while (item = readdir(dir));
closedir(dir);
return (fenumber);
}
/** Initializes the kencast module */
void
init_kencast(void)
{
/* here we initialize all the tables we're planning on supporting */
initialize_table_dvbTable();
printf("I am in init\n");
}
/** Initialize the dvbTable table by defining its contents and how it's structured */
void
initialize_table_dvbTable(void)
{
oid dvbTable_oid[] = {1,3,6,1,4,1,4282,13,2};
size_t dvbTable_oid_len = OID_LENGTH(dvbTable_oid);
netsnmp_handler_registration *reg;
netsnmp_tdata *table_data;
netsnmp_table_registration_info *table_info;
netsnmp_cache *cache;
DEBUGMSGTL(("kencast", "initializing table\n"));
reg = netsnmp_create_handler_registration(
"dvbTable", dvbTable_handler,
dvbTable_oid, dvbTable_oid_len,
HANDLER_CAN_RONLY
);
table_data = netsnmp_tdata_create_table( "dvbTable", 0 );
table_info = SNMP_MALLOC_TYPEDEF( netsnmp_table_registration_info );
netsnmp_table_helper_add_indexes(table_info,
ASN_INTEGER, /* index: dIndex */
0);
table_info->min_column = COLUMN_DNAME;
table_info->max_column = COLUMN_DSYMBOLRATE;
netsnmp_tdata_register( reg, table_data, table_info );
cache = netsnmp_cache_create(DVBTABLE_TIMEOUT,
dvbTable_load, dvbTable_free,
dvbTable_oid, dvbTable_oid_len);
cache->magic = (void *)table_data;
//cache->flags |= NETSNMP_CACHE_AUTO_RELOAD;
cache->flags = NETSNMP_CACHE_PRELOAD | NETSNMP_CACHE_DONT_AUTO_RELEASE;
netsnmp_inject_handler_before( reg, netsnmp_cache_handler_get(cache), TABLE_TDATA_NAME);
/* Initialise the contents of the table here */
}
/* create a new row in the table */
netsnmp_tdata_row *
dvbTable_createEntry(netsnmp_tdata *table_data
, long dIndex
) {
struct dvbTable_entry *entry;
netsnmp_tdata_row *row;
entry = SNMP_MALLOC_TYPEDEF(struct dvbTable_entry);
if (!entry)
return NULL;
row = netsnmp_tdata_create_row();
if (!row) {
SNMP_FREE(entry);
return NULL;
}
row->data = entry;
entry->dIndex = dIndex;
netsnmp_tdata_row_add_index( row, ASN_INTEGER,
&(entry->dIndex),
sizeof(entry->dIndex));
netsnmp_tdata_add_row( table_data, row );
return row;
}
/* remove a row from the table */
void
dvbTable_removeEntry(netsnmp_tdata *table_data,
netsnmp_tdata_row *row) {
struct dvbTable_entry *entry;
if (!row)
return; /* Nothing to remove */
entry = (struct dvbTable_entry *)
netsnmp_tdata_remove_and_delete_row( table_data, row );
if (entry)
SNMP_FREE( entry ); /* XXX - release any other internal resources */
}
/* Example cache handling - set up table_data list from a suitable file */
int
dvbTable_load( netsnmp_cache *cache, void *vmagic ) {
netsnmp_tdata *table = (netsnmp_tdata *)vmagic;
netsnmp_tdata_row *row;
short int i;
char fedev[128];
static int fefd ;
fe_status_t status;
uint16_t snr, signal;
uint32_t ber, uncorrected_blocks;
struct dvb_frontend_info info;
struct dvb_frontend_parameters param;
DEBUGMSGTL(("kencast", "cache load\n"));
// Add Sonika Code to read data into the table
int numadapter = 0;
// check numadapter here
numadapter = listdir("/dev/dvb",0);
DEBUGMSGTL(("kencast",
"Number of adapters found : %d \n", numadapter));
// for loop for each adapter
for (i = 0; i < numadapter; i++) {
DEBUGMSGTL(("kencast",
"I am in load handler for adapter : %d \n", i));
struct dvbTable_entry *entry;
entry = SNMP_MALLOC_TYPEDEF(struct dvbTable_entry);
snprintf(fedev, sizeof(fedev), "/dev/dvb/adapter%d/frontend0", i );
if ((fefd = open(fedev, O_RDONLY )) < 0) {
fprintf(stderr, "%s %s\n", strerror(errno),fedev);
DEBUGMSGTL(("kencast",
"Error : Open adapter %d\n", errno));
}
else {
DEBUGMSGTL(("kencast",
"Read adapter data\n"));
if (ioctl(fefd, FE_READ_STATUS, &status) == -1) {
entry->dStatus = 2;
DEBUGMSGTL(("kencast",
"ERROR FE_READ_STATUS\n"));
}
if (ioctl(fefd, FE_READ_SIGNAL_STRENGTH, &signal) == -1)
signal = -2;
if (ioctl(fefd, FE_READ_SNR, &snr) == -1)
snr = -2;
if (ioctl(fefd, FE_READ_BER, &ber) == -1)
ber = -2;
if (ioctl(fefd, FE_READ_UNCORRECTED_BLOCKS, &uncorrected_blocks) == -1)
uncorrected_blocks = -2;
if (ioctl(fefd, FE_GET_INFO, &info) == -1)
DEBUGMSGTL(("kencast",
"ERROR FE_GET_INFO\n"));
if (ioctl(fefd, FE_GET_FRONTEND, ¶m) == -1)
DEBUGMSGTL(("kencast",
"ERROR FE_GET_FRONTEND\n"));
if (status & FE_HAS_LOCK ) { entry->dStatus = 0; }
else { entry->dStatus = 1; }
strcpy(entry->dName,info.name);
entry->dIndex = i;
entry->dSignal = (signal * 100 / 0xffff);
entry->dSNR = (snr * 100 / 0xffff);
entry->dBER = ber;
entry->dUNC = uncorrected_blocks;
entry->dFrequency = param.frequency;
entry->dModulation = param.inversion;
entry->dSymbolRate = param.u.qpsk.symbol_rate;
entry->dFecInner = param.u.qpsk.fec_inner;
row = netsnmp_tdata_create_row();
row->data = entry;
netsnmp_tdata_row_add_index( row, ASN_INTEGER,
&(entry->dIndex),
sizeof(entry->dIndex));
if (table)
netsnmp_tdata_add_row( table, row );
}
}
return(SNMP_ERR_NOERROR);
}
void
dvbTable_free( netsnmp_cache *cache, void *vmagic ) {
netsnmp_tdata *table = (netsnmp_tdata *)vmagic;
netsnmp_tdata_row *this;
while ((this = netsnmp_tdata_row_first(table))) {
DEBUGMSGTL(("kencast", "cache free while\n"));
netsnmp_tdata_remove_and_delete_row(table, this);
DEBUGMSGTL(("kencast", "cache free while2\n"));
}
}
/** handles requests for the dvbTable table */
int
dvbTable_handler(
netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info *reqinfo,
netsnmp_request_info *requests) {
netsnmp_request_info *request;
netsnmp_table_request_info *table_info;
//netsnmp_tdata *table_data;
//netsnmp_tdata_row *table_row;
struct dvbTable_entry *table_entry;
//int ret;
DEBUGMSGTL(("kencast", "Processing request (%d)\n", reqinfo->mode));
switch (reqinfo->mode) {
/*
* Read-support (also covers GetNext requests)
*/
case MODE_GET:
for (request=requests; request; request=request->next) {
table_entry = (struct dvbTable_entry *)
netsnmp_tdata_extract_entry(request);
table_info = netsnmp_extract_table_info( request);
switch (table_info->colnum) {
case COLUMN_DINDEX:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dIndex);
break;
case COLUMN_DNAME:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_value( request->requestvb, ASN_OCTET_STR,
(u_char*)table_entry->dName,
table_entry->dName_len);
break;
case COLUMN_DSTATUS:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dStatus);
break;
case COLUMN_DFREQUENCY:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_UNSIGNED,
table_entry->dFrequency);
break;
case COLUMN_DSIGNAL:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dSignal);
break;
case COLUMN_DSNR:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dSNR);
break;
case COLUMN_DBER:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dBER);
break;
case COLUMN_DUNC:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dUNC);
break;
case COLUMN_DMODULATION:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dModulation);
break;
case COLUMN_DFECINNER:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dFecInner);
break;
case COLUMN_DSYMBOLRATE:
if ( !table_entry ) {
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHINSTANCE);
continue;
}
snmp_set_var_typed_integer( request->requestvb, ASN_INTEGER,
table_entry->dSymbolRate);
break;
default:
netsnmp_set_request_error(reqinfo, request,
SNMP_NOSUCHOBJECT);
break;
}
}
break;
}
return SNMP_ERR_NOERROR;
}
./mysubagent -D kencast
No log handling enabled - turning on stderr logging
registered debug token kencast, 1
kencast: initializing table
kencast: cache load
kencast: Number of adapters found : 2
kencast: I am in load handler for adapter : 0
kencast: Read adapter data
kencast: I am in load handler for adapter : 1
kencast: Read adapter data
I am in init
NET-SNMP version 5.5 AgentX subagent connected
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: Processing request (160)
kencast: cache free while
kencast: cache free while2
kencast: cache free while
kencast: cache free while2
kencast: cache load
kencast: Number of adapters found : 2
kencast: I am in load handler for adapter : 0
kencast: Read adapter data
kencast: I am in load handler for adapter : 1
kencast: Read adapter data
kencast: Processing request (160)
********************** mysubagent gets killed here
*******************************
[root@localhost ~]# snmpbulkwalk -v 2c -c public localhost
NEW-KENCAST-DVB-MIB::dvbTable
NEW-KENCAST-DVB-MIB::dName.0 = STRING:
NEW-KENCAST-DVB-MIB::dName.1 = STRING:
NEW-KENCAST-DVB-MIB::dStatus.0 = INTEGER: notlocked(1)
NEW-KENCAST-DVB-MIB::dStatus.1 = INTEGER: notlocked(1)
NEW-KENCAST-DVB-MIB::dFrequency.0 = Gauge32: 0 Hz
NEW-KENCAST-DVB-MIB::dFrequency.1 = Gauge32: 0 Hz
NEW-KENCAST-DVB-MIB::dSignal.0 = INTEGER: 0 Percent
NEW-KENCAST-DVB-MIB::dSignal.1 = INTEGER: 0 Percent
NEW-KENCAST-DVB-MIB::dSNR.0 = INTEGER: 100 Percent
NEW-KENCAST-DVB-MIB::dSNR.1 = INTEGER: 100 Percent
NEW-KENCAST-DVB-MIB::dBER.0 = INTEGER: 32603
NEW-KENCAST-DVB-MIB::dBER.1 = INTEGER: 32603
NEW-KENCAST-DVB-MIB::dUNC.0 = INTEGER: 0
NEW-KENCAST-DVB-MIB::dUNC.1 = INTEGER: 0
NEW-KENCAST-DVB-MIB::dModulation.0 = INTEGER: apsk16(2)
NEW-KENCAST-DVB-MIB::dModulation.1 = INTEGER: apsk16(2)
NEW-KENCAST-DVB-MIB::dFecInner.0 = INTEGER: 0
NEW-KENCAST-DVB-MIB::dFecInner.1 = INTEGER: 0
NEW-KENCAST-DVB-MIB::dSymbolRate.0 = INTEGER: 3339000
NEW-KENCAST-DVB-MIB::dSymbolRate.1 = INTEGER: 47093000
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# snmptable -v 2c -Ci -c public localhost
NEW-KENCAST-DVB-MIB::dvbTable
SNMP table: NEW-KENCAST-DVB-MIB::dvbTable
index dIndex dName dStatus dFrequency dSignal dSNR dBER dUNC
dModulation dFecInner dSymbolRate
0 ? notlocked 0 Hz 0 Percent 100 Percent 32603 0
apsk16 0 3339000
1 ? notlocked 0 Hz 0 Percent 100 Percent 32603 0
apsk16 0 47093000
[root@localhost ~]#
[root@localhost ~]# snmpwalk -v 2c -c public localhost
SNMPv2-SMI::enterprises.4282.13.2
SNMPv2-SMI::enterprises.4282.13.2.1.2.0 = ""
SNMPv2-SMI::enterprises.4282.13.2.1.2.1 = ""
SNMPv2-SMI::enterprises.4282.13.2.1.3.0 = INTEGER: 1
SNMPv2-SMI::enterprises.4282.13.2.1.3.1 = INTEGER: 1
SNMPv2-SMI::enterprises.4282.13.2.1.4.0 = Gauge32: 0
SNMPv2-SMI::enterprises.4282.13.2.1.4.1 = Gauge32: 0
SNMPv2-SMI::enterprises.4282.13.2.1.5.0 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.5.1 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.6.0 = INTEGER: 100
SNMPv2-SMI::enterprises.4282.13.2.1.6.1 = INTEGER: 100
SNMPv2-SMI::enterprises.4282.13.2.1.7.0 = INTEGER: 32603
SNMPv2-SMI::enterprises.4282.13.2.1.7.1 = INTEGER: 32603
SNMPv2-SMI::enterprises.4282.13.2.1.8.0 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.8.1 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.9.0 = INTEGER: 2
SNMPv2-SMI::enterprises.4282.13.2.1.9.1 = INTEGER: 2
SNMPv2-SMI::enterprises.4282.13.2.1.10.0 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.10.1 = INTEGER: 0
SNMPv2-SMI::enterprises.4282.13.2.1.11.0 = INTEGER: 3339000
SNMPv2-SMI::enterprises.4282.13.2.1.11.1 = INTEGER: 47093000
[root@localhost ~]#
[root@localhost ~]# date
Thu Jul 11 09:26:03 PDT 2013
[root@localhost ~]# snmpwalk -v 2c -c public localhost
SNMPv2-SMI::enterprises.4282.13.2
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::enterprises.4282.13.2
SNMPv2-SMI::enterprises.4282.13.2 = No Such Object available on this agent at
this OID
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users