How to assign a specific interface carrd for sending traps

2007-04-16 Thread Reza Salehi
Hi, If my machine has many interface cards(eth0.eth1,ath0,) and I want to assign outgoing traps to eth1(for example) what I should do. I appreciate your help, Reza - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at

Re[4]: Adding MIB problem.

2007-04-16 Thread Roman Gorohov.
Hello, Dave. > On 16/04/07, Roman Gorohov. <[EMAIL PROTECTED]> wrote: >> It is the root mib for begemot tree, providing Packet Filter enterprises oids >> on FreeBSD. I know this is working fine with bsnmpd. Is that possible >> that mibs implementing for bsnmpd not compatibile with net-snmpd? > A

Re: Problems accessing tcp-mib and udp-mib

2007-04-16 Thread Varun Chandramohan
Hi Fausto, I dont know what all the oids you need in UDP and TCP MIBs, well i would suggest you to upgrade to the latest net-snmp release which has UDP-MIB::udpInDatagrams problem fixed. As far as other oids and TCP-MIB oids you want to check out this patch for your features.

NetSNMP Versions

2007-04-16 Thread Lothar Werzinger
Hi, I am new to NetSNMP and I am a bit confused about the version numbering of NetSNMP. If I go to http://sourceforge.net/project/showfiles.php?group_id=12694 it states that Latest is 5.2.4 >From a numbering perspective Latest should be 5.4 Even more puzzling. If I build 5.2.4 the libraries it

Problems accessing tcp-mib and udp-mib

2007-04-16 Thread Fausto Barros de Sá Teles
Hello everybody, I'm using the net-snmp package version 5.3.1. I need to read some variables from the TCP-MIB and from the UDP-MIB, but when I enter the command snmpwalk I get an error: snmpwalk -v 2c -c public localhost 1.3.6.1.2.1.6.10 TCP-MIB::tcpInSegs = No Such Instance currently exists at

Re: ASN_COUNTER64 weirdness in agentx agent

2007-04-16 Thread Lothar Werzinger
On Monday 16 April 2007 04:48, Dave Shield wrote: > On 14/04/07, Lothar Werzinger <[EMAIL PROTECTED]> wrote: > > I am new to NetSNMP and I tried to build an agentx SNMP agent. I can now > > walk my (simple) MIB and get values back. However for ASN_COUNTER64 I get > > weird values back. > > Which ve

Re: Index less Tables ??

2007-04-16 Thread Dave Shield
On 16/04/07, srikrishnan <[EMAIL PROTECTED]> wrote: > But INDEX less table is still holds good for SMIv1 tables right? No. SMIv1 tables still require an indication of how the table should be indexed. Either in a machine-parsable form (the INDEXES clause), or as a free-text description. But yo

Re: Index less Tables ??

2007-04-16 Thread srikrishnan
Thanks for your clarifications. But INDEX less table is still holds good for SMIv1 tables right? Then in that case, how a manager applications can handle this ? Any insight will be appreciated ? Regards, Srikrishnan. Dave Shield wrote: On 16/04/07, srikrishnan <[EMAIL PROTECTED]> wrote: I

Re: Unable to query lm_sensors MIB

2007-04-16 Thread Benton Roberts
Hey, there. Thanks very much for your prompt reply, Bruce. Bruce Shaw wrote: > Try > snmpwalk -v 2c -c public -m ALL localhost .1.3 | grep SEN snmpwalk -v 2c -c -m ALL localhost .1.3 | grep SEN returns: HOST-RESOURCES-MIB::hrSWRunParameters.17211 = STRING: "SEN" Does that object represent

Net-SNMP and Itanium Machines

2007-04-16 Thread Stanley, Jeffrey A CIV DLA J6DIA
I would like for this message to be posted to the net-snmp-users forum. My organization uses PA-RISC and Itanium machines running 11i. My question is, has anyone got Net-SNMP to work with Itanium boxes and if so, what version of Net-SNMP was it? Thanks --

Re: python module for netsnmp

2007-04-16 Thread Bogdana Botez
You meant this: snmpget -v 2c -c private 127.1:8333 MY-MIB::.0 This works. The command line tools all work with MY-MIB and the agent (snmpset, snmpget. snmpwalk etc). I also use a MIB browser and I'm able to manage it just fine. Only the python library seems to get blocked somewhere. Bogdana

Re: python module for netsnmp

2007-04-16 Thread Dave Shield
On 16/04/07, Bogdana Botez <[EMAIL PROTECTED]> wrote: > Q: > What happens if you try a "snmpget" request with the same numeric OID? > > Does that return a value or not? > > A: I've just checked - it returns None: > In [15]: oid = netsnmp.Varbind(,'0') > In [19]: netsnmp.snmpget(oid, Version=2, Rem

Re: python module for netsnmp

2007-04-16 Thread Andreea Bogdana Botez
Hi Dave, See my answers below. Q: > What happens if you try a "snmpget" request with the same numeric OID? > Does that return a value or not? A: I've just checked - it returns None: In [15]: oid = netsnmp.Varbind(,'0') In [19]: netsnmp.snmpget(oid, Version=2, RemotePort=8333, Community="private"

Re: python module for netsnmp

2007-04-16 Thread Bogdana Botez
Hi Dave, See my answers below. Q: > What happens if you try a "snmpget" request with the same numeric OID? > Does that return a value or not? A: I've just checked - it returns None: In [15]: oid = netsnmp.Varbind(,'0') In [19]: netsnmp.snmpget(oid, Version=2, RemotePort=8333, Community="privat

Re: 5.4 perl - missing indices in bulkwalk result

2007-04-16 Thread Florian Jauernig
Dave, Am Montag, 16. April 2007 13:59 schrieb Dave Shield: > On 16/04/07, Florian Jauernig <[EMAIL PROTECTED]> wrote: > > When using the "bulkwalk" method on a v2 session object and using > > multiple OIDs to be walked.. > > Errr is that allowed? > I'm not too familiar with the perl APIs,

override iftable

2007-04-16 Thread Porat, Dan
Hello All! We would like to override the iftable with data which we gather from a few boards.( a few cpus connected to one , which is the single snmp agent point). How do we do that exactly? Thanks Dan Porat -

Re: very simple exec usage

2007-04-16 Thread Max
Charles, I use both exec (and extend, thanks to Dave's patch :) ) with Cacti (used to use MRTG) and Nagios. What you have to do with Cacti is create a data input method that calls your custom exec task OID via an external script (or the script server, which is what I use), then make sure the exec

Re: 5.4 perl - missing indices in bulkwalk result

2007-04-16 Thread Dave Shield
On 16/04/07, Florian Jauernig <[EMAIL PROTECTED]> wrote: > When using the "bulkwalk" method on a v2 session object and using multiple > OIDs to be walked.. Errr is that allowed? I'm not too familiar with the perl APIs, but the command-line tools "snmpwalk" and "snmpbulkwalk" only accept a

Re: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-16 Thread Dave Shield
On 13/04/07, M, Somashekhar (Somashekhar) <[EMAIL PROTECTED]> wrote: > I am trying to send snmp v3 traps through command line and want to see > it in mib browser. What is the exact command that you are using? > All v3 parameters are set properly mean to say configuration is proper > in snmpd.con

Re: 5.4 perl - missing indices in bulkwalk result

2007-04-16 Thread Florian Jauernig
Dave, unfortunately I am running into this (or similar) problem again, and I have tracked into this a little deeper, and now I really think, that net-snmp is not behaving correctly. I am seeing the NonIncreasing error set even in case NonIncreasing should not be set. When using the "bulkwalk"

Re: ASN_COUNTER64 weirdness in agentx agent

2007-04-16 Thread Dave Shield
On 14/04/07, Lothar Werzinger <[EMAIL PROTECTED]> wrote: > I am new to NetSNMP and I tried to build an agentx SNMP agent. I can now walk > my (simple) MIB and get values back. However for ASN_COUNTER64 I get weird > values back. Which version of the Net-SNMP code are you using? Dave

Re: communicate with ME102

2007-04-16 Thread Dave Shield
On 13/04/07, Michael Renner <[EMAIL PROTECTED]> wrote: > OK, it was in a wrong directory, but there are still errors: > > cassiopeia:/usr/share/snmp/mibs# snmpget -c public -v1 wlan.mtr.mynet > ATMEL-MIB::sysDescr > Bad operator (operBridgingLevel): At line 127 > in /usr/share/snmp/mibs/AT76C510B1.

Re: Re[2]: Adding MIB problem.

2007-04-16 Thread Dave Shield
On 16/04/07, Roman Gorohov. <[EMAIL PROTECTED]> wrote: > It is the root mib for begemot tree, providing Packet Filter enterprises oids > on FreeBSD. I know this is working fine with bsnmpd. Is that possible > that mibs implementing for bsnmpd not compatibile with net-snmpd? A MIB file is effectiv

Re: python module for netsnmp

2007-04-16 Thread Dave Shield
On 16/04/07, Andreea Bogdana Botez <[EMAIL PROTECTED]> wrote: > But, when I try to do the same think using the python module: > >sess = netsnmp.Session(Version=2, DestHost='localhost', > Community='public') >sess.UseEnums = 1 >sess.UseLongNames = 1 >vars = netsnmp.Va

Re: Getsa and walks by name

2007-04-16 Thread Dave Shield
On 15/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks to pointers and help from this list as well as lots of the Magic > Oil of Midnight, we have our SNMPd integrated. However, there's one > wierdness left. When I build on Linux x86, it works fine and I can do > 'snmpwalk blah blah bla

Re: Index less Tables ??

2007-04-16 Thread Dave Shield
On 16/04/07, srikrishnan <[EMAIL PROTECTED]> wrote: > I happen to see the RFC1212 and in the INDEX class, it is defined that > there are possibility of having the INDEX less tables ( 4.1.6 - Mapping > of the INDEX clause ). Then it is treated as non-columnar objects, and > the instances of the obje

Re: Index less Tables ??

2007-04-16 Thread Subrahmanya Hegde
I think it is talking about SCALAR Object there. I have not come across any non-INDEX tables... thx Subra srikrishnan <[EMAIL PROTECTED]> wrote: Hi, I happen to see the RFC1212 and in the INDEX class, it is defined that there are possibility of having the INDEX less tables ( 4.1.

Re: very simple exec usage

2007-04-16 Thread Dave Shield
On 13/04/07, Charles Sprickman <[EMAIL PROTECTED]> wrote: > In snmpd.conf I have something like this: > > exec .1.3.6.1.4.1.2021.9100.1 QmailQueue1 /usr/local/adm/bin/qm-stat-cat.sh 1 > exec .1.3.6.1.4.1.2021.9100.2 QmailQueue2 /usr/local/adm/bin/qm-stat-cat.sh 2 > exec .1.3.6.1.4.1.2021.9100.3 Qma

ASN_COUNTER64 weirdness in agentx agent

2007-04-16 Thread Lothar Werzinger
Hi, I am new to NetSNMP and I tried to build an agentx SNMP agent. I can now walk my (simple) MIB and get values back. However for ASN_COUNTER64 I get weird values back. I read the documentation and the list archives, but I can not find what I might have done wrong. If somebody can shed light

RE: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-16 Thread M, Somashekhar (Somashekhar)
Hi all, I am trying to send snmp v3 traps through command line and want to see it in mib browser. I have configured everything properly. SNMP v3 traps are sent properly to the destination, I could see this using ethereal/tcpdump. But they are not visible on the Mib Browser. If I send v2 traps, I

Re[2]: Adding MIB problem.

2007-04-16 Thread Roman Gorohov.
Hello, Joao. > On Fri, 2007-04-13 at 17:10 +0400, Roman Gorohov. wrote: >> Hello, net-snmp-users. >> I'm trying to attach BEGEMOT-MIBs to net-snmp, but no success. >> I copy needed mibs to /usr/local/share/snmp/, added mibs into mibs variable >> in file snmp.conf as instructions says. >> When i

a problem in mib2c

2007-04-16 Thread Porat, Dan
While creating a c file using the mib2c , using the dataset option, It creates all the indexes in the table as well, Instead of creating the indexes in the "netsnmp_table_set_add_indexes" alone. It creates it over there , and in the netsnmp_table_set_multi_add_default_row. This prevents from

RE: OIDs for MIB objects

2007-04-16 Thread Ward, Martin
Hi Treesa, .iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExperimental.ne tSnmpPlaypen or .1.3.6.1.4.1.8072.. HTH |\/|artin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Treesa Fairy Joseph > Sent: 16 April 2007 20:07 > To:

python module for netsnmp

2007-04-16 Thread Andreea Bogdana Botez
Hi. I'm trying to use the python module for netsnmp with a new MIB (not one the standard ones) and a new snmp agent that knows how to interact with it. Standard tests work ok, for example: snmpset -v 2c -c private 127.1:8333 SOME-MIB::.0 i 5 SOME-MIB::.0 = INTEGER: 5 Also, the standard snmp mod

Re: OIDs for MIB objects

2007-04-16 Thread Treesa Fairy Joseph
Hi Dave, What is the expansion of netSnmpPlayPen subtree? like, .iso.org.dod.internet.private.enterprises.what?.what?.what? I want this info to put in my MIB. Regards, Treesa. > > Is this MIB ever going to be used by anybody else, > or will it only ever be used privately by you and only you? >

subagent compatibility on different OSes

2007-04-16 Thread Sukwoo Kang
Hello all, If some vendors want to build their subagent and distribute it (not including net-snmp package), is there any general way to do it using dynamic linking (i.e., without dependency to specific net-snmp versions)? As you know, major linux distributions (like Redhat EL4, EL5, SUSE 9, 10)