Re: DISMAN PING MIB test case question

Keith Mendoza <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <1525193914.2940342.1357014664.21A48543@webmail.messagingengine.com>
After looking further into what's going on with T154_dismanpingmib_simple, I discovered that the test script checks if the UID is 0 before it checks if disman/ping was enabled. https://sourceforge.net/p/net-snmp/code/merge-requests/16/ reorders the check to prevent any confusion when the module is not enabled at all.

On Mon, Apr 30, 2018, at 9:11 AM, Keith Mendoza wrote:
> 
> 
> On Sun, Apr 29, 2018, at 9:20 AM, Bill Fenner wrote:
> > On Fri, Apr 27, 2018 at 12:15 PM, Keith Mendoza <[email protected]> wrote:
> > 
> > > Bill,
> > >
> > > On Thu, Apr 26, 2018, at 6:54 PM, Bill Fenner wrote:
> > > > I do not think the DISMAN PING module builds anywhere but Linux.  I am
> > > not
> > > > a fan of the existing implementation since it is synchronous.
> > >
> > > Would it be worth it to update RUNFULLTEST or T154dismanpingmib_simple to
> > > only run on Linux?
> > >
> > 
> >  T154dismanpingmib_simple runs if the module is compiled in (e.g.,
> > --with-mib-modules=disman/ping), which it isn't by default.
> 
> After I checked-out the v5.8pre3 tag, and ran autoreconf and configure 
> --enable-blumenthal-aes --with-defaults --with-openssl=<Path to my 
> OpenSSL install>; I went ahead and took a closer look at the 
> configuration summary. I spotted the following items in "Agent MIB 
> code": disman/event disman/schedule
> 
> I'll double-check if these 2 are actually enabling 
> T154dismanpingmib_simple and get back to the group with what I find.
> 
> > 
> >   Bill
> 
> Now, regarding rerunning autoreconf: When I run this git reports that 
> aclocal.m4 and configure are modified.
> 
> -- 
> Thanks,
> Keith (pantherse)


-- 
Thanks,
Keith (pantherse)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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.