--===============0495910284==
Content-Type: multipart/alternative;
boundary="----=_Part_31458_20783783.1207905995955"

------=_Part_31458_20783783.1207905995955
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

well, so snmptrapd is configured to accept all traps and also igonore
authentication failures. The community configured is 'public'. And when i
start snmpd, a coldstart trap is sent out which is correctly received.

compiling with -Dexamples_notification gives no particular indication in th=
e
log file. I am pretty certain that the code is not being executed. I just 2
lines of code to simply create a file 'testing.txt' in the
init_notification() function, which is supposed to called. But i can't see
that file newhere. So im assuming the code is not being called. However
using net-snmp-config, i am sure that notification module is compiled in th=
e
agent.

any clues???

On Fri, Apr 11, 2008 at 2:52 PM, Dave Shield
wrote:

> On 10/04/2008, Mike Ayers wrote:
> > What traps are you expecting to receive that you are not?

>
> If Suyash has compiled in the 'examples/notification' module,
> then presumably the netSnmpExampleHeartbeatNotification
> trap. Since that's precisely what this module does.
>
>
>
> > > I compiled snmpd version 5.4.1 with
> > > =96with-mid-modules=3D"examples/notification" option. Now this
> > > compiles fine and snmptrapd receives the coldstart trap from
> > > snmpd when I run it.

>
> OK - so snmpd.conf is configured to send traps to your
> trap receiver.
>
> > > However there are no other traps generated by snmpd.

>
> Try running the agent using the option '-Dexample_notification'
> What debug output does it generate?
>
> Dave
>


------=_Part_31458_20783783.1207905995955
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

well, so snmptrapd is configured to accept all traps and also igonore authe=
ntication failures. The community configured is 'public'. And when =
i start snmpd, a coldstart trap is sent out which is correctly received. r>

compiling with -Dexamples_notification gives no particular indication i=
n the log file. I am pretty certain that the code is not being executed. I =
just 2 lines of code to simply create a file 'testing.txt' in the i=
nit_notification() function, which is supposed to called. But i can't s=
ee that file newhere. So im assuming the code is not being called. However =
using net-snmp-config, i am sure that notification module is compiled in th=
e agent.


any clues???

On Fri, Apr 11, 2008 at =
2:52 PM, Dave Shield <.T.Shield@liverpool.ac.uk">D.T.=
Shield@liverpool.ac.uk> wrote:
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8=
ex; padding-left: 1ex;">
On 10/04/2008, Mike Ayers < ayers@tvworks.com">mike_ayers@tvworks.com> wrote:

>         What traps are you expecting to receive th=
at you are not?



If Suyash has compiled in the 'examples/notification' module,=


then presumably the netSnmpExampleHeartbeatNotification

trap.   Since that's precisely what this module does.







>  > I compiled snmpd version 5.4.1 with

>  > =96with-mid-modules=3D"examples/notification" opt=
ion. Now this

>  > compiles fine and snmptrapd receives the coldstart trap fro=
m

>  > snmpd when I run it.



OK - so snmpd.conf is configured to send traps to your

trap receiver.



>  > However there are no other traps generated by snmpd.



Try running the agent using the option '-Dexample_notification&#3=
9;

What debug output does it generate?



Dave




------=_Part_31458_20783783.1207905995955--


--===============0495910284==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
--===============0495910284==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============0495910284==--