I have downloaded the Net-SNMP 5.1.2 source code and successfully built it
on Windows 2000 using a Cygwin bash shell and the Cygwin gcc 3.3.3 compiler.
I built using the Cygwin instructions in the README.win32 and README file
("configure" followed by "make"). However, when I perform the "make
Is there documentation or a code example on how I can generate a trap?
Specifically , how do I trigger a trap or issue a trap generation?
Thanks in advance.
Jose Dragone
IT Engineer
Systems Unix Adminitra
Title: anti-whining
> Now if you'd like to discuss paid support, then that's
> another matter. Until
> then, no whining please.
I was recently pleasantly surprised when I got an email about a fix for a bug that I filed on SF.net. I had reported it months ago, and thought that it went unsolv
Hi All,
i'm a newbie to Net-SNMP and i only know what i've been reading.
I still have one (basic?) question.
I have a my own MIB. It is referenced in snmpd.conf, i launch snmpd
successfully i can make some successfull snmpget (and snmpset) of .system
branch variables.
When i try to ask some ques
Good day,
> Try putting
>
> #undef OSTYPE
> #define OSTYPE UNKNOWNID
>
> in agent/mibgroup/ucd-snmp/proc.c, before all the code starts (around line
> 73)
> and see if that works.
That definitely sounds familiar. Thanks for your help!
Is there a better way to do this, BTW? I would guess t
On Sat, 16 Oct 2004 06:04:12 -0700 (PDT) T. wrote:
TSN> Since I want to Extract the V1, V2 and V3 code
TSN> from the net-snmp source package, I would like to know
TSN> details of the net-snmp. If somebody has a document
TSN> describing the architecture/code details of net-snmp,
TSN> it will be
On Mon, 18 Oct 2004 15:49:15 -0600 Darren wrote:
DG> I asked this question on the list a couple of years or so ago, but I can't
DG> seem to find the post anywhere in the archives. My apologies for asking
DG> this question again...
Don't worry, any delay in terms of years is completely acceptable!
On Mon, 18 Oct 2004 13:57:04 +0100 Dave wrote:
DS> > I'd like to change the community strings from remote snmp manager.
DS> > Is this possible?
DS>
DS> No. Not with the Net-SNMP agent at least.
Well, you *could* do it with an ugly hack involving shell scripts to munge the
conf files and restart
On Mon, 18 Oct 2004 09:28:19 +0200 Thomas wrote:
TA> Jean-Michel Favre wrote:
TA> > I'am at present testing embedded perl both as an
TA> > extension of snmpd and snmptrapd. (net-snmp 5.2.pre2).
TA> >
TA> > The perl extension to snmptrapd consumes a large amount of
TA> > memory even when the perl
On Thu, 14 Oct 2004 18:55:43 +0200 Giovanni wrote:
GT> Do You know some snmptrap daemon which support multi-threading process ? I
GT> don't think I am able to path snmptrapd.
No, sorry, I don't keep up with the competition. For links to other vendors,
try www.snmplink.org.
--
Robert Story; NET-S
On Mon, 18 Oct 2004 12:17:12 +0100 Dave wrote:
DS> > After upgrading to 5.1.2-5 again, I did some more tests. When the total
DS> > amount of data is below 4k, snmpd works but truncates the output of my
DS> > script at 1023 bytes. If the total amount of data is above 4k, snmpd
DS> > hangs.
DS>
DS>
On Mon, 18 Oct 2004 18:38:24 +0100 Tony wrote:
TS> Just wondering... Is anyone looking into this problem? Is this a known
TS> problem or... ?
No, it's not a known problem.
TS> -Original Message-
TS> I applied the patch. It ran for about 15 mins and stopped at this
TS>
TS> snmpd/select: s
On Tue, 12 Oct 2004 18:56:50 -0400 Andy wrote:
AS> What about moving it up a level into snmp.conf, or if we are spwaning
AS> more config files then maybe snmptools.conf.
gack! blech! ptuii! No, no spawning of new config files. We already have to
check for too many as is.
AS> The applications s
On Wed, 13 Oct 2004 07:09:44 +0930 don wrote:
DH> > Not presently, but there are two interesting idea there. One (sending to
DH> > multiple ip addresses from the command line) has been brought up before.
DH> > The other, using a conf file, is new. I'm not sure that reading
DH> > snmpd.conf would b
On 20 Oct 2004 15:55:59 +0530 ujjwal wrote:
U> With your suggestions and adding extern 'c' to some missing places I
U> managed to build and run the agent without any mib modules.
Patches would be greatly appreciated.
U> But one problem which I found is that the net-snmp-config.h file
U> generated
>Again they should seriously reward the support on this. No question.
So, contact "them" and nominate us.
I understand the Nobel is available. The question is, what category?
Probably a tossup between "Peace" and "economics".
This communication is intended for the use of the recipient to whic
Just imnplemented the traps into the agent. Works like a charm. I wrote a
perl script which dumps all traps.
Again they should seriously reward the support on this. No question.
Cheers,
Garyc
- Original Message -
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Gary Clark" <[EMAIL PROTECTED]
Hello...
I am trying to send a trap with a multi-line field.
.
char user_string[500];
.
strcpy(user_string ,"\r\nLINE 1\r\nLINE 2\r\nLINE 3");
.
if (snmp_add_var(pdu, name, name_length, 's', user_string)) {
printf("nyalr_snmp_set_alarme snmp_add_var steAlrLastTexte");
Ahh ''mib2c -c mib2c.notify.conf' would seem to be the magic charm I'm
seeking.
Much appreciated,
Garyc
- Original Message -
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Gary Clark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 20, 2004 8:54 AM
Subject: Re: trap que
> I have just found an example.
>
> In /net-snmp/agent/mibgroup/example/notification.c
>
> I will use this code if thats Ok?
Yup - that's a reasonable place to start.
Another is to run
'mib2c -c mib2c.notify.conf'
on your MIB.
But both of these are prima
Hi Dave,
I have just found an example.
In /net-snmp/agent/mibgroup/example/notification.c
I will use this code if thats Ok?
Cheers,
Garyc
- Original Message -
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Gary Clark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 2
Hi Dave,
> What do you mean by "pull a link" ?
My apologies. On our board we have optical fibers referred to as links. When
a link is pulled its state changes from IN-SERVICE
to OUT-OF-SERVICE. The oid associated with this link is of
NOTIFICATION_TYPE.
> Sorry - that doesn't make sense.
> NOTIFIC
Hi,
With your suggestions and adding extern 'c' to some missing places I
managed to build and run the agent without any mib modules.
But one problem which I found is that the net-snmp-config.h file
generated by configure script for --with-cc="g++" is missing some of the
#defines like STRTOL, STRT
> today, I found 5.2pre3 source.
>
> please tell us 5.2 release schedule.
It's "imminent".
5.2.pre3 is intended as the last of the pre-releases,
and we plan to have the first release candidate (5.2.rc1)
available within the next week (assuming things don't slip).
Based on the feedback from that,
> 4) Pull a link which has an associated MIB oid type of NOTIFICATION_TYPE
What do you mean by "pull a link" ?
> So if I set a value in the NOTIFICATION object
Sorry - that doesn't make sense.
NOTIFICATION-TYPE objects don't have values,
and you can't SET them.
You can specify a NOTIFICATION
> I have written an application with a function interface for a snmp-agent.
> Now my application is more than two files big. Is it possible to integrate
> a own written lib into the net-snmp build tree?
Yes.
> At the moment I add my own files with configure script e.g.
> --
Hello,
I have written an application with a function interface for a snmp-agent.
Now my application is more than two files big. Is it possible to integrate a
own written lib into the net-snmp build tree?
At the moment I add my own files with configure script e.g.
-
27 matches
Mail list logo