beginner?
Thanks,
Vivek
On Fri, Jan 11, 2013 at 7:17 PM, Vivek Nagaraj wrote:
> Thanks Dave.
>
> From sourceforge.net:
> #164 snmptrapd: modify forwarded traps
> >> I hope this is what you mentioned.
>
> Let me take a loot at it and get back to you on this.
>
> Vi
Thanks Dave.
>From sourceforge.net:
#164 snmptrapd: modify forwarded traps
>> I hope this is what you mentioned.
Let me take a loot at it and get back to you on this.
Vivek
On Thu, Jan 10, 2013 at 9:53 PM, Dave Shield wrote:
> On 10 January 2013 16:00, Vivek Nagaraj wrote:
Suna,
The company I work for monitors the RAID controller through SNMP and
provides SNMP traps too using a pass-through script.
Dave,
Any bugs / feature requests in net-snmp that you might think I can handle
as a fresher, can you please point me to?
Thanks,
Vivek
--
need?
Thanks,
Vivek
On Wed, Jan 9, 2013 at 1:45 AM, Dave Shield wrote:
> On 8 January 2013 11:16, Vivek Nagaraj wrote:
> > I am interested to work on net-snmp.
>
> What are you wanting to do with the software?
> It's a bit difficult to offer advice given the level of det
Hello,
I am interested to work on net-snmp. Can anyone help me on this?
Thanks,
Vivek
--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with Lea
Thanks a lot! That helped. I ran it for port 161 where my subagent was
sending the getResponse PDU.
I am getting this:
dumpx_send: 05 00 dumpx_send: 05 00
dumpv_send: dumpv_send:NULL
NULL
This seems to be the difference compared to the working condition. I
need to work o
This is the output I got:
root@solaris:~# snmpd -Ddump,agentx -f -Lo udp
No log handling enabled - turning on stderr logging
registered debug token dump, 1
registered debug token agentx, 1
netsnmp_assert !"registration != duplicate" failed
agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert
Thanks a lot for the response.
Here is the output:
root@solaris:/# snmpd -Ddump,agentx
No log handling enabled - turning on stderr logging
registered debug token dump, 1
registered debug token agentx, 1
root@solaris:/# netsnmp_assert !"registration != duplicate" failed
agent_registry.c:535 netsnmp
Hello,
Does anybody know how the agenx subagent sends the 'GetResponse' PDU
to the subagent once it receives the 'GetRequest', 'GetNextRequest'
and 'SetRequest'?
Is there an API that does the above work?
I have following doubts:
1) What is the responsibility of the Agentx subagent with respect
Niels,
Thanks for your response. Mine is a AgentX net-snmp subagent.
Thanks,
Vivek
On Thu, Mar 22, 2012 at 5:42 PM, Niels Baggesen
wrote:
> On Thu, Mar 22, 2012 at 04:08:07PM +0530, Vivek Nagaraj wrote:
>> Any idea why I get this? Is this the issue with my subagent or the
>> ma
Hello,
I have a SNMP subagent which was working like a charm in the Solaris
10 OS which did not have net-snmp (instead SMA belonging to SUN was
used as a master SNMP agent). Now that I migrated to Solaris 11
environment which has net-snmp as the master SNMP agent and SMA is not
present post OS ins
Ok. For the moment, concentrating only on the SNMP main agent, can you
please let me know how the community is picked up in sending the
traps?
Community can be specified in the 'trapcommunity', access control
panel and also in the 'trapsink' command. Which of these is a priority
for picking up the
Ok. Lets say I am building a sub agent (of course using net-snmp
libraries) and the user is intended to make changes in the snmpd.conf
and I am supposed to make common changes for snmpd as well as my
subagent.
Can you please let me know how community is chosen with the community
string being prese
Can anybody please tell me the use of 'community' in snmpd.conf file
and the usage?
--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
sec
I could not find what I wanted somehow.
I am quite new to snmp. Can anybody please let me know what is
community used in snmpd.conf file and what is its use in trapsink and
trapcommunity?
Currently my application uses hardcoded community - 'public'. I need
to parse the snmpd.conf file for this.
Hello all,
I would like to know if the snmpd.conf parsing code is present in
net-snmp source or not. Since I would like to make my sub-agent work
in a similar way to the main agent, I would like to have a look at the
main agent code.
Thanks,
Vivek
Ok. Check this out!
I am connecting the snmp trap sender server directly to my machine
which has a trap receiver server and assigning the IP addresses
manually to each of them.
Only one of the trap receiver software (named webnms) is showing the
received trap (at custom ports) but none other afte
This might seem a lot strange or rather a shock for you guys out there!
I am receiving SNMP traps on custom ports from RHEL 4.6 x86. Tried
installing trap receiver in one of the client servers in the same
subnet as that of the RHEL server. Outside the subnet, I couldn't see
traps on my machine tho
I shall provide you some of my findings now. Please correct me if I am wrong.
1) I 'DID' receive the trap message on my trap receiver (another
server in the network) on port no 162 if mentioned hostname:portno
2) I 'DID NOT' receive the trap message on my trap receiver (another
server in the netw
I have added my agent address to the snmpd.conf file. Or else I would
have not received the trap at port no 162.
snmptrap -v 1 -m ALL -c public \
135.36.115.62:5000 .1.3.6.1.6.3169.254.1.1 127.128.129.130 6 1 20071105
>> Yes. The agent is 135.36.115.62. I still didn't receive traps at port no 500.
I just tried it on RHEL 4.6 x86. Here is the more detailed OS info:
Linux dhcp-135-24-228-150 2.6.9-67.EL #1 Wed Nov 7 13:41:13 EST 2007
i686 i686 i386 GNU/Linux
Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
NET-SNMP version: 5.1.2
When I executed this command on RHEL 4.6 x86
snmptrap -v
The RHEL 4.6 32-bit I am using has net-SNMP version 5.1.2. So, I hope
this would not support ports mentioned with the snmptrap command.
Please correct me if I am wrong.
The RHEL 6.1 has version 5.5 installed.
So, you mean to say any net-SNMP version above and including net-SNMP
5.4 supports menti
Ok. I am sorry. Not working in the sense, if I provide custom ports
other than 162, I am not receiving any traps at those custom ports.
I am not seeing any error message after the execution of the command
mentioned by you.
My server administrator says that the backward compatibility needs to
be m
Thanks a lot Niels!
snmptrap -v 1 -m ALL -c public 135.36.115.62:30617 .1.3.6.1.6.3
169.254.1.1 6 1 20071105
>> Worked like magic on custom ports on RHEL 6.1!
Is there any net-snmp issue (you are aware of) regarding this in older
net-snmp binaries placed in RHEL 4.7?!
In simple words, its workin
Response to your previous mail:
1) Could not find 'snmp.conf'
2) And options you have mentioned to be used with 'snmptrap' command
is not working
Please refer the attachments for more details.
Thanks a lot for your time and response.
[root@localhost snmp]# snmptrap -v 1 -m ALL -c public 135.36.
When you starts talking about execl snmptrap I also have to say that I
wouldn't have done it that way...
I would probably either embed the library to send the traps directly or
let the program act as an AgentX subagent and use that to make the agent
send the traps to the places that are specified i
Ok. That sounds reasonable. Thanks a lot! Hope you can can answer my
following questions:
1) What is the difference between snmp.conf and snmpd.conf files in
'/etc/snmp/' directory?
2) When I execl 'snmptrap' command from my program, which of the above
two *.conf files are actually used?
Thanks,
All I did was added this line in 'snmpd.conf': "defTarget snmptrap udp
:50162" and restarted the snmpd service using: 'service snmpd
restart'.
I used to get the first trap at the UDP port 50162. And I used to
receive trap on my client Windows machine where the trap receiver was
running at the defa
Thanks a lot!!! That worked like a charm on the first go! But the
problem I faced was that the first time I got the trap at the right
port (not 162), but subsequent traps were still sent to the default
port i.e., 162.
Can you please help me on this???
Thanks a ton.
--
Ok. That seems to be good one.
But cant I just change the default port to some other other than 162
in the net-snmp code and get it compiled?
--
All the data continuously generated in your IT infrastructure contains a
def
Hello all,
I am building an application which sends SNMP trap which executes
'snmptrap' command.
Since I see that the 162 port is used by many other applications, the
port is rarely left free so that I can send the traps.
Is there anyway that I can make it send to custom port other than
162??? I
31 matches
Mail list logo