Hi,
The snmptrap v3 authentication does not seem to be working.
I am using Version: 5.9.1
>From my agent, I issue:
snmptrap -v 3 -u Simon -a MD5 -A SimonPass -l authNoPriv 172.27.37.227
"" coldStart.0
I do receive the trap on my Trap Receiver even if I didn't speci
, Cyrus () escribió:
>
> Hello!,
>
> I'm trying to integrate LibreNMS with a northbound manager through
> SNMP traps using snmptrap@net-snmp.
>
> The way notifications work in that tool is that you can have a
> notification event, which has several faults (event interface errors
&
Hello!,
I'm trying to integrate LibreNMS with a northbound manager through
SNMP traps using snmptrap@net-snmp.
The way notifications work in that tool is that you can have a
notification event, which has several faults (event interface errors
that applies to 4 ports out of the 48 a device may
Hi Team,
I'm having a hard time understanding (and honestly a bit confused on) how
to send traps using snmptrap. How are the engineBootCount and engineTime
set when I'm sending a trap manually from the manager to a remote agent?
Should I create a new user for this purpose on the remote agent
Can you share your snmptrapd.conf file contents?
On Wed, 7 Apr, 2021, 4:51 pm Ahmet Muzaffer Dülger, <
ahmetmuzafferdul...@gmail.com> wrote:
> Hi,
>
> I use net-snmp 5.7.3 and I want to send snmptrap continuously on OpenWrt.
> First trap message is OK. But I'm getting error whe
Hi,
I use net-snmp 5.7.3 and I want to send snmptrap continuously on OpenWrt.
First trap message is OK. But I'm getting error when sending a second trap
message ( buffer too small to read octet string (13 < 13) ).
The command is as follows;
snmptrap -m ALL -v 2c -c public :'
s 'text mess
1.3.6.1.4.1.9.9.500.0.0.1
> .1.3.6.1.2.1.2.2.1.1.5181
> = INTEGER: 5181 .1.3.6.1.4.1.9.9.500.1.2.2.1.1.5181 = INTEGER:
> down(2) .1.3.6.1.4.1.9.9.500.1.2.1.1.1.1001 = Gauge32: 1
But If I execute snmptrap with the following option I got an error
> snmptrap -v 2c -c publice
Hi.
Thanks for your reply. I try to use "-s" and "--clientaddr" but it dose not
work.
My version is net-snmp-5.8.
My commond is "snmptrap -v3 -u usertest -l authPriv -a SHA -A usertest -x AES
-X usertest -s 10.2.24.121 10.2.24.18 84100 …… ".
May I ask you how th
Hi,
that was one of the cases that failed for me.
You can try to have 'clientaddr 10.2.24.121" $HOME/.snmp/snmp.conf
and run
"snmptrap -v3 -u usertest -l authPriv -a SHA -A usertest -x AES -X
usertest 10.2.24.18 84100 …… "
(w/o -s 10.2.24.121)
I hope to get some time to dig
Hi,
I found two issues using latest git repo master branch;
IPv4, using "clientaddr srcip" in snmp.conf and "snmptrap" to a local ip -
OK
IPv4, using "clientaddr srcip" in snmp.conf and "snmptrap" to a remote ip -
OK
IPv4, using "snmptrap -s srcip
By routing decision, as I noted before.
RegK
On Fri, May 24, 2019 at 3:23 PM ww wrote:
> Hi.
> Thanks for your reply. I try to use "-s" and "--clientaddr" but it dose
> not work.
> My version is net-snmp-5.8.
> My commond is "snmptrap -v3 -u usertest -l
Hi.
Any traffic originating from snmpd will have src IP of outgoing network
interface.
>From my experience "clientaddr" helps for replies generated by snmpd. For
example,
if you have multiple interfaces and "clientaddr" is set, any snmpd
response, like response to
snmpget, snmpwalk etc. will have
You can use "clientaddr" in snmp.conf or snmpd.conf,
https://linux.die.net/man/5/snmp.conf
In 5.8 you also have the possibility to use "-s" with trapsess, but I did
not found any documentation on it.
but check the test code, testing/fulltests/default/T184trapsesssource_simple
Regards
Anders
Hello, Thank you for reading my email. Can I specify the source IP when send a
V2/V3 trap like V1?
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
Hi everybody,
I'm using the snmptrap 5.2.5.1 utility on linux device.
I need to specify the oid of the second varbind "snmpTrapOID.0" and I've seen in
https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.cmds5/snmptrap.htm
that there is a -o oid option to do that.
Bu
On Wed, Oct 10, 2018 at 4:35 AM Pushpa Thimmaiah
wrote:
> Hi All,
> Following is debug/trace message of tool 'snmptrap' while sending
> snmpv2c traps. What does '0.0.0.0' means here?
> Does the data sent to all interfaces of device (snmpagent) ?
> 172.16.4.12 is t
Hi All,
Following is debug/trace message of tool 'snmptrap' while sending
snmpv2c traps. What does '0.0.0.0' means here?
Does the data sent to all interfaces of device (snmpagent) ?
172.16.4.12 is trap destination
Hi,
I am using the '*snmptrap*' command available in *net-snmp* version
5.5 to send an SNMPv3 trap. But we receiving the Engine time as zero at
remote machine so that remote machine is dropping the trap with the error *'Not
in Time Window*'. I tried to set the Engine time as non zero
When a snmptrap arrives and if the server can be resolve OID, it writes a
message without quotes marks, if SNMP-oid is not known, then in quotation
marks. How to make that value always written in quotation marks? example
snmptrap -v 1 -c public localhost '' '' '' '' '' 1.3.6.1.2.1.1.5 s "
When a snmptrap arrives and if the server can be resolve OID, it writes a
message without quotes marks, if SNMP-oid is not known, then in quotation
marks. How to make that value always written in quotation marks? example
snmptrap -v 1 -c public localhost '' '' '' '' '' 1.3.6.1.2.1.1.5 s "
is not right, the snmptrap
command outputs the next error message.
-
Cannot rename /var/lib/net-snmp/snmpapp.conf to /var/lib/net-snmp/snmpapp.0.conf
Cannot unlink /var/lib/net-snmp/snmpapp.conf
Failed to create the persistent directory for /home/x/snmpapp.conf
-
The snmptrap
hi all,
please explain how snmptrap can enable?.
changes in conf file and mibs etc?.
and steps to get output using snmptrap command ..
thankyou.
--
Dive into the World of Parallel Programming. The Go Parallel Website
On Sun, Feb 1, 2015 at 5:40 AM, Ashwini Pagade ashwinipag...@gmail.com
wrote:
Hi Bill,
Thank you for your response.
I think it is not just the dump/log error and incorrect value is
propagated further down the line. I have an snmpV3 adapter which receives
the value. This adapter too gets
Hi Bill,
I found below line is priting the wroung value.
DEBUGMSG((dumpv_recv, UInteger:\t%ld (0x%.2lX)\n, value, value));
Changing %ld to %lu in above line worked for me.
I am also considering SNMPV3 adapter code which might be doing the wrong
conversion.
Thank you..!!
Ashwini
On 2
* (i.e. unsigned) is upto
(2^31) - 1 (i.e. 2147483647). I was expecting it to be (2^32) - 1 (i.e.
4294967295).
snmptrap -c public -v 2c clm-pun-009642 '' 1.3.6.1.4.1.20006.1.0.5
1.3.6.1.4.1.12345.1 u 2147483647
Above command generates following log:
trace: ..\..\snmplib\snmp_api.c, 5293
Hi,
I am using snmpV3 adapter and passing V2 traps to it by using commands as
below. It looks like the range for type *u* (i.e. unsigned) is upto (2^31)
- 1 (i.e. 2147483647). I was expecting it to be (2^32) - 1 (i.e.
4294967295).
snmptrap -c public -v 2c clm-pun-009642
* (i.e. unsigned) is upto
(2^31) - 1 (i.e. 2147483647). I was expecting it to be (2^32) - 1 (i.e.
4294967295).
snmptrap -c public -v 2c clm-pun-009642 '' 1.3.6.1.4.1.20006.1.0.5
1.3.6.1.4.1.12345.1 u 2147483647
Above command generates following log:
trace: ..\..\snmplib\snmp_api.c, 5293
Rizwan Ansari rans...@mvista.com writes:
I looked into IPv4 code and feel like same code is missing under IPv6
section.
Thanks for the patch! Can you submit it to our patch database to make
sure it doesn't get lost?
http://www.net-snmp.org/patches/
--
Wes Hardaker
Parsons
Hi all,
Under IPv6 environment, sent snmptrap after setting clientaddr in
snmp.conf, It is sent from another interface.
Test Details..
[root@cghvhp1 ~]# cat /etc/snmp/snmp.conf
clientaddr 2001:ccc1::2
[root@cghvhp1 ~]#
[root@cghvhp1 snmp]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 2C
Hi,
I was using net-snmp 5.6.2 and have built the code and installed it.
I was using valgrind over snmptrap command.
Following is the command I ran.
valgrind --leak-check=full --log-file=log_snmptrap snmptrap -v 2c -c public
localhost UCD-TRAP-TEST-MIB::demoTrap
Following is the valgrind
avg': | awl '{print $3}')
snmptrap -v 1 -c public 192.168.1.25 '1.2.3.4.5.6' \
'192.168.1.1' 6 99 '55' 1.11.12.13.14.15 s $valor
echo $valor muestras.txt
sleep 1
done
But surprisingly the traps seems to be generated between 10 sec or maybe
Hi All,
I have a kind of baffling situation here.
We have been successfuly sending traps to a Nagios client for a couple of
months. The trap command has the form.
snmptrap -M /usr/local/share/snmp/mibs -v 3 -n \\ [authorization stuff]
[ip number] 0 1.3.6.1.4.1.36070.0.1 0 s string0 1 s
We've figured this out. Thanks.
D.
Hi All,
I have a kind of baffling situation here.
We have been successfuly sending traps to a Nagios client for a couple of
months. The trap command has the form.
snmptrap -M /usr/local/share/snmp/mibs -v 3 -n \\ [authorization stuff]
[ip number] 0
HI
I used snmptrap to send trap from Agent to server . and I use it on linux
Agent and Windows Agent .
Now I want to encrypt Trap sending By SSL . So when I send trap from agent
to server it should use SSL for trap Data .
Do you know How Can I do it ?
Thanks
that would indicate an
over-ride.
The source in the 5.6.1.rc2 /include directory does have:
./net-snmp/library/snmp.h:#define SNMP_TRAP_PORT162 /* standard UDP
port for SNMP
Though I don't see where in snmptrap code that gets used in either version
Very odd!
Thanks for your help
Anyone seen anything like this before using snmptrap? I have an app running on
Solaris8 NET-SNMP 5.4.2.1 (I know it's old - that system is going away) which
seems to
work correctly, but under Solaris 10/NET-SNMP V5.6.1rc2 it fails. It appears
that snmptrap
is using the destination as the source
On 14 August 2012 21:06, Sorrell, Al al_sorr...@troweprice.com wrote:
Anyone seen anything like this before using snmptrap? I have an app running on
Solaris8 NET-SNMP 5.4.2.1 (I know it's old - that system is going away) which
seems to
work correctly, but under Solaris 10/NET-SNMP V5.6.1rc2
Does anyone know how to debug it when snmptrap and snmptrapd do not
work? snmptrapd doesn't show anything! this is my 3rd post, but no one
seems to be interested to help.
I appreciate your help.
--
Live Security
Thank you so much again
Basically, just copy the new MIB files into the directory
where the rest of them live.
Typically this will be something like /usr/share/snmp/mibs
for a vendor-supplied setup
for example for my work that I said you before should I do anything about
MIB?
(receive some
On 26 July 2012 05:51, mohamad hosein jafari smhjafar...@gmail.com wrote:
I set my snmp service to send trap on my IP then I went to my linux (VmWare)
and I do setting about IPtable but I didn't see anything in linux log file
Did you restart the Windows SNMP agent *after* running the iptables
yes I did
but I didn't see anything in log file again
what is problem?
excuse me why my question doesn't make sense ??
I want to know should I do any config in my linux serever for receiving
trap from windows agent?
thanks
On Thu, Jul 26, 2012 at 12:04 PM, Dave Shield
running Debian). Is that correct?
If so, can you please try the following:
On the trap receiver system, run the following:
tail -f /var/log/messages
On the same system (in another window), run the command
snmptrap -v 1 -c public 192.168.150.227
NET-SNMP-EXAMPLES-MIB
yes that is right . that was my friend system that I checked on . but now I
don't have that system .
Is our problem is running snmptrap and receiver on one system??
thnks but can't you help me in our question about linux config? dosn't have
any difference between these two system?
thnks
On Thu
yes that is right . that was my friend system that I checked on . but now I
don't have that system .
Is our problem is running snmptrap and receiver on one system??
thnks but can't you help me in our question about linux config? dosn't have
any difference between these two system?
thnks
On Thu
On 26 July 2012 09:03, mohamad hosein jafari smhjafar...@gmail.com wrote:
yes that is right . that was my friend system that I checked on . but now I
don't have that system .
Is our problem is running snmptrap and receiver on one system??
No - there is no problem with running both trap sender
system that I checked on . but
now I
don't have that system .
Is our problem is running snmptrap and receiver on one system??
No - there is no problem with running both trap sender and trap receiver
on the same system. You've already seen that this works.
The current issue
...@liverpool.ac.ukwrote:
On 26 July 2012 09:03, mohamad hosein jafari smhjafar...@gmail.com
wrote:
yes that is right . that was my friend system that I checked on . but
now I
don't have that system .
Is our problem is running snmptrap and receiver on one system??
No - there is no problem
On 26 July 2012 09:37, mohamad hosein jafari smhjafar...@gmail.com wrote:
but what is problem in running it in one system?
There isn't. What makes you think there might be?
We've already shown that this works.
Why do you think there's still a problem?
Dave
On 26 July 2012 09:32, mohamad hosein jafari smhjafar...@gmail.com wrote:
I test It AND I saw log in my log file :)
Thank you . I got result
Is there any work to do?
You could start by telling me *what* you tested,
and what you saw?
Is this from another Linux system?
Sending traps from the
excuse me
I send trap with other windows agent and saw log file in my linux log file
On Thu, Jul 26, 2012 at 1:13 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 26 July 2012 09:32, mohamad hosein jafari smhjafar...@gmail.com
wrote:
I test It AND I saw log in my log file :)
Thank you
the output is :
2012-07-24 19:15:42 192.168.1.2(via UDP: [192.168.1.2]:58885) TRAP, SNMP
v1, community public
SNMPv2-SMI::enterprises.311.1.1.3.1.1 Link Up Trap (0) Uptime:
0:00:17.63
IF-MIB::ifIndex.37 = INTEGER: 37
in my log file
On Thu, Jul 26, 2012 at 1:16 PM, mohamad hosein
On 26 July 2012 09:46, mohamad hosein jafari smhjafar...@gmail.com wrote:
I send trap with other windows agent and saw log file in my linux log file
So you are now in a state where you can send traps from your
Windows box to a trap receiver. Good
*NOW* you can start to think about what traps
Thank you so much for your helps
Now I set snmptrap config on my first windows system like this link
http://www.helpsystems.com/support/help-facts/configuring-windows-nt-send-snmp-traps-robottrapper
and I selected all service under the agent tab . I want agent that send
trap to my server every
On 26 July 2012 10:14, mohamad hosein jafari smhjafar...@gmail.com wrote:
I want agent that send trap to my server every time continually.
But *what* traps do you want the agent to send?
An SNMP trap is used to report some event or condition.
What events and conditions are you interested in?
This work is in other step of our works
but I think we should get IDS logs from other agent and save them in our
log file(server log file)
so I should configure server completely for getting trap from linux and
windows agents continually
because of this I asked you is any difference between
On 26 July 2012 10:39, mohamad hosein jafari smhjafar...@gmail.com wrote:
because of this I asked you is any difference between linux MIB and windows?
OK - let's address that question, then.
What do you mean by Linux MIB and Windows MIB ?
The reason that I said the question didn't make
yes My means by saying linux MIB is MIB format for linux system
I asked when windows agent send snmp trap as MIB files Is any configure for
my linux server for getting it or no?
Or is linux MIB format is equal to windows MIB format or no?
and my config for getting trap from windows agent was
On 26 July 2012 11:01, mohamad hosein jafari smhjafar...@gmail.com wrote:
My means by saying linux MIB is MIB format for linux system
The format of MIB files is standard - it will be the same on
Linux, Windows, Mac OS, etc, etc.
I asked when windows agent send snmp trap as MIB files
Again -
Thanks
If you have the relevant MIB files, then you can install these
on the linux side in the usual manner. See the on-line
documentation for details.
Can you help me about this more??
And I have another question : Is any script for windows to set all snmp
config that we can use it to set
thanks
But a trap is perfectly valid without the corresponding MIB file.
You can detect and log it, even if you don't have the MIB file.
The only difference is that things will be recorded using
numeric OIDs rather than MIB names. (And named values
will use the numeric value, rather than the
On 26 July 2012 16:32, mohamad hosein jafari smhjafar...@gmail.com wrote:
If you have the relevant MIB files, then you can install these
on the linux side in the usual manner. See the on-line
documentation for details.
Can you help me about this more??
Basically, just copy the new MIB files
Thank you so much again
Basically, just copy the new MIB files into the directory
where the rest of them live.
Typically this will be something like /usr/share/snmp/mibs
for a vendor-supplied setup
for example for my work that I said you before should I do anything about
MIB?
(receive some
On 25 July 2012 04:56, mohamad hosein jafari smhjafar...@gmail.com wrote:
yes I did it
and in the first window I got Log of my snmptrap instruction
Good - that's progress
But excuse me I have another question :
How I can senf snmptrap by windows Agent?
can you help me?
Too hasty you
-robottrapper
ThankS
On Wed, Jul 25, 2012 at 12:29 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 25 July 2012 04:56, mohamad hosein jafari smhjafar...@gmail.com
wrote:
yes I did it
and in the first window I got Log of my snmptrap instruction
Good - that's progress
But excuse me I
On 25 July 2012 09:33, mohamad hosein jafari smhjafar...@gmail.com wrote:
yes :) I think I,m too hasty
because I have a limit time
In which case, you can't affort to race ahead of yourself!
You should also get in the habit of providing the *full* information
that I ask for. That will save
In which path?
What is the full location of this file?
in the path that you said
/etc/snmp/snmpd.conf
Is this the exact line as it appears in the file?
Or is there an actual IP address there?
If so - what is it?
No I replaced my system IP address like 192. by IP ADDRESS name
'snmptrap' was using the IP address
192.168.150.227, then I assume that the line in /etc/snmp/snmpd.conf
actually reads
trap2sink 192.168.150.227public
Is this correct?
Dave
--
Live Security Virtual Conference
is still running in your first window,
(and if not, then restart this first, and check it's working using the
same 'snmptrap' command as before).
then please try restarting the 'snmp' agent.
I seem to remember that you said you were working with a CentOS box.
In which case, the command to do
that the 'snmptrapd' command is still running in your first
window,
(and if not, then restart this first, and check it's working using the
same 'snmptrap' command as before).
then please try restarting the 'snmp' agent.
I seem to remember that you said you were working with a CentOS box
On 25 July 2012 11:04, mohamad hosein jafari smhjafar...@gmail.com wrote:
I restart it
and I saw in first window:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (97) 0:00:00.97
SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart
SNMPv2-MIB::snmpTrapEnterprise.0 = OID:
Yes I did it and I found this line
when I type this command : ls -ltr /var/log | tail
-rw-r--r-- 1 root root 25 Jul 24 14:09 snmptraps.log
On Wed, Jul 25, 2012 at 2:45 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 25 July 2012 11:04, mohamad hosein jafari
and when I use this command :
tail -20 /var/log/messages
I found :
Jul 24 14:09:43 my-pc snmptrapd[5079]: NET-SNMP version 5.3.2.2
as the last line
On Wed, Jul 25, 2012 at 3:09 PM, mohamad hosein jafari
smhjafar...@gmail.com wrote:
Yes I did it and I found this line
when I type this command
On 25 July 2012 11:52, mohamad hosein jafari smhjafar...@gmail.com wrote:
and when I use this command :
tail -20 /var/log/messages
I found :
Jul 24 14:09:43 my-pc snmptrapd[5079]: NET-SNMP version 5.3.2.2
as the last line
Right - so that's where incoming traps are being logged.
Now try
yes it happened
On Wed, Jul 25, 2012 at 3:45 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 25 July 2012 11:52, mohamad hosein jafari smhjafar...@gmail.com
wrote:
and when I use this command :
tail -20 /var/log/messages
I found :
Jul 24 14:09:43 my-pc snmptrapd[5079]: NET-SNMP
On 25 July 2012 12:21, mohamad hosein jafari smhjafar...@gmail.com wrote:
yes it happened
Good - so you know that the trap receiver is working properly.
Now you can start looking at your Windows machine!
Fire up a command window, and type the same 'snmptrap'
command that you used before
C:\usr\bin\snmptrap ..
Does that help at all?
Dave
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond
...@gmail.com
wrote:
yes I tried command on CMD
but cmd can't find instruction
and I didn't get any result
OK.
Have you got the Net-SNMP package installed on your Windows box?
If so, I believe the command will probably be something like
C:\usr\bin\snmptrap ..
Does that help
On 25 July 2012 14:04, mohamad hosein jafari smhjafar...@gmail.com wrote:
I downloaded for linux and windows
But I didn't install it on windows.
So you are using the Microsoft-provided SNMP agent,
rather than the Net-SNMP agent - is that correct?
That is quite an important distinction - so
Yes I used Microsoft provided by that step that was in that link that I
sent before
So what is your opinion about it? My cmd don't know any snmp and snmptrap
command But I do microsoft configuration for snmp
what can I do?
On Wed, Jul 25, 2012 at 5:43 PM, Dave Shield d.t.shi
On 25 July 2012 14:23, mohamad hosein jafari smhjafar...@gmail.com wrote:
Yes I used Microsoft provided by that step that was in that link that I sent
before
So what is your opinion about it? My cmd don't know any snmp and snmptrap
command But I do microsoft configuration for snmp
what can
...@liverpool.ac.ukwrote:
On 25 July 2012 14:23, mohamad hosein jafari smhjafar...@gmail.com
wrote:
Yes I used Microsoft provided by that step that was in that link that I
sent
before
So what is your opinion about it? My cmd don't know any snmp and snmptrap
command But I do microsoft configuration for snmp
On 25 July 2012 19:29, mohamad hosein jafari smhjafar...@gmail.com wrote:
Yes I did this config snmp service to 192.168.150.227
and after restart agent
I couldn't find this path ( /var/log/messages)in my windows command line .
why?
Think about what's happening here.
You are sending traps
Yes
but my agent and server in once .
I set my snmp service to send trap on my IP then I went to my linux
(VmWare)
and I do setting about IPtable but I didn't see anything in linux log file
So I have a question:
IS THERE any different between Linux MIB file and windows MIB file? OR
should I have
On 24 July 2012 01:24, mohamad hosein jafari smhjafar...@gmail.com wrote:
I set snmptrap configure and then I change these conf file but I can't fine
/etc/default/snmptrap.conf
First thing - are you talking about snmptrap or snmptrapd?
These are very different!
Secondly, /etc/default
: No such file or directory
Probably not :-)
- but about I think I have problem in snmptrapd.conf because when I run
snmptrap I don't have any error
Again - are you talking about snmptrap, or snmptrapd?
What exactly do you mean by run snmptrap
If you run the command snmptrap with no options,
then you
Thanks my friend
I want to use snmptrap but I think first of all I should config snmptrapd
on my server to receive snmp information on server .Am I Right??? Or Please
tell me true thing
I run snmp trap demon and I get answer like this
]# snmptrapd -f -C -c /tmp/snmptrapd.conf -Le
You
On 24 July 2012 08:58, mohamad hosein jafari smhjafar...@gmail.com wrote:
I want to use snmptrap but I think first of all I should config snmptrapd on
my server to receive snmp information on server .Am I Right???
Correct
my snmptrapd.conf is in /etc/snmp/snmptrapd.conf
So why were you
to use snmptrap but I think first of all I should config
snmptrapd on
my server to receive snmp information on server .Am I Right???
Correct
my snmptrapd.conf is in /etc/snmp/snmptrapd.conf
So why were you telling snmptrapd to look in /tmp ?
If your snmptrapd.conf file is under /etc/snmp
On 24 July 2012 09:10, mohamad hosein jafari smhjafar...@gmail.com wrote:
I use these command
and I get this answer:
NET-SNMP version 5.3.2.2
couldn't open udp:162 -- errno 98 (Address already in use)
OK - that shows you've already got a trap receiver running.
Shut that down, and try again
you means I use Killall snmptrap command?
On Tue, Jul 24, 2012 at 12:41 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 24 July 2012 09:10, mohamad hosein jafari smhjafar...@gmail.com
wrote:
I use these command
and I get this answer:
NET-SNMP version 5.3.2.2
couldn't open udp
and why I can't find
/etc/default/snmptrap.conf
???
can you help me?
On Tue, Jul 24, 2012 at 12:46 PM, mohamad hosein jafari
smhjafar...@gmail.com wrote:
you means I use Killall snmptrap command?
On Tue, Jul 24, 2012 at 12:41 PM, Dave Shield
d.t.shi...@liverpool.ac.ukwrote:
On 24
On 24 July 2012 09:16, mohamad hosein jafari smhjafar...@gmail.com wrote:
you means I use Killall snmptrap command?
No
You are still getting confused between snmptrap and snmptrapd
snmptrapd is the trap receiver - the program that runs all the time, listening
for incoming traps and processing
NET-SNMP version 5.3.2.2 Stopped.
--
On Tue, Jul 24, 2012 at 1:10 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 24 July 2012 09:16, mohamad hosein jafari smhjafar...@gmail.com
wrote:
you means I use Killall snmptrap command?
No
You are still getting confused
again,
and make sure it gives the same
NET-SNMP version 5.3.2.2
output. (With no mention of access control)
Assuming that works, and while it is still running in one terminal window.
try running the
snmptrap -v 1 -c public 192.168.150.227
NET-SNMP-EXAMPLES-MIB::netSnmpExampleNotification 6
yes I did it
and in the first window I got Log of my snmptrap instruction
thanks
But excuse me I have another question :
How I can senf snmptrap by windows Agent?
can you help me?
Thanks
On Tue, Jul 24, 2012 at 4:40 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 24 July 2012 12:19
Hi
I set snmptrap configure and then I change these conf file but I can't fine
/etc/default/snmptrap.conf
So when I run a snmptrap instruction on my agent this instruction run but I
don't have anything in my log file
can you help me? ot can you tell me snmptrap step by step?
thanks
-- Forwarded message --
From: mohamad hosein jafari smhjafar...@gmail.com
Date: Tue, Jul 24, 2012 at 9:13 AM
Subject: Re: SNMPTRAP doesn't work
To: Mohammad Waqas Athar mohwaqa...@hotmail.com
Thanks
I run snmp trap demon and I get answer like this
]# snmptrapd -f -C -c /tmp
to diagnose where
is the problem .
Regards,
Muhammad Waqas.
Date: Tue, 24 Jul 2012 09:13:44 +0430
Subject: Re: SNMPTRAP doesn't work
From: smhjafar...@gmail.com
To: mohwaqa...@hotmail.com
Thanks
I run snmp trap demon and I get answer like this]# snmptrapd -f -C -c
/tmp/snmptrapd.conf -Le
snmptrapd.conf is located in tmp directory /tmp/snmptrapd.conf.Try reducing
you snmptrapd.conf options and first try to make it run then try to
diagnose where is the problem .
Regards,
Muhammad Waqas.
--
Date: Tue, 24 Jul 2012 09:13:44 +0430
Subject: Re: SNMPTRAP doesn't
Hi
I have a problem about snmptrap
I want to set snmptrapd config on agent and server because I want to
sent my Alert(agent alert) to server
I do this work on server side by run snmpwalk on server and get
message and save MIB file on server but I want to do this work on
agent side and send my
1 - 100 of 376 matches
Mail list logo