Re: [Bulk] Re: [Bulk] Re: What am I missing (traps/notifications)

Ben Z <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Sorry, compiled it with debugging off :(



On Thu, 2005-08-11 at 15:09, Gary Clark wrote:
> Can you run snmpd -D? This should dump the /var/snmpd.log. Have you modified
> snmpd.conf?
> 
> Thanks,
> Garyc
> 
> 
> ----- Original Message -----
> From: "Ben Z" <[email protected]>
> To: "Gary Clark" <[email protected]>
> Sent: Thursday, August 11, 2005 1:32 PM
> Subject: Re: [Bulk] Re: What am I missing (traps/notifications)
> 
> 
> > Great! Thank you for the quick response.
> >
> > I am only really interested in coldStart traps for now, but they don't
> > seem to be getting sent. I've used Ethereal and logging to verify.
> > Would there be a good first place to start debugging?
> >
> > Regards,
> >
> >
> > Ben Z
> >
> > On Thu, 2005-08-11 at 14:06, Gary Clark wrote:
> > > yes it can send traps but you need to add code to the agent to send your
> > > traps. By default when you start
> > > your agent a coldStart trap is sent.
> > >
> > > Thanks,
> > > Garyc
> > >
> > > ----- Original Message -----
> > > From: "Ben Z" <[email protected]>
> > > To: "Ben Z" <[email protected]>;
> <[email protected]>
> > > Sent: Thursday, August 11, 2005 11:03 AM
> > > Subject: Re: What am I missing (traps/notifications)
> > >
> > >
> > > > Anyone?
> > > >
> > > > Can the agent be compiled to send traps??
> > > >
> > > > Thx,
> > > >
> > > > BZ
> > > > --- Ben Z <[email protected]> wrote:
> > > >
> > > > > Whoops sorry, let me try that again... i guess i
> > > > > copy-paste twice :S
> > > > >
> > > > > ./configure \
> > > > >  --build=i386-unkown-freebsd4.9 \
> > > > >  --disable-applications \
> > > > > --enable-notification \
> > > > >  --disable-manuals \
> > > > > --with-mib-modules="notification disman/event-mib"\
> > > > > --with-out-mib-modules="agentx snmpv3mibs" \
> > > > >  --disable-scripts \
> > > > >  --enable-mini-agent \
> > > > > --without-kmem-usage \
> > > > > --without-rpm \
> > > > > --with-logfile=/var/log \
> > > > > --with-sys-location=RadialinkNetwork \
> > > > > [email protected] \
> > > > > --with-default-snmp-version=2 \
> > > > >   --with-persistent-directory=/var/ucd-snmp \
> > > > > --enable-ucd-snmp-compatibility \
> > > > > --with-transports="UDP" \
> > > > > --with-out-transports="TCP Unix Callback" \
> > > > > --enable-static \
> > > > > --disable-shared \
> > > > > LDFLAGS=-lm
> > > > > --- Ben Z <[email protected]> wrote:
> > > > >
> > > > > > Hi all;
> > > > > >
> > > > > > I am trying to compile a minimal agent for an
> > > > > > embedded
> > > > > > system, and I would like for it to send basic
> > > > > > notifications for now (coldStart, etc).
> > > > > >
> > > > > > I have read and read through the documentation,
> > > > > and
> > > > > > from the bits and pieces I picked up, I have
> > > > > > gathered
> > > > > > (maybe mistakenly) that sending these traps from
> > > > > the
> > > > > > agent is possible....
> > > > > >
> > > > > > Can someone tell me what I am doing wrong?? Here's
> > > > > > the
> > > > > > configuration directives I am using:
> > > > > >
> > > > > > ./configure \
> > > > > >  --build=i386-unkown-freebsd4.9 \
> > > > > >  --disable-applications \
> > > > > > --enable-notification \
> > > > > >  --disable-manuals \
> > > > > > --with-mib-modules="notification
> > > > > disman/event-mib"\
> > > > > > --with-out-mib-modules="agentx snmpv3mibs" \
> > > > > >  --disable-scripts \
> > > > > >  --enable-mini-agent \
> > > > > > --without-kmem-usage \
> > > > > > --without-rpm \
> > > > > > --with-logfile=/var/log \
> > > > > > --with-sys-location=RadialinkNetwork \
> > > > > > [email protected] \
> > > > > > --with-default-snmp-version=2 \./configure
> > > > > \
> > > > > >  --build=i386-unkown-freebsd4.9 \
> > > > > >  --disable-applications \
> > > > > > --enable-notification \
> > > > > >  --disable-manuals \
> > > > > > --with-mib-modules="notification
> > > > > disman/event-mib"\
> > > > > > --with-out-mib-modules="agentx snmpv3mibs" \
> > > > > >  --disable-scripts \
> > > > > >  --enable-mini-agent \
> > > > > > --without-kmem-usage \
> > > > > > --without-rpm \
> > > > > > --with-logfile=/var/log \
> > > > > > --with-sys-location=RadialinkNetwork \
> > > > > > [email protected] \
> > > > > > --with-default-snmp-version=2 \
> > > > > >   --with-persistent-directory=/var/ucd-snmp \
> > > > > > --enable-ucd-snmp-compatibility \
> > > > > > --with-transports="UDP" \
> > > > > > --with-out-transports="TCP Unix Callback" \
> > > > > > --enable-static \
> > > > > > --disable-shared \
> > > > > > LDFLAGS=-lm
> > > > > >   --with-persistent-directory=/var/ucd-snmp \
> > > > > > --enable-ucd-snmp-compatibility \
> > > > > > --with-transports="UDP" \
> > > > > > --with-out-transports="TCP Unix Callback" \
> > > > > > --enable-static \
> > > > > > --disable-shared \
> > > > > > LDFLAGS=-lm
> > > > > >
> > > > > >
> > > > > > Thanks!!
> > > > > >
> > > > > > Ben Z
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > -------------------------------------------------------
> > > > > > SF.Net email is Sponsored by the Better Software
> > > > > > Conference & EXPO
> > > > > > September 19-22, 2005 * San Francisco, CA *
> > > > > > Development Lifecycle Practices
> > > > > > Agile & Plan-Driven Development * Managing
> > > > > Projects
> > > > > > & Teams * Testing & QA
> > > > > > Security * Process Improvement & Measurement *
> > > > > > http://www.sqe.com/bsce5sf
> > > > > > _______________________________________________
> > > > > > Net-snmp-users mailing list
> > > > > > [email protected]
> > > > > > Please see the following page to unsubscribe or
> > > > > > change other options:
> > > > > >
> > > > >
> > > > https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> > > Practices
> > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA
> > > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > > > _______________________________________________
> > > > Net-snmp-users mailing list
> > > > [email protected]
> > > > Please see the following page to unsubscribe or change other options:
> > > > https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> > >
> 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.