> On Thu, 27 May 2010 20:38:25 +0100, Joao Ferreira gmail
> said:
JF> perl do "/path/to/script.pl" to fire-up a sub-agent...
JF> Where can I find the STDOUT and STDERR of my script ? can I redirect
JF> them some how ?
STDOUT and STDERR get redirected to the same stdout/stderr of the
ag
> On Thu, 27 May 2010 17:33:21 -0400, X Z said:
XZ> Is the last line expected behavior since it is the last MIB loaded?
Yes
XZ> How to check the order of all loaded MIBs?
The NET-SNMP-AGENT-MIB::nsModuleTable will tell you all the registered
MIBs if it's a net-snmp agent.
XZ> 2. From the
> On Thu, 27 May 2010 17:06:41 +, Mariano Bunirigo
> said:
MB> I want to configure the snmptrapd service to redirect the traps
MB> received to an application of my own which must process the traps and
MB> save the information received to a database.
Use Net-SNMP version 5.5 or highe
> On Thu, 27 May 2010 14:19:19 +0530, Vinod Nanjaiah
> said:
VN> Are there any strategies in sqlite for avoiding Databases getting
VN> into an inconsistent state due to an application crash, system
VN> crash, etc.
VN> One scenario could be that my application is writing onto a DB file
V
> On Thu, 27 May 2010 12:09:32 +0700, Mishustin Kirill
> said:
MK> I need to change net-snmp agent's EngineID to another value. The
MK> problem is, there are few users already configured, and It will be
MK> very bad if those will be lost.
MK> Is there any way to "migrate" already genera
On Thu, 2010-05-27 at 16:03 -0700, Montaseri wrote:
> what is "perl do" you seem to be on Unix (from the path)
>
"perl do" !?! man snmpd.conf :)
it's a directive understood by snmpd in order to launch Perl agent
extension scripts...
Yes. I am on Linux.
Joao
> Just say
> perl /path/to
Hello, all.
I need to change net-snmp agent's EngineID to another value. The problem
is,
there are few users already configured, and It will be very bad if those
will be lost.
Is there any way to "migrate" already generated user keys from one EngineID
to another? If it can't be done by means o
what is "perl do" you seem to be on Unix (from the path)
Just say
perl /path/to/script.pl 2>&1 /tmp/myLogFile
Let me know
Medi
On Thu, May 27, 2010 at 3:18 PM, Joao Ferreira gmail <
joao.miguel.c.ferre...@gmail.com> wrote:
> tried this:
>
> perl do "/path/to/script.pl >>/tmp/myLogFile 2>&1"
tried this:
perl do "/path/to/script.pl >>/tmp/myLogFile 2>&1"
but it did not work...
Joao
On Thu, 2010-05-27 at 13:44 -0700, Montaseri wrote:
> At least on Unix, you can easily redirect both STDOUT and STDERR by
> saying
>
> script 1> /tmp/stdout.txt 2> /tmp/stderr.txt
>
> or send both to t
Hi,
I have two questions on Net-SNMP 5.5:
1. snmpwalk on SNMP-VIEW-BASED-ACM-MIB gives the
following:..SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."_none_".1.1
= INTEGER:
active(1)SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."_none_".1.2 =
INTEGER:
active(1)SNMP-VIEW-BASED-ACM-
At least on Unix, you can easily redirect both STDOUT and STDERR by saying
script 1> /tmp/stdout.txt 2> /tmp/stderr.txt
or send both to the same file with
script 2>&1 /tmp/both.txt # reads , send stderr to where stdout
goes
Cheers
Medi
On Thu, May 27, 2010 at 12:38 PM, Joao Ferreira
Hi, Les
I understand your point.
But I need to build a windows service which receives a SNMP trap from
differente devices, process them and save the info in a Sql Server Database.
That´s why a manager console tool is not a solution for me, maybe a made a
mistake with the Subject.
So, I thoug
Hello all,
I'm using the
perl do "/path/to/script.pl" to fire-up a sub-agent...
Where can I find the STDOUT and STDERR of my script ? can I redirect
them some how ?
Or, alternatively, what would be the recommended approach for logging
(instead of printing) from within the perl script ?
Even so
> From: Joan Landry [mailto:joan.lan...@overturenetworks.com]
> Instead of using trap2sink you need to use trapsess
Straight out of snmpd.conf man pages:
"[trapsess] is the appropriate directive for defining SNMPv3 trap
receivers. See
http://www.net-snmp.org/tutorial/tutorial-5/commands/snmpt
> From: Joan Landry [mailto:joan.lan...@overturenetworks.com]
> I am doing the same thing and have found after several days of trial
and
> error that the following works for sending v3 traps in snmpd.conf
> Instead of using trap2sink you need to use:
> trapsess -l authPriv -u v3user2 -a MD5 -A abc
I am doing the same thing and have found after several days of trial and
error that the following works for sending v3 traps in snmpd.conf
Instead of using trap2sink you need to use:
trapsess -l authPriv -u v3user2 -a MD5 -A abcdefgh -x DES -X abcdefgh
10.11.12.171\n");
And this for sending inform
Apologies if this is better suited to the coders list, I'm hoping I
can accomplish my task with some clever manipulation of snmpd.conf.
I maintain an embedded v5.4.1 installation that includes a number of
enterprise-specific traps. These are generated using send_v2trap().
V2C traps work ju
Hi,
I have downloaded a bunch of Cisco mib files in /tmp/mibs/*.my
I have downloaded tkmib(1).
I added $HOME/.snmp/snmp.conf and put the following line in it
midirs +/tmp/mibs
I go the /tmp/mibs and start tkmib
I was expecting to see the Cisco mib files loaded and parsed and displayed.
I only see
On 5/27/2010 12:06 PM, Mariano Bunirigo wrote:
> Hello,
>
> I want to configure the snmptrapd service to redirect the traps received
> to an application of my own which must process the traps and save the
> information received to a database.
>
> But I can't understand how to develop a listener for
Hello,
I want to configure the snmptrapd service to redirect the traps received to an
application of my own which must process the traps and save the information
received to a database.
But I can't understand how to develop a listener for the traps using the
Net-Snmp API library. I saw the sn
Thanks again, I try that command and the result is:
*Microsoft Windows [Versión 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\victor>c:\usr\bin\snmpd.exe -f -Lo
_ *<-blink
And just stop there, nothing more is showed. Then, i open and other CMD
windows an try
Hi
I am developing a simple C++ program with the latest release of NET SNMP
(5.5) and I am having a problem while connecting to some SNMP devices... but
it works well with almost all examples I tried.
The program tries to connect to the target via IP and returns a "snmp walk":
all oids list and v
On Thu, May 27, 2010 at 4:32 PM, Toro wrote:
> Thanks for the answer, I try it, and the result is:
> *
> Original:
> C:\Users\victor>net start "net-snmp agent"
> El servicio de Net-SNMP Agent está iniciándose.
> El servicio de Net-SNMP Agent no ha podido iniciarse.
>
> Error de sistema.
>
> Erro
Thanks for the answer, I try it, and the result is:
*
Original:
C:\Users\victor>net start "net-snmp agent"
El servicio de Net-SNMP Agent está iniciándose.
El servicio de Net-SNMP Agent no ha podido iniciarse.
Error de sistema.
Error de sistema 1067.
El proceso ha terminado de forma inesperada. *
On Thu, May 27, 2010 at 10:50 AM, Toro wrote:
> Myabe I forget something, but, I remember how I installed NET-SNMP agent in
> Windows XP. Now, I'm trying to install the NET-SNMP agent in Windows Vista,
> but I'm unable to do it.
> I only get a bunch of errors, I googled for it, but no luck.
>
>
Hi,
I Require some help regarding the SNMP agent setting for Managing
traps/Informs.
1. IP address override for v1 version
How to override the Ip address of the agent, to send the dummy IP address,
instead of the actual eth0 ipaddress.
2. Is there any way we can set the Number o
Hi
During my proxy extension I encountered the following behaviour (of the
original proxy module), which I don't understand
my stetup:
- one agent simply acting as a proxy (for simplicity just proxiing one OID
to another agent)
- a second agent B, which gets the requests from the proxy.
I sta
Myabe I forget something, but, I remember how I installed NET-SNMP agent in
Windows XP. Now, I'm trying to install the NET-SNMP agent in Windows Vista,
but I'm unable to do it.
I only get a bunch of errors, I googled for it, but no luck.
So, the question is, Is possible to install NET-SNMP agent o
Hi,
Are there any strategies in sqlite for avoiding Databases getting into an
inconsistent state due to an application crash, system crash, etc.
One scenario could be that my application is writing onto a DB file when the
application crashes.
When the application comes up next, it would most lik
Hi,
I Require some help regarding the SNMP agent setting for Managing traps/Informs.
1. IP address override for v1 version
How to override the Ip address of the agent, to send the dummy IP address,
instead of the actual eth0 ipaddress.
2. Is there any way we can set the Number of retri
30 matches
Mail list logo