On Sunday 19 October 2014 22:03:23 Charles Lepple did opine And Gene did reply:> Hi Gene, > > On Oct 18, 2014, at 7:35 PM, Gene Heskett <gheskett at wdtv.com> wrote: > > Greetings; > > > > I found pdf user manual which explains a few things that might help. > > > > However, for a ubuntu flavor, the various .conf etc files seem to be > > in /etc/nut. > > We have an open ticket about that[*]; basically, the official NUT > documentation needs to be a bit more explicit that the paths are what > you would get with a vanilla source install, and that distributions > will most likely be different. > > [*] https://github.com/networkupstools/nut/issues/152Trouble is shooting back already: ./configure --with-usb --with-cgi --with-doc bails out: checking for gd version via gdlib-config... none found checking for gd include flags... checking for gd library flags... -L/usr/X11R6/lib -lgd -lpng -lz -ljpeg - lfreetype -lm -lXpm -lX11 checking for gd.h... no checking for gdfontmb.h... no checking for library containing gdImagePng... no configure: error: libgd not found, required for CGI build And gdlib does not appear to be available from the repo's. I'd like to have the CGI scripts working so I can read it with a browser. Ideas? This time of the night I'm not even fresh enough to say I am fresh out. Thanks Charles. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
On Sunday 19 October 2014 23:28:38 Gene Heskett did opine And Gene did reply: Ping?> On Sunday 19 October 2014 22:03:23 Charles Lepple did opine > > And Gene did reply: > > Hi Gene, > > > > On Oct 18, 2014, at 7:35 PM, Gene Heskett <gheskett at wdtv.com> wrote: > > > Greetings; > > > > > > I found pdf user manual which explains a few things that might > > > help. > > > > > > However, for a ubuntu flavor, the various .conf etc files seem to > > > be in /etc/nut. > > > > We have an open ticket about that[*]; basically, the official NUT > > documentation needs to be a bit more explicit that the paths are what > > you would get with a vanilla source install, and that distributions > > will most likely be different. > > > > [*] https://github.com/networkupstools/nut/issues/152 > > Trouble is shooting back already: > > ./configure --with-usb --with-cgi --with-doc > > bails out: > checking for gd version via gdlib-config... none found > checking for gd include flags... > checking for gd library flags... -L/usr/X11R6/lib -lgd -lpng -lz -ljpeg > - lfreetype -lm -lXpm -lX11 > checking for gd.h... no > checking for gdfontmb.h... no > checking for library containing gdImagePng... no > configure: error: libgd not found, required for CGI build > > And gdlib does not appear to be available from the repo's. > > I'd like to have the CGI scripts working so I can read it with a > browser. > > Ideas? This time of the night I'm not even fresh enough to say I am > fresh out. > > Thanks Charles. > > Cheers, Gene HeskettCheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
Hi Gene, On Oct 21, 2014, at 9:12 PM, Gene Heskett <gheskett at wdtv.com> wrote:>> configure: error: libgd not found, required for CGI build >> >> And gdlib does not appear to be available from the repo's. >Sorry, I must have missed that message. This is still with Ubuntu 10.04, right? http://packages.ubuntu.com/source/lucid/nut lists the build dependencies, and it looks like both libgd2-xpm-dev and libgd2-noxpm-dev are still available. (NUT does not explicitly need the XPM support, so either one should work.) I will admit that we haven't done much with the NUT CGI stuff lately. A few years ago, someone pointed me towards collectd, which logs min/max/average values to RRD databases (among others), and I have been using that to get hourly/daily/weekly/monthly summaries via CGI scripts (/usr/share/doc/collectd-core/examples/collection3). NUT monitoring seems to be available in the collectd version that is in 10.04. Something to consider if you are looking for more than just an instantaneous readout: http://packages.ubuntu.com/lucid/collectd -- Charles Lepple clepple at gmail