Re: [Apcupsd-users] apcupsd.conf NETSERVER config bug, Windows
Brought to you by:
adk0212
|
From: Mark F. <mf...@no...> - 2016-02-26 14:23:16
|
On Fri, 26 Feb 2016 11:51:36 Wolfgang Stoeggl wrote: > NETSERVER should be either set to on or off. > If it is commented out, the default value will be used ... Well, that's interesting because when set to 'off', the Slave computer shows COMMLOST. When commented out (apparently that means 'NETSERVER on'?) the Slave shows 'ONLINE SLAVE'. So either way, it appears to be a bug from the way I read the comments: # NETSERVER [ on | off ] on enables, off disables the network # information server. If netstatus is on, a network information # server process will be started for serving the STATUS and # EVENT data over the network (used by CGI programs). So, does this mean it should be 'on' if the host is a Master and 'off' if a Slave? 'on' if the host is either a Slave or Master? 'off' if the host is neither a Slave nor a Master (controlling Slaves)? --Mark > To: Apcupsd Discussion List <apc...@li...> > From: Wolfgang Stoeggl <c7...@ya...> > Date: Fri, 26 Feb 2016 11:51:36 +0100 > Subject: Re: [Apcupsd-users] apcupsd.conf NETSERVER config bug, Windows > > Hello Mark, > NETSERVER should be either set to on or off. > If it is commented out, the default value will be used ... > apcconfig.c > ups->netstats = TRUE; > > Regards > Wolfgang > > Am 25.02.2016 um 22:37 schrieb Mark Foley: > > Here's an FYI ... > > > > I have 2 Windows computers using apcupsd, an XP Slave and a WIN7 Master. > > Everything worked just fine. I then decided to switch my WIN7 Master to Slave > > connected to the same Linux apcupsd server as the XP. Result: COMMLOST on the > > WIN7 Slave. > > > > I couldn't figure out the problem until I decided to compare the apcupsd.conf > > files from each computer side-by-side. > > > > The only difference was that the WIN7 had: > > > > NETSERVER off > > > > whereas the XP had the NETSERVER line commented out. When I commented out that > > line in the WIN7 computer and restarted the service, it worked! > > > > So, the "off" attribute of the NETSERVER setting DOES NOT WORK. > > > > Bug. > > > > --Mark > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > _______________________________________________ > > Apcupsd-users mailing list > > Apc...@li... > > https://lists.sourceforge.net/lists/listinfo/apcupsd-users > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Apcupsd-users mailing list > Apc...@li... > https://lists.sourceforge.net/lists/listinfo/apcupsd-users > |