Re: snmp module help

2010-02-05 Thread Dave Shield
On 5 February 2010 07:51, astal vista astal.vista...@gmail.com wrote: Where can i find snmpdtrap.conf file. You create this yourself. (Either manually, or using 'snmpconf') See snmptrapd.conf(5) It goes in the same directory as snmpd.conf Dave

Re: snmp module help

2010-02-05 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 4

Compilation error

2010-02-05 Thread Sylvain Dery
Hello, I'm having the following compilation error: gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -c host/hr_swinst.c -fPIC -DPIC -o host/.libs/hr_swinst.o host/hr_swinst.c: In function ‘var_hrswinst’:

Re: Compilation error

2010-02-05 Thread Dave Shield
On 4 February 2010 20:24, Sylvain Dery sylvain-d...@hotmail.com wrote: I'm having the following compilation error: gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -c host/hr_swinst.c  -fPIC -DPIC -o

Re: HOST-RESOURCE::hrSWInstalledTable

2010-02-05 Thread Dave Shield
On 5 February 2010 00:00, Raphael SurcouF Bordet surc...@debianfr.net wrote: As I known, default support of host/hrswinstalled in Net-SNMP has been designed for RPM only. Where did you get that impression? The hrSWInstalledTable includes support for RPM (Linux), pkginfo (Solaris), depots

Re: Implementing an agent

2010-02-05 Thread Dave Shield
2010/2/5 Jordi Gutiérrez Hermoso jord...@gmail.com: Does anyone have sample code on how to implement several tables with shared and multiple indices in a subagent? If you've got a common data structure for the underlying contents of these tables, you can actually implement the tables

Re: how to use a single session for communicating with multiple devices

2010-02-05 Thread Venkat V
Hi, I would like to know whether this fature (Using a single session to communicate with multiple devices) is implemented now. The main constraint is since each session is using one port, we are finally ending up using many ports on the target system and no user likes this. I got the below

Re: HOST-RESOURCE::hrSWInstalledTable

2010-02-05 Thread Raphaël 'SurcouF' Bordet
Le vendredi 05 février 2010 à 11:15 +, Dave Shield a écrit : On 5 February 2010 00:00, Raphael SurcouF Bordet surc...@debianfr.net wrote: As I known, default support of host/hrswinstalled in Net-SNMP has been designed for RPM only. Where did you get that impression? The

if-mib

2010-02-05 Thread Luis Alexandre D. Brandão
Someone has already found a solution to the problem of when the interfaces go up and down? Each time a tun falls and rises again, a new entry appears in the if-MIB, and it even has the same description! I'm trying to use cacti to monitor traffic from multiple servers, but still could not figure

if-mib

2010-02-05 Thread Luis Alexandre D. Brandão
Someone has already found a solution to the problem of when the interfaces go up and down? Each time a tun falls and rises again, a new entry appears in the if-MIB, and it even has the same description! I'm trying to use cacti to monitor traffic from multiple servers, but still could not figure

MIB pretty printer

2010-02-05 Thread Chris Nelson
I *swear* I've done this with Net-SNMP tools before but I can't find the right program or options now. I have a MIB description and I want to print a OID tree from it without having a device to reference/access with snmpwalk or whatever. If there a Net-SNMP tool for that? If not, can you

Re: MIB pretty printer

2010-02-05 Thread Brandon Wigfield
Chris, Look at http://www.net-snmp.org/docs/man/snmptranslate.html Specifically http://www.net-snmp.org/docs/man/snmptranslate.html-Tp Print a graphical tree, rooted at the specified OID. Hope that helps, Brandon On Fri, Feb 5, 2010 at 9:54 AM, Chris Nelson cnel...@nycap.rr.com wrote: I

calling read_all_mibs() to reload MIB files

2010-02-05 Thread Sam V
Hi there, I'm calling read_all_mibs() to re-read all mibs on run time in case newer new mib files are added or even an existing MIB file is updated. This way I don't have to restart my application. It is important for my not to restart my application even if MIB files are modified. This only

Re: Looking for a MIB pretty printer

2010-02-05 Thread Dave Shield
On 5 February 2010 14:20, Christopher Nelson chris.nelson.1...@gmail.com wrote:  I have a MIB description and I want to print a OID tree from it without having a device to reference/access with snmpwalk or whatever.  If there a Net-SNMP tool for that? snmptranslate Dave