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
On 26 July 2012 16:32, mohamad hosein jafari 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 into the di
I've written a small C++ program and now execute this to handle traps. Still
have the same problem though. Works OK when snmptrapd is run on the command
line but not as a service. I set the permission on the file so everything has
read/write. I'm not sure what user the service runs as (how do I
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
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
On 26 July 2012 11:23, Naama Bar Menachem
wrote:
> I've added the import statement, and recompiled.
> And still, on RowStatus set - I get a timeout error.
Obvious questions first:
- what is the exact SET request that you are using?
- what are the access control settings in the snmpd.conf
I've added the import statement, and recompiled.
And still, on RowStatus set - I get a timeout error. Same for when I
"walk" the table (stuck when need to get RowStatus data)
It would be very helpful to see an example "C" file, if such exists.
Thank you,
Naama
-Original Message-
From: d
On 26 July 2012 11:01, mohamad hosein jafari 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 - that doesn'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 fin
On 26 July 2012 10:39, mohamad hosein jafari 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 sense, is
that as
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 lin
On 26 July 2012 10:14, mohamad hosein jafari 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?
>
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 t
On 26 July 2012 09:46, mohamad hosein jafari 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 you want to generate
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
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 wrote:
> On 26 July 2012 09:32, mohamad hosein jafari
> wrote:
> > I test It AND I saw log in my log file :)
> > Thank you . I got result
> >
> > Is there any work t
On 26 July 2012 09:32, mohamad hosein jafari 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 Windows box?
or wha
On 26 July 2012 09:37, mohamad hosein jafari 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
---
but what is problem in running it in one system?
On Thu, Jul 26, 2012 at 1:02 PM, mohamad hosein jafari <
smhjafar...@gmail.com> wrote:
> Yes
>
> I test It AND I saw log in my log file :)
>
> Thank you . I got result
>
> Is there any work to do?
>
>
> On Thu, Jul 26, 2012 at 12:47 PM, Dave Shield
On 26 July 2012 09:28, Naama Bar Menachem
wrote:
> I am sorry! I accidently sent you one of my experiments...
> Here is the correct command and files:
It's OK - the problem is the same in both cases.
You are using the type 'RowStatus' in your MIB file, but you aren't
importing it.
So the SNMP too
Yes
I test It AND I saw log in my log file :)
Thank you . I got result
Is there any work to do?
On Thu, Jul 26, 2012 at 12:47 PM, Dave Shield wrote:
> On 26 July 2012 09:03, mohamad hosein jafari
> wrote:
> > yes that is right . that was my friend system that I checked on . but
> now I
> > do
On 26 July 2012 09:05, Naama Bar Menachem
wrote:
> mib2c -c mib2c.iterate.conf nsCommonConfigDataForwardPolicyRoute
You said that you were working with "raw tables", but this command uses
the iteration helper. Please explain?
Dave
-
On 26 July 2012 09:03, mohamad hosein jafari 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 and trap receiver
o
Mailed all the details in another mail, but it is held until the list
moderator can review it for approval (because it is big).
Please notify me if you won't receive it soon.
Naama
-Original Message-
From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of
Dave Shield
Sent:
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 07:07, Naama Bar Menachem
wrote:
> My tables are actually kept in kernel, and not in agent itself
Do you have an API call that will remove an entry from this table?
> After adding RowStatus column, mib2c created a c file with variables
> with the names "xNotifyRowStatus" and
On 26 July 2012 08:44, mohamad hosein jafari wrote:
> yes I did
> but I didn't see anything in log file again
> what is problem?
I don't know - that's what we need to work out.
I seem to remember you saying that you have two Linux systems available
(one running CentOS, and one running Debian).
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 wrote:
> On 26 July 2012
On 26 July 2012 05:51, mohamad hosein jafari 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" command?
> So I h
30 matches
Mail list logo