Samples are not compiled

2005-02-08 Thread Chenna
Hi, Im using the Net-SNMP 5.0.8. While comipling the sample code snmp_notification ( Taken it from the net-snmp site). http://www.net-snmp.org/dev/agent/notification_8c-example.html The compiler and options: CC notification.cpp -o demo -I/usr/local/include -L/usr/local/lib -L/usr/local/s

caching and set

2005-02-08 Thread Muralidhar Ganga
Hi, Running net-snmp 5.1.1. I am using Cache handler for various tables. Is there a way to set up setup the table to call load function automatically just before the SET request ? The set request could come when the data was not loaded (i.e., there is no SNMP activity before the set). As the da

MRTG Monitoring CPU etc not working

2005-02-08 Thread Matthew Western, IT Support, Lonsdale
Title: MRTG Monitoring CPU etc not working Hi All, Thought I'd post here cos the mrtg list is a dead as a doornail.  I've got mrtg installed on fedora core 3 and have got it working nicely with gathering data from our switches and also got a ping script working nicely as well. I'm tryin

Extra info appended to OID

2005-02-08 Thread Nelson, Gregg
Title: Extra info appended to OID When I issue the following snmpwalk command to a Cisco router it replies with lines as shown below: snmpwalk -v2c 192.168.108.254 .1.3.6.1.4.1.9.9.161 SNMPv2-SMI::enterprises.9.9.161.1.2.1.1.2.0.8.67.65.70.69.84.69.83.84 = INTEGER: 1 SNMPv2-SMI::enterpr

RE: SNMP agent restart

2005-02-08 Thread Struminski, Przemek
I am using version 5.2. SNMP subagent (after killing agent) produces message: "Error: Failed to connect to the agentx master agent: Unknown host (No such file or directory)" and after agent is restarted the connection between them is never reestablished. Przemek Struminski, -Original Message-

Re: scalar_group

2005-02-08 Thread Ming Yang
Hi, Robert:   Thanks for the reply. I think I did not make myself quite clear in my question, partly because I am quite new to NetSNMP.   I am trying to put a DB, like BDB for persistent data store. For group of scalars that have a common parent, it would be a table with a single row in BDB. Now fo

RE: SNMP agent restart

2005-02-08 Thread Struminski, Przemek
I am using version 5.2 on RedHat ES3. SNMP subagent (after killing agent) produces message: "Error: Failed to connect to the agentx master agent: Unknown host (No such file or directory)" and after agent is restarted the connection between them is never reestablished (no requests seem to be passed

SIGHUP w/ 5.2.1 results in netsnmp_assert "list key" == "is unique" failed data_list.c:108 netsnmp_data_list_add_node()

2005-02-08 Thread Rob Kudyba
/var/log/snmpd.log NET-SNMP version 5.2.1 restarted netsnmp_assert "list key" == "is unique" failed data_list.c:108 netsnmp_data_list_add_node() WARNING: adding duplicate key 'mppLibraryVersionTable' to data list --note: the mppLibraryVersionTable comes from a custom MIB... --

Re: AIX Implementation

2005-02-08 Thread John Adam
Got this working. It was the  syslog.conf syntax that goofed me up. I ended up with the line: local7.debug            /snmpdata/snmptrapd/snmptrapd.log rotate time 1d size 50k files 7 I had been trying to use local7.* Robert Story <[EMAIL PROTECTED]> 02/07/2005 06:38 PM Please re

RE: Table index problem

2005-02-08 Thread Robillard, Greg L
Currently, I am running net-snmp-5.0.9-4.rh73.i386.rpm My creation table is a follows: netsnmp_table_set_multi_add_default_row(table_set, COLUMN_COMMBASESTATSENTRYINDEX, ASN_INTEGER, 0, NULL, 0, COLUMN_COMMBASESTATSENTRYCARDNUMBER,

Supporting 'obsolete'd objects

2005-02-08 Thread Sridhar S
Hi, I am using Net-SNMP toolkit of version 5.0.9. I would like to know why Net-SNMP is supporting following 'obsolete'd objects (RFC-3418). snmpOutPkts, snmpInTooBigs, snmpInNoSuchNames, snmpInBadValues, snmpInReadOnlys, snmpInGenErrs, snmpInTotalReqVars, snmpInTotalSetVars, snmpInGetRequests, sn

Mib2c problem

2005-02-08 Thread Kodel Oleg
I have problem using mib2c utility for the NET-SNMP-EXAMPLES-MIB When I trying mib2c -c ... someOidFromExamples, I got the error : "You didn't give me a valid OID .". The mib2c doesn't known ALL OIDs from netSnmp (including netSnmp itself). When I try other MIBS OID's like RMON-MIB it's o.k.

Re: Perl extensions

2005-02-08 Thread Andy Ford
I assume it works on AIX! The README.aix file has little in it. Andy On Mon, 2005-02-07 at 13:48 -0600, John Adam wrote: > > Folks, > > When I add > > perl NetSNMP::TrapReceiver::register("trapOID", \&myfunc); > or > perl do "/usr/local/share/snmp/mytrapd.pl"; > > to my snmptrapd.conf

Re: Perl extensions

2005-02-08 Thread Andy Ford
You haven't compiled the binary with the correct extensions. You need --enable-shared --enable-embedded-perl etc etc Read the README.solaris file in net-snmp v8.3 under section 11 NOTE: Read it carefully - especially the recompilation of Perl itself Andy On Mon, 2005-02-07 at 13:48 -0600, John A