Re: snmp module help

2010-02-04 Thread astal vista
Where can i find snmpdtrap.conf file. when i check with locate command. it is showing under /var/net-snmp/snmpdtrap.conf but when i open with vi editor ,, the message given is "don't edit this file" is there any alternative? On Thu, Feb 4, 2010 at 5:40 PM, astal vista wrote: > I have compile

Re: Problems using snmptrap

2010-02-04 Thread Dave Shield
On 5 February 2010 00:50, Mike Ayers wrote: > >        Does your firewall have port 162 open? >  Have you tried sending to 127.0.0.1 > (Same machine for send and receive, correct?)? But surely this would only affect whether the trap was *received* by snmptrapd? Mike(B) has said that turning on

Implementing an agent

2010-02-04 Thread Jordi Gutiérrez Hermoso
Does anyone have sample code on how to implement several tables with shared and multiple indices in a subagent? To clarify, I have a MIB which basically has 8 read-only tables. I've figured out how to use mib2c's MfD files to implement a simple table in a subagent, but this method seems overly ver

RE: Problems using snmptrap

2010-02-04 Thread Mike Ayers
> From: Bowers Mike-cmb004 [mailto:michael.bow...@motorola.com] > Sent: Wednesday, February 03, 2010 5:47 AM > Nothing at all. When I execute the command it immediately returns the > prompt. That's why I'm beginning to suspect the snmptrap executable is > either messed up, or I'm missing some so

RE: please help

2010-02-04 Thread Mike Ayers
> From: zahra mehdipour [mailto:zmehdip...@msn.com] > Sent: Wednesday, February 03, 2010 3:38 AM > I have installed net-snmp-5.1.4.2 on embedded linux system(2.6.30). I > have made the configuration file and saved it in > /usr/etc/snmp/snmpd.conf. When I run snmpd -c > /usr/etc/snmp/snmpd.conf , I

RE: HOST-RESOURCE::hrSWInstalledTable

2010-02-04 Thread Raphael SurcouF Bordet
Hi, You can also wrote an AgentX subagent to implement this table as hrswinstalled Perl script does for Debian/Ubuntu : http://community.zenoss.org/blogs/zenossblog/2009/02/18/tip-of-the-month-snmp-software-inventory-for-debian-and-ubuntu-machines http://community.zenoss.org/docs/DOC-3582 As

RE: [Fwd: Re: About NETSNMP...Problem]

2010-02-04 Thread Mike Ayers
> From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On > Behalf Of Dave Shield > Sent: Wednesday, February 03, 2010 11:38 AM > On 3 February 2010 18:59, Mike Ayers wrote: > >> I'm not a Windows expert, so I don't know how the "net {start,stop}" > >> mechanism works.   I'll leav

Re: snmp module help

2010-02-04 Thread Dave Shield
On 4 February 2010 11:39, astal vista wrote: > i have install net-snmp package on RHEL5.3. How? Did you compile from source, or install a pre-compiled binary. > #make snmp-demo > > gcc -I. `net-snmp-config --cflags`   -c -o snmp-demo.o snmp-demo.c > gcc: -lcrypto: linker input file unused beca

Re: snmp module help

2010-02-04 Thread rakesh zingade
Don't use net-snmp-config at the time of creating object files use it while creating libraries and binaries you are trying to link the libraries to object file ... On Thu, Feb 4, 2010 at 5:09 PM, astal vista wrote: > i have install net-snmp package on RHEL5.3. > > everything is fn. But progra

snmp module help

2010-02-04 Thread astal vista
i have install net-snmp package on RHEL5.3. everything is fn. But programmers have written some code on net-snmp. They want to comile it. But they try to compile it with following command, we are getting some errors like this below: #make snmp-demo gcc -I. `net-snmp-config --cflags` -c -o snmp