SNMP v1 traps-community string

2009-04-07 Thread Tanisha Kashyap
Hi, Is it mandatory to enter something in the community string field? Can it be of zero length? If yes, then is there any default value that will be used or is it left to the developer to decide? "No task is so humble that it does not offer an outlet for individuality" __

How does netsnmp store the user Info

2009-04-07 Thread sanjaykumar
Hi All,    I am trying to create the "USER" in net-snmp 5.4.2.1 I have a doubt "Like How does user details will store". Does it store in persistence memory or as a link list  or link list will store in persistence memory ? Does it require to call "read_configs()" function init time.

RE: lm-sensors doesn't report the information about fan!

2009-04-07 Thread 김은영
Thank you for your reply. I compiled net-snmp-5.2.2 sources and installed it. As you said, I tried running the agent with some options and queried for lmFanSensorsTable. And the result was, NET-SNMP version 5.2.2 ucd-snmp/lmSensors: Reading the

snmp set on a sequence in .cpp

2009-04-07 Thread Alfonso Urdaneta
Hello, I'm working with an APC AP9320 environmental management system. This device has some output relays which are in a sequence as follows: OutputRelayControlEMSEntry ::= SEQUENCE { emsOutputRelayControlOutputRelayIndex INTEGER, emsOutputRelayControlOutputRelayNameDisplayS

Changing community on forwarded traps

2009-04-07 Thread Lindholm Roger
Hi, Anybody knows if it is possible to configure snmptrapd to modify the community string on forwarded traps, maybe something like trapsess? I would like to add something like this into my snmptrapd.conf. forward default 10.1.1.1 community1 forward default 10.2.2.2 community2 while the in

Re: agent/mibgroup/mibII/interfaces.c

2009-04-07 Thread Dave Shield
2009/4/3 sanjaykumar : > I going through the agent/mibgroup/mibII/interfaces.c file , I got a doubt > about the definition of   function  "SetIfEntry". > I didn't find it in netsnmp.5.4.2.1 version. > Could anyone let me know, which file contains  the definition of the > Function OR it is some sta

Re: “No log handling enabled - turning on stderr l ogging Failure in sendto (No such file or directory)”

2009-04-07 Thread Dave Shield
2009/4/2 malar vizhi : > if I have more than two oids in an input list, when I go for 3rd oid, am > getting > “No log handling enabled - turning on stderr logging > Failure in sendto (No such file or directory)” That sounds very strange indeed. The problem is that if you've embedded the Net-SNM

Re: compilation error: libnetsnmpagent.la

2009-04-07 Thread Dave Shield
2009/4/2 Gabriele Giorelli : > I am using fedora10 and I am getting this error in the compilation step: > > grep: /net-snmp-5.4.1/agent/libnetsnmpagent.la: No such file or directory > /bin/sed: can't read /net-snmp-5.4.1/agent/libnetsnmpagent.la: No such file > or directory > libtool: link: `/net-

Re: lm-sensors doesn't report the information about fan!

2009-04-07 Thread Dave Shield
2009/4/2 김은영 : > I installed net-snmp 5.2.2, 5.2.5, 5.3.3.pre1, 5.4.2.1 on Sun Fire V210 with > ucd-snmp/lmSensors module. Was this compiled from source, or a binary distribution? > But I could get the result of the queries on lmTempSensorsTable and > lmMiscSensorsTable from net-snmp 5.2.2 and 5

Re:

2009-04-07 Thread Dave Shield
2009/4/7 sanjaykumar : > Is it possible to implement the Ether-Like mib , rfc 3635 using the "ethtool" > ? Hmmm... That might be possible, I suppose. My immediate reaction was to invoke "ethtool" via a shell script (registered using the "pass" directive). But there are two major problems with

Re:

2009-04-07 Thread sanjaykumar
Hi ALL, Is it possible to implement the Ether-Like mib , rfc 3635 using the "ethtool" ? Thanks and Regards, Sanjay kumar Dave Shield wrote: > 2009/4/7 Michael Schwartzkopff : > >>> In general, the speed of an interface is typically controlled by the >>> hardware. I'm not aware of a

Re:

2009-04-07 Thread Dave Shield
2009/4/7 Michael Schwartzkopff : >> In general, the speed of an interface is typically controlled by the >> hardware.   I'm not aware of any mechanism (either via SNMP >> or on the command line) that would allow you to change this > > ethtool So noted. Thanks. Though of course, that is specific

Re:

2009-04-07 Thread Michael Schwartzkopff
Am Dienstag, 7. April 2009 11:09:26 schrieb Dave Shield: > 2009/4/7 Szymon Klimuk : > > In MIB interface subtree, there are a lot of objects but only one > > (IfAdminStatus) has read-write access. I'm interested in ifSpeed object. > > > > Is there any read-write object where I can change interface

Re:

2009-04-07 Thread Dave Shield
2009/4/7 Szymon Klimuk : > In MIB interface subtree, there are a lot of objects but only one > (IfAdminStatus) has read-write access. I'm interested in ifSpeed object. > Is there any read-write object where I can change interface speed? No. I don't believe so. In general, the speed of an interf

[no subject]

2009-04-07 Thread Szymon Klimuk
Hi, In MIB interface subtree, there are a lot of objects but only one (IfAdminStatus) has read-write access. I'm interested in ifSpeed object. It's read-only, but for me, there should be some way to change interface speed via snmp set command. Is there any read-write object where I can change

Re: Re :Re: error during starting snmpd

2009-04-07 Thread Dave Shield
2009/4/7 vishal_nitr : > I am using net-snmp-5.4.1. One more info on this is, when I removed VLAN > interfaces from my machine I didn't get this error and snmpd started > perfectly. >     Does net-snmp-5.4.1 has any problems with VLANs ? I can't recall for definite, but I seem to remember that the