From mail at lists.macscr.com Fri Jun 1 20:29:34 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Fri, 01 Jun 2012 13:29:34 -0500 Subject: [smokeping-users] slaves and web servers In-Reply-To: <4FC788EA.1020503@gmail.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> <4FC788EA.1020503@gmail.com> Message-ID: <315b482cee8ef2911a0236f22fbf5be6@lists.macscr.com> So no one has any tips to getting smokeping to get run as a different user on centos? Its extremely simple on Ubuntu systems, but centos doesnt have the same options or init script. I need to get smokeping to run as a different user than root in order to get this slave setup to work. Thanks, Mark From Jason.Yates at betfair.com Fri Jun 1 20:32:20 2012 From: Jason.Yates at betfair.com (Jason Yates) Date: Fri, 1 Jun 2012 18:32:20 +0000 Subject: [smokeping-users] Smokeping Message-ID: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> Hi, I've tried installing Smokeping 2.6.8 on Centos 5.6 Final, everything looks to be going ok, all of the relevant Perl modules are installed however when hitting smokeping.fcgi in a browser I get a 500 internal error & apache logs show the following: [Fri Jun 01 18:13:02 2012] [warn] FastCGI: (dynamic) server "/var/www/html/smokeping.fcgi" restarted (pid 9608) [Fri Jun 1 18:13:02 2012] smokeping_cgi: Can't locate loadable object for module FCGI in @INC (@INC contains: /opt/smokeping/bin/../lib /opt/smokeping/bin/../thirdparty/lib/perl5 /usr/lib/perl5/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi .) at /usr/lib/perl5/5.8.8/CGI/Fast.pm line 25 [Fri Jun 1 18:13:02 2012] smokeping_cgi: Compilation failed in require at /usr/lib/perl5/5.8.8/CGI/Fast.pm line 25. [Fri Jun 1 18:13:02 2012] smokeping_cgi: BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/CGI/Fast.pm line 25. [Fri Jun 1 18:13:02 2012] smokeping_cgi: Compilation failed in require at /opt/smokeping/bin/smokeping_cgi line 19. [Fri Jun 1 18:13:02 2012] smokeping_cgi: BEGIN failed--compilation aborted at /opt/smokeping/bin/smokeping_cgi line 19. I've tried re-installing CGI::Fast however I still get the errors. Any help would be appreciated. Thanks Jason ________________________________________________________________________ In order to protect our email recipients, Betfair Group use SkyScan from MessageLabs to scan all Incoming and Outgoing mail for viruses. ________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120601/0c18159d/attachment-0001.htm From ged at jubileegroup.co.uk Fri Jun 1 20:37:05 2012 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Fri, 1 Jun 2012 19:37:05 +0100 (BST) Subject: [smokeping-users] slaves and web servers In-Reply-To: <315b482cee8ef2911a0236f22fbf5be6@lists.macscr.com> References: <254BEF8F-F311-43C3-BA7B-27CEB6C2257C@lists.macscr.com> <0ce4df5923a818f07cea8286241fc31a@lists.macscr.com> <4FC788EA.1020503@gmail.com> <315b482cee8ef2911a0236f22fbf5be6@lists.macscr.com> Message-ID: Hi there, On Fri, 1 Jun 2012, mail at lists.macscr.com wrote: > So no one has any tips to getting smokeping to get run as a different > user on centos? Its extremely simple on Ubuntu systems, but centos > doesnt have the same options or init script. I need to get smokeping to > run as a different user than root in order to get this slave setup to > work. man su -- 73, Ged. From emsearcy at gmail.com Fri Jun 1 20:44:17 2012 From: emsearcy at gmail.com (Eric Searcy) Date: Fri, 01 Jun 2012 11:44:17 -0700 Subject: [smokeping-users] Smokeping In-Reply-To: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> References: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> Message-ID: <4FC90D81.60003@gmail.com> On 6/1/12 11:32 AM, Jason Yates wrote: > Hi, > > I?ve tried installing Smokeping 2.6.8 on Centos 5.6 Final, everything > looks to be going ok, all of the relevant Perl modules are installed > however when hitting smokeping.fcgi in a browser I get a 500 internal > error & apache logs show the following: [...] > > I?ve tried re-installing CGI::Fast however I still get the errors. Any > help would be appreciated. What about FCGI? CGI::Fast is provided by base el5 "perl" package, installing separately shouldn't be necessary (or helpful). Your error says FCGI, which is a different package (you can see below that I'm getting it from EPEL). http://wiki.centos.org/AdditionalResources/Repositories # yum whatprovides 'perl(FCGI)' 'perl(CGI::Fast)' [...] fcgi-perl-2.4.0-12.el5.x86_64 : Perl bindings for fcgi Repo : epel Matched from: Other : perl(FCGI) 4:perl-5.8.8-38.el5.x86_64 : The Perl programming language Repo : base Matched from: Other : perl(CGI::Fast) From ged at jubileegroup.co.uk Fri Jun 1 20:47:18 2012 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Fri, 1 Jun 2012 19:47:18 +0100 (BST) Subject: [smokeping-users] Smokeping In-Reply-To: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> References: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> Message-ID: Hi there, On Fri, 1 Jun 2012, Jason Yates wrote: > I've tried installing Smokeping 2.6.8 on Centos 5.6 Final, > everything looks to be going ok, all of the relevant Perl modules > are installed ... Are you sure about that? > [Fri Jun 01 18:13:02 2012] [warn] FastCGI: (dynamic) server "/var/www/html/smokeping.fcgi" restarted (pid 9608) > [Fri Jun 1 18:13:02 2012] smokeping_cgi: Can't locate loadable object for module FCGI in @INC (@INC contains: /opt/smokeping/bin/../lib /opt/smokeping/bin/../thirdparty/lib/perl5 /usr/lib/perl5/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi .) at /usr/lib/perl5/5.8.8/CGI/Fast.pm line 25 Where's FCGI.pm on your system? Here's one of mine: tornado:~$ >>> locate FCGI /usr/lib/perl5/FCGI.pm /usr/lib/perl5/auto/FCGI /usr/lib/perl5/auto/FCGI/FCGI.bs /usr/lib/perl5/auto/FCGI/FCGI.so /usr/share/doc/libfcgi0ldbl/FCGI_Accept.3.gz /usr/share/doc/libfcgi0ldbl/FCGI_Finish.3 /usr/share/doc/libfcgi0ldbl/FCGI_SetExitStatus.3 /usr/share/doc/libfcgi0ldbl/FCGI_StartFilterData.3 /usr/share/man/man3/FCGI.3pm.gz -- 73, Ged. From Jason.Yates at betfair.com Fri Jun 1 21:01:03 2012 From: Jason.Yates at betfair.com (Jason Yates) Date: Fri, 1 Jun 2012 19:01:03 +0000 Subject: [smokeping-users] Smokeping In-Reply-To: References: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> Message-ID: <5A5DD19A886B394DBD70A4A320FCD953A578CCD4@HAMMBX02.uk.betfair.local> Hi Ged, locate FCGI /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/FCGI.pm /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/FCGI /usr/share/man/man3/FCGI.3pm It's located in one of the include path's being checked. I've just re-ran the configure script for sanity's sake. checking checking for perl module 'RRDs'... Ok checking checking for perl module 'FCGI'... Ok checking checking for perl module 'CGI'... Ok checking checking for perl module 'CGI::Fast'... Ok checking checking for perl module 'Config::Grammar'... Ok checking checking for perl module 'Digest::HMAC_MD5'... Ok checking checking for perl module 'LWP'... Ok Thanks -----Original Message----- From: G.W. Haywood [mailto:ged at jubileegroup.co.uk] Sent: 01 June 2012 19:47 To: Jason Yates Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Smokeping Hi there, On Fri, 1 Jun 2012, Jason Yates wrote: > I've tried installing Smokeping 2.6.8 on Centos 5.6 Final, everything > looks to be going ok, all of the relevant Perl modules are installed > ... Are you sure about that? > [Fri Jun 01 18:13:02 2012] [warn] FastCGI: (dynamic) server > "/var/www/html/smokeping.fcgi" restarted (pid 9608) [Fri Jun 1 > 18:13:02 2012] smokeping_cgi: Can't locate loadable object for module > FCGI in @INC (@INC contains: /opt/smokeping/bin/../lib > /opt/smokeping/bin/../thirdparty/lib/perl5 /usr/lib/perl5/5.8.8 > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi .) at > /usr/lib/perl5/5.8.8/CGI/Fast.pm line 25 Where's FCGI.pm on your system? Here's one of mine: tornado:~$ >>> locate FCGI /usr/lib/perl5/FCGI.pm /usr/lib/perl5/auto/FCGI /usr/lib/perl5/auto/FCGI/FCGI.bs /usr/lib/perl5/auto/FCGI/FCGI.so /usr/share/doc/libfcgi0ldbl/FCGI_Accept.3.gz /usr/share/doc/libfcgi0ldbl/FCGI_Finish.3 /usr/share/doc/libfcgi0ldbl/FCGI_SetExitStatus.3 /usr/share/doc/libfcgi0ldbl/FCGI_StartFilterData.3 /usr/share/man/man3/FCGI.3pm.gz -- 73, Ged. ________________________________________________________________________ In order to protect our email recipients, Betfair Group use SkyScan from MessageLabs to scan all Incoming and Outgoing mail for viruses. ________________________________________________________________________ From emsearcy at gmail.com Fri Jun 1 21:35:25 2012 From: emsearcy at gmail.com (Eric Searcy) Date: Fri, 01 Jun 2012 12:35:25 -0700 Subject: [smokeping-users] Smokeping In-Reply-To: <5A5DD19A886B394DBD70A4A320FCD953A578CCD4@HAMMBX02.uk.betfair.local> References: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> <5A5DD19A886B394DBD70A4A320FCD953A578CCD4@HAMMBX02.uk.betfair.local> Message-ID: <4FC9197D.7000200@gmail.com> On 6/1/12 12:01 PM, Jason Yates wrote: > Hi Ged, > > locate FCGI > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/FCGI.pm > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/FCGI > /usr/share/man/man3/FCGI.3pm > > It's located in one of the include path's being checked. I've just re-ran the configure script for sanity's sake. You're missing the shared library component of the FCGI module it looks like. Eric > checking checking for perl module 'RRDs'... Ok > checking checking for perl module 'FCGI'... Ok > checking checking for perl module 'CGI'... Ok > checking checking for perl module 'CGI::Fast'... Ok > checking checking for perl module 'Config::Grammar'... Ok > checking checking for perl module 'Digest::HMAC_MD5'... Ok > checking checking for perl module 'LWP'... Ok > > Thanks > > > -----Original Message----- > From: G.W. Haywood [mailto:ged at jubileegroup.co.uk] > Sent: 01 June 2012 19:47 > To: Jason Yates > Cc: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] Smokeping > > Hi there, > > On Fri, 1 Jun 2012, Jason Yates wrote: > >> I've tried installing Smokeping 2.6.8 on Centos 5.6 Final, everything >> looks to be going ok, all of the relevant Perl modules are installed >> ... > > Are you sure about that? > >> [Fri Jun 01 18:13:02 2012] [warn] FastCGI: (dynamic) server >> "/var/www/html/smokeping.fcgi" restarted (pid 9608) [Fri Jun 1 >> 18:13:02 2012] smokeping_cgi: Can't locate loadable object for module >> FCGI in @INC (@INC contains: /opt/smokeping/bin/../lib >> /opt/smokeping/bin/../thirdparty/lib/perl5 /usr/lib/perl5/5.8.8 >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi >> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi >> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi .) at >> /usr/lib/perl5/5.8.8/CGI/Fast.pm line 25 > > Where's FCGI.pm on your system? Here's one of mine: > > tornado:~$ >>> locate FCGI > /usr/lib/perl5/FCGI.pm > /usr/lib/perl5/auto/FCGI > /usr/lib/perl5/auto/FCGI/FCGI.bs > /usr/lib/perl5/auto/FCGI/FCGI.so > /usr/share/doc/libfcgi0ldbl/FCGI_Accept.3.gz > /usr/share/doc/libfcgi0ldbl/FCGI_Finish.3 > /usr/share/doc/libfcgi0ldbl/FCGI_SetExitStatus.3 > /usr/share/doc/libfcgi0ldbl/FCGI_StartFilterData.3 > /usr/share/man/man3/FCGI.3pm.gz > > -- > > 73, > Ged. > > ________________________________________________________________________ > In order to protect our email recipients, Betfair Group use SkyScan from > MessageLabs to scan all Incoming and Outgoing mail for viruses. > > ________________________________________________________________________ > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From Jason.Yates at betfair.com Fri Jun 1 23:12:38 2012 From: Jason.Yates at betfair.com (Jason Yates) Date: Fri, 1 Jun 2012 21:12:38 +0000 Subject: [smokeping-users] Smokeping In-Reply-To: <4FC9197D.7000200@gmail.com> References: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> <5A5DD19A886B394DBD70A4A320FCD953A578CCD4@HAMMBX02.uk.betfair.local>, <4FC9197D.7000200@gmail.com> Message-ID: Hey Eric, Thanks for the reply. How would I go about installing the missing shared library? I can't find any fcgi packages in yum or cpan that I don't already have installed. Thanks ---- Regards, Jason Yates On 1 Jun 2012, at 20:35, "Eric Searcy" wrote: > On 6/1/12 12:01 PM, Jason Yates wrote: >> Hi Ged, >> >> locate FCGI >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/FCGI.pm >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/FCGI >> /usr/share/man/man3/FCGI.3pm >> >> It's located in one of the include path's being checked. I've just re-ran the configure script for sanity's sake. > > You're missing the shared library component of the FCGI module it looks > like. > > Eric > >> checking checking for perl module 'RRDs'... Ok >> checking checking for perl module 'FCGI'... Ok >> checking checking for perl module 'CGI'... Ok >> checking checking for perl module 'CGI::Fast'... Ok >> checking checking for perl module 'Config::Grammar'... Ok >> checking checking for perl module 'Digest::HMAC_MD5'... Ok >> checking checking for perl module 'LWP'... Ok >> >> Thanks >> >> >> -----Original Message----- >> From: G.W. Haywood [mailto:ged at jubileegroup.co.uk] >> Sent: 01 June 2012 19:47 >> To: Jason Yates >> Cc: smokeping-users at lists.oetiker.ch >> Subject: Re: [smokeping-users] Smokeping >> >> Hi there, >> >> On Fri, 1 Jun 2012, Jason Yates wrote: >> >>> I've tried installing Smokeping 2.6.8 on Centos 5.6 Final, everything >>> looks to be going ok, all of the relevant Perl modules are installed >>> ... >> >> Are you sure about that? >> >>> [Fri Jun 01 18:13:02 2012] [warn] FastCGI: (dynamic) server >>> "/var/www/html/smokeping.fcgi" restarted (pid 9608) [Fri Jun 1 >>> 18:13:02 2012] smokeping_cgi: Can't locate loadable object for module >>> FCGI in @INC (@INC contains: /opt/smokeping/bin/../lib >>> /opt/smokeping/bin/../thirdparty/lib/perl5 /usr/lib/perl5/5.8.8 >>> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi >>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi >>> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl >>> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi .) at >>> /usr/lib/perl5/5.8.8/CGI/Fast.pm line 25 >> >> Where's FCGI.pm on your system? Here's one of mine: >> >> tornado:~$ >>> locate FCGI >> /usr/lib/perl5/FCGI.pm >> /usr/lib/perl5/auto/FCGI >> /usr/lib/perl5/auto/FCGI/FCGI.bs >> /usr/lib/perl5/auto/FCGI/FCGI.so >> /usr/share/doc/libfcgi0ldbl/FCGI_Accept.3.gz >> /usr/share/doc/libfcgi0ldbl/FCGI_Finish.3 >> /usr/share/doc/libfcgi0ldbl/FCGI_SetExitStatus.3 >> /usr/share/doc/libfcgi0ldbl/FCGI_StartFilterData.3 >> /usr/share/man/man3/FCGI.3pm.gz >> >> -- >> >> 73, >> Ged. >> >> ________________________________________________________________________ >> In order to protect our email recipients, Betfair Group use SkyScan from >> MessageLabs to scan all Incoming and Outgoing mail for viruses. >> >> ________________________________________________________________________ >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > ________________________________________________________________________ In order to protect our email recipients, Betfair Group use SkyScan from MessageLabs to scan all Incoming and Outgoing mail for viruses. ________________________________________________________________________ From emsearcy at gmail.com Fri Jun 1 23:32:15 2012 From: emsearcy at gmail.com (Eric Searcy) Date: Fri, 1 Jun 2012 14:32:15 -0700 Subject: [smokeping-users] Smokeping In-Reply-To: References: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> <5A5DD19A886B394DBD70A4A320FCD953A578CCD4@HAMMBX02.uk.betfair.local>, <4FC9197D.7000200@gmail.com> Message-ID: <18F67BAD-4BA1-4DBF-8DCB-09976360DD42@gmail.com> Jason, I sent an earlier message to the list on this thread about yum packages but didn't CC you, but perhaps you're not on the list. https://lists.oetiker.ch/pipermail/smokeping-users/2012-June/004728.html As mentioned, I installed "fcgi-perl" package from EPEL, which pulls in "fcgi" package as a dependency (even though FCGI.so doesn't seem to be linked against libfcgi...). (Top result in google for "perl loadable object" suggests your error is about the .so and I noticed it wasn't in your "locate" results, so I'd look into FCGI.so before libfcgi.so.) # rpm -ql fcgi-perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/FCGI.pm /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/FCGI /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/FCGI/FCGI.so /usr/share/doc/fcgi-perl-2.4.0 /usr/share/doc/fcgi-perl-2.4.0/ChangeLog /usr/share/doc/fcgi-perl-2.4.0/README /usr/share/doc/fcgi-perl-2.4.0/echo.fpl /usr/share/doc/fcgi-perl-2.4.0/remote.fpl /usr/share/doc/fcgi-perl-2.4.0/threaded.fpl /usr/share/man/man3/FCGI.3pm.gz # rpm -ql fcgi /usr/bin/cgi-fcgi /usr/lib64/libfcgi++.so.0 /usr/lib64/libfcgi++.so.0.0.0 /usr/lib64/libfcgi.so.0 /usr/lib64/libfcgi.so.0.0.0 /usr/share/doc/fcgi-2.4.0 /usr/share/doc/fcgi-2.4.0/LICENSE.TERMS /usr/share/doc/fcgi-2.4.0/README /usr/share/man/man1/cgi-fcgi.1.gz # ldd /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/FCGI/FCGI.so linux-vdso.so.1 => (0x00007fff775fd000) libc.so.6 => /lib64/libc.so.6 (0x00002ad125d0f000) /lib64/ld-linux-x86-64.so.2 (0x0000003eae600000) Eric From mail at lists.macscr.com Sat Jun 2 23:29:18 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Sat, 02 Jun 2012 16:29:18 -0500 Subject: [smokeping-users] =?utf-8?q?display_name_of_master=3F?= Message-ID: <4aa60e2ce049978f747e7685e81f72a1@lists.macscr.com> Where can i change the display name of the master in the graphs? I was able to do it for all of my slaves, but the master still just shows the hostname. Any suggestions are welcome. Thanks! From mail at lists.macscr.com Sat Jun 2 23:31:14 2012 From: mail at lists.macscr.com (mail at lists.macscr.com) Date: Sat, 02 Jun 2012 16:31:14 -0500 Subject: [smokeping-users] =?utf-8?q?display_name_of_master=3F?= In-Reply-To: <4aa60e2ce049978f747e7685e81f72a1@lists.macscr.com> References: <4aa60e2ce049978f747e7685e81f72a1@lists.macscr.com> Message-ID: <5bde7c7f6eb0275859a2083cd64c15fd@lists.macscr.com> Ha, nevermind. Its a simple as display_name in the general configuration. On 2012-06-02 16:29, mail at lists.macscr.com wrote: > Where can i change the display name of the master in the graphs? I > was > able to do it for all of my slaves, but the master still just shows > the > hostname. Any suggestions are welcome. Thanks! > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From ged at jubileegroup.co.uk Mon Jun 4 18:27:45 2012 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Mon, 4 Jun 2012 17:27:45 +0100 (BST) Subject: [smokeping-users] Smokeping In-Reply-To: References: <5A5DD19A886B394DBD70A4A320FCD953A578CC4A@HAMMBX02.uk.betfair.local> <5A5DD19A886B394DBD70A4A320FCD953A578CCD4@HAMMBX02.uk.betfair.local>, <4FC9197D.7000200@gmail.com> Message-ID: Hi there, On Fri, 1 Jun 2012, Jason Yates wrote: > Hey Eric, > > Thanks for the reply. How would I go about installing the missing > shared library? I can't find any fcgi packages in yum or cpan that I > don't already have installed. On Debian I believe FCGI.so comes with the 'libfcgi-perl' package -- I don't know if that's any help to you. -- 73, Ged. From stormrider01 at gmail.com Thu Jun 7 19:42:20 2012 From: stormrider01 at gmail.com (Sean Lively) Date: Thu, 7 Jun 2012 11:42:20 -0600 Subject: [smokeping-users] Specify gateway for target Message-ID: I'd like to setup 2 targets for the same host, using a different gateway for each. (I've got 2 internet connections, with a separate gateway for each) I've looked through the FPing and echoping(1) docs and didn't see anything. Any ideas? From emsearcy at gmail.com Thu Jun 7 20:11:23 2012 From: emsearcy at gmail.com (Eric Searcy) Date: Thu, 07 Jun 2012 11:11:23 -0700 Subject: [smokeping-users] Specify gateway for target In-Reply-To: References: Message-ID: <4FD0EECB.8090104@gmail.com> On 6/7/12 10:42 AM, Sean Lively wrote: > I'd like to setup 2 targets for the same host, using a different > gateway for each. (I've got 2 internet connections, with a separate > gateway for each) > > I've looked through the FPing and echoping(1) docs and didn't see > anything. Any ideas? * two smokeping servers with different default gateways * you might be able to find some interesting historical stuff if you look up traceroute's use of "source routing" (-g) ... though you'd need to patch source routing support into one of the above tools and make sure your routers respect it * policy-based routing: use "ip rules" to create a rule for the target host and an alternate tos/dsfield (I think echoping can set this) that uses a different routing table with a different next hop Eric From Jason.Yates at betfair.com Tue Jun 12 11:35:02 2012 From: Jason.Yates at betfair.com (Jason Yates) Date: Tue, 12 Jun 2012 09:35:02 +0000 Subject: [smokeping-users] Slave not Updating Master Message-ID: <5A5DD19A886B394DBD70A4A320FCD953A5796DD6@HAMMBX02.uk.betfair.local> Hi, I have a setup with 1 master and currently 1 slave. I set this up yesterday with a single probe to google.co.uk to prove everything worked with a simple setup, the graphs on the master were being correctly updated. This morning I have updated the master to probe 7 targets (kept google and bbc.co.uk as control tests for the time being). The master is probing and updating the graphs fine however the slave graphs are still empty. I've restarted the smokeping process on both master and slave and enabled -debug-daemon. On the slave I can see it polling and posting the data to the master but nothing ever happens after that. Tue Jun 12 09:18:17 2012 - Sent data to Server. Server said OK Tue Jun 12 09:18:17 2012 - FPing: Sleeping 276 seconds. The logs on the master don't show any entries for updating RRD files from the slave however when I check the RRD data directory I can see the RRD's exist. Any ideas would be appreciated. Thanks Jason ________________________________________________________________________ In order to protect our email recipients, Betfair Group use SkyScan from MessageLabs to scan all Incoming and Outgoing mail for viruses. ________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120612/abd0955d/attachment-0001.htm From Jason.Yates at betfair.com Tue Jun 12 11:54:31 2012 From: Jason.Yates at betfair.com (Jason Yates) Date: Tue, 12 Jun 2012 09:54:31 +0000 Subject: [smokeping-users] Slave not Updating Master In-Reply-To: <5A5DD19A886B394DBD70A4A320FCD953A5796DD6@HAMMBX02.uk.betfair.local> References: <5A5DD19A886B394DBD70A4A320FCD953A5796DD6@HAMMBX02.uk.betfair.local> Message-ID: <5A5DD19A886B394DBD70A4A320FCD953A5796EDD@HAMMBX02.uk.betfair.local> Nevermind - I'd started the smokeping master process as root by accident so the RRD files were created as root, I assume it's the responsibility of the smokeping.fcgi to update the RRDs from the slaves - as apache runs as apache it couldn't write to the RRDs. Corrected the permissions and the user smokeping is running as and the graphs are updating fine now. Thanks From: Jason Yates Sent: 12 June 2012 10:35 To: smokeping-users at lists.oetiker.ch Subject: Slave not Updating Master Hi, I have a setup with 1 master and currently 1 slave. I set this up yesterday with a single probe to google.co.uk to prove everything worked with a simple setup, the graphs on the master were being correctly updated. This morning I have updated the master to probe 7 targets (kept google and bbc.co.uk as control tests for the time being). The master is probing and updating the graphs fine however the slave graphs are still empty. I've restarted the smokeping process on both master and slave and enabled -debug-daemon. On the slave I can see it polling and posting the data to the master but nothing ever happens after that. Tue Jun 12 09:18:17 2012 - Sent data to Server. Server said OK Tue Jun 12 09:18:17 2012 - FPing: Sleeping 276 seconds. The logs on the master don't show any entries for updating RRD files from the slave however when I check the RRD data directory I can see the RRD's exist. Any ideas would be appreciated. Thanks Jason ________________________________________________________________________ In order to protect our email recipients, Betfair Group use SkyScan from MessageLabs to scan all Incoming and Outgoing mail for viruses. ________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120612/01cf9cf0/attachment.htm From mjmummert at gmail.com Thu Jun 21 15:18:39 2012 From: mjmummert at gmail.com (Matt Mummert) Date: Thu, 21 Jun 2012 09:18:39 -0400 Subject: [smokeping-users] Sending Email Alerts to multiple contacts Message-ID: I need to setup the /etc/smokeping/config.d/Alerts file to send alerts to two different email addresses. I tried adding the second contact with a ; (for example test at test.com;test2 at test.com) with no luck. What do I need to do to send the alerts two multiple contacts? Thank you. From Al_Sorrell at troweprice.com Thu Jun 21 15:28:05 2012 From: Al_Sorrell at troweprice.com (Sorrell, Al) Date: Thu, 21 Jun 2012 09:28:05 -0400 Subject: [smokeping-users] Sending Email Alerts to multiple contacts In-Reply-To: References: Message-ID: <3899F44EE8372C44926752C5C84C13D30188058140@OMTCP36040.corp.troweprice.net> Try a comma - works for me >-----Original Message----- >From: smokeping-users-bounces+al_sorrell=troweprice.com at lists.oetiker.ch [mailto:smokeping-users- >bounces+al_sorrell=troweprice.com at lists.oetiker.ch] On Behalf Of Matt Mummert >Sent: Thursday, June 21, 2012 9:19 AM >To: smokeping-users at lists.oetiker.ch >Subject: [smokeping-users] Sending Email Alerts to multiple contacts > >I need to setup the /etc/smokeping/config.d/Alerts file to send alerts >to two different email addresses. I tried adding the second contact >with a ; (for example test at test.com;test2 at test.com) with no luck. >What do I need to do to send the alerts two multiple contacts? > >Thank you. > >_______________________________________________ >smokeping-users mailing list >smokeping-users at lists.oetiker.ch >https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice. Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein. Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail. The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail. From rb14060 at gmail.com Thu Jun 21 15:32:35 2012 From: rb14060 at gmail.com (Ryan Becker) Date: Thu, 21 Jun 2012 09:32:35 -0400 Subject: [smokeping-users] Sending Email Alerts to multiple contacts In-Reply-To: References: Message-ID: Try a ,. On Thu, Jun 21, 2012 at 9:18 AM, Matt Mummert wrote: > I need to setup the /etc/smokeping/config.d/Alerts file to send alerts > to two different email addresses. I tried adding the second contact > with a ; (for example test at test.com;test2 at test.com) with no luck. > What do I need to do to send the alerts two multiple contacts? > > Thank you. > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120621/661e764f/attachment.htm From spatieman at online.nl Thu Jun 21 15:49:14 2012 From: spatieman at online.nl (Ton Muller) Date: Thu, 21 Jun 2012 15:49:14 +0200 Subject: [smokeping-users] three stupid problems.....log file isue, and what to do for restart ? and pid file In-Reply-To: References: <3899F44EE8372C44926752C5C84C13D30188057FB9@OMTCP36040.corp.troweprice.net> Message-ID: <4FE3265A.8040500@online.nl> Ok, long time ago that i posted. after i messed up upgrading my openBSD box, it was smarter to do a complete install again. installed smokeping 2.3 (ports arnt that fast in updating, hehe) downside, i forgot to make latest backups from my smokeping stuff (#$&^#@@) my problem, i am still not able to get logfiles for smokeping. added smokeping_enable="yes" smokeping_logfile="/var/log/smokeping.log" in rc.conf started smokeping. nothing happends. how to fix this ? 2nd, smokeping is saying this when i start it. ERROR: Can not read pid from /var/pid/smokeping/smokeping.pid: Permission denied smokeping directory has 666 glags, and +smokeping as owner and group. how to fix this ? 3th.. the most stupid one i guess.. why is smokeping --reload not working after adding new stuff? i need to do a smokeping --restart each time. thnxs.. From spatieman at online.nl Thu Jun 21 19:31:44 2012 From: spatieman at online.nl (Ton Muller) Date: Thu, 21 Jun 2012 19:31:44 +0200 Subject: [smokeping-users] TCPPing.pm ???? /usr/bin/tcpping ???????? In-Reply-To: References: <25BF9E9D36704BCB815609DB30AF8507@tktelekom.net> Message-ID: <4FE35A80.50006@online.nl> trying to get TCPPing to work. i found the TCPPing.pm scrip. but when adding the +TCPPing inc its binary sector i got this in return after a check. ERROR: /etc/smokeping/config.test, line 224: ERROR: TCPPing 'binary' does not point to an executable i downloaded it tcpping ,but its a script only, and not a executable. uhm, does it need to be compiled or how do i handle this. thnxs.. Tony. From alter3d at alter3d.ca Thu Jun 21 19:36:00 2012 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Thu, 21 Jun 2012 13:36:00 -0400 Subject: [smokeping-users] TCPPing.pm ???? /usr/bin/tcpping ???????? In-Reply-To: <4FE35A80.50006@online.nl> References: <25BF9E9D36704BCB815609DB30AF8507@tktelekom.net> <4FE35A80.50006@online.nl> Message-ID: <4FE35B80.3090808@alter3d.ca> Things to check: - Does your copy of tcpping exist at the path you point to in the config file? If you installed manually, it might not be at the default location. - Did you mark the file as executable using file permissions (chmod +x $file)? Remember that in UNIX, anything can be "executable", even a text file! - Pete On 12-06-21 01:31 PM, Ton Muller wrote: > trying to get TCPPing to work. > i found the TCPPing.pm scrip. > but when adding the +TCPPing inc its binary sector > i got this in return after a check. > ERROR: /etc/smokeping/config.test, line 224: ERROR: TCPPing 'binary' > does not point to an executable > > i downloaded it tcpping ,but its a script only, and not a executable. > uhm, does it need to be compiled or how do i handle this. > > thnxs.. > Tony. > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From spatieman at online.nl Fri Jun 22 01:58:02 2012 From: spatieman at online.nl (Ton Muller) Date: Fri, 22 Jun 2012 01:58:02 +0200 Subject: [smokeping-users] TCPPing.pm ???? /usr/bin/tcpping ???????? In-Reply-To: <4FE35B80.3090808@alter3d.ca> References: <25BF9E9D36704BCB815609DB30AF8507@tktelekom.net> <4FE35A80.50006@online.nl> <4FE35B80.3090808@alter3d.ca> Message-ID: <4FE3B50A.9040701@online.nl> Pete. Yes.. i can start the tcpping ,but when checking the config, its says not pointing to a executable... it looks if it checks if it is a real programm, and not a script.. On 21-6-2012 19:36, Peter Kristolaitis wrote: > Things to check: > - Does your copy of tcpping exist at the path you point to in the > config file? If you installed manually, it might not be at the default > location. > - Did you mark the file as executable using file permissions (chmod > +x $file)? Remember that in UNIX, anything can be "executable", even a > text file! > > - Pete > > > On 12-06-21 01:31 PM, Ton Muller wrote: >> trying to get TCPPing to work. >> i found the TCPPing.pm scrip. >> but when adding the +TCPPing inc its binary sector >> i got this in return after a check. >> ERROR: /etc/smokeping/config.test, line 224: ERROR: TCPPing 'binary' >> does not point to an executable >> >> i downloaded it tcpping ,but its a script only, and not a executable. >> uhm, does it need to be compiled or how do i handle this. >> >> thnxs.. >> Tony. >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From alter3d at alter3d.ca Fri Jun 22 05:01:14 2012 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Thu, 21 Jun 2012 23:01:14 -0400 Subject: [smokeping-users] TCPPing.pm ???? /usr/bin/tcpping ???????? In-Reply-To: <4FE3B50A.9040701@online.nl> References: <25BF9E9D36704BCB815609DB30AF8507@tktelekom.net> <4FE35A80.50006@online.nl> <4FE35B80.3090808@alter3d.ca> <4FE3B50A.9040701@online.nl> Message-ID: <4FE3DFFA.1070702@alter3d.ca> Can you provide the output of running the following commands? which tcpping tcpping | head -1 file `which tcpping` - Pete On 6/21/2012 7:58 PM, Ton Muller wrote: > Pete. > Yes.. > i can start the tcpping ,but when checking the config, its says not > pointing to a executable... > it looks if it checks if it is a real programm, and not a script.. > > On 21-6-2012 19:36, Peter Kristolaitis wrote: >> Things to check: >> - Does your copy of tcpping exist at the path you point to in the >> config file? If you installed manually, it might not be at the default >> location. >> - Did you mark the file as executable using file permissions (chmod >> +x $file)? Remember that in UNIX, anything can be "executable", even a >> text file! >> >> - Pete >> >> >> On 12-06-21 01:31 PM, Ton Muller wrote: >>> trying to get TCPPing to work. >>> i found the TCPPing.pm scrip. >>> but when adding the +TCPPing inc its binary sector >>> i got this in return after a check. >>> ERROR: /etc/smokeping/config.test, line 224: ERROR: TCPPing 'binary' >>> does not point to an executable >>> >>> i downloaded it tcpping ,but its a script only, and not a executable. >>> uhm, does it need to be compiled or how do i handle this. >>> >>> thnxs.. >>> Tony. >>> >>> _______________________________________________ >>> smokeping-users mailing list >>> smokeping-users at lists.oetiker.ch >>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4418 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120621/3fa585c7/attachment.bin From spatieman at online.nl Sat Jun 23 11:57:17 2012 From: spatieman at online.nl (Ton Muller) Date: Sat, 23 Jun 2012 11:57:17 +0200 Subject: [smokeping-users] TCPPing.pm ???? /usr/bin/tcpping ???????? In-Reply-To: <4FE3DFFA.1070702@alter3d.ca> References: <25BF9E9D36704BCB815609DB30AF8507@tktelekom.net> <4FE35A80.50006@online.nl> <4FE35B80.3090808@alter3d.ca> <4FE3B50A.9040701@online.nl> <4FE3DFFA.1070702@alter3d.ca> Message-ID: <4FE592FD.4000900@online.nl> On 22-6-2012 5:01, Peter Kristolaitis wrote: > Can you provide the output of running the following commands? > > which tcpping > tcpping | head -1 > file `which tcpping` > > - Pete here it is. # which tcpping /usr/bin/tcpping # which tcpping | head -1 /usr/bin/tcpping # file `which tcpping` /usr/bin/tcpping: Bourne shell script text executable # > > > On 6/21/2012 7:58 PM, Ton Muller wrote: >> Pete. >> Yes.. >> i can start the tcpping ,but when checking the config, its says not >> pointing to a executable... >> it looks if it checks if it is a real programm, and not a script.. >> >> On 21-6-2012 19:36, Peter Kristolaitis wrote: >>> Things to check: >>> - Does your copy of tcpping exist at the path you point to in the >>> config file? If you installed manually, it might not be at the default >>> location. >>> - Did you mark the file as executable using file permissions >>> (chmod >>> +x $file)? Remember that in UNIX, anything can be "executable", even a >>> text file! >>> >>> - Pete >>> >>> >>> On 12-06-21 01:31 PM, Ton Muller wrote: >>>> trying to get TCPPing to work. >>>> i found the TCPPing.pm scrip. >>>> but when adding the +TCPPing inc its binary sector >>>> i got this in return after a check. >>>> ERROR: /etc/smokeping/config.test, line 224: ERROR: TCPPing 'binary' >>>> does not point to an executable >>>> >>>> i downloaded it tcpping ,but its a script only, and not a executable. >>>> uhm, does it need to be compiled or how do i handle this. >>>> >>>> thnxs.. >>>> Tony. >>>> >>>> _______________________________________________ >>>> smokeping-users mailing list >>>> smokeping-users at lists.oetiker.ch >>>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >>> _______________________________________________ >>> smokeping-users mailing list >>> smokeping-users at lists.oetiker.ch >>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >>> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From spatieman at online.nl Sat Jun 23 12:01:24 2012 From: spatieman at online.nl (Ton Muller) Date: Sat, 23 Jun 2012 12:01:24 +0200 Subject: [smokeping-users] three stupid problems.....log file isue, and what to do for restart ? and pid file In-Reply-To: <006201cd4fca$02b2c1f0$081845d0$@silvertree.org> References: <3899F44EE8372C44926752C5C84C13D30188057FB9@OMTCP36040.corp.troweprice.net> <4FE3265A.8040500@online.nl> <006201cd4fca$02b2c1f0$081845d0$@silvertree.org> Message-ID: <4FE593F4.2020509@online.nl> On 21-6-2012 18:22, Scott Schappell wrote: > Suggestions inline (I'm a freebsd user) > > -----Original Message----- > From: smokeping-users-bounces+archon=silvertree.org at lists.oetiker.ch > [mailto:smokeping-users-bounces+archon=silvertree.org at lists.oetiker.ch] On > Behalf Of Ton Muller > Sent: Thursday, June 21, 2012 6:49 AM > To: smokeping-users at lists.oetiker.ch > Subject: [smokeping-users] three stupid problems.....log file isue, and what > to do for restart ? and pid file > > Ok, long time ago that i posted. > after i messed up upgrading my openBSD box, it was smarter to do a > complete install again. > installed smokeping 2.3 (ports arnt that fast in updating, hehe) > downside, i forgot to make latest backups from my smokeping stuff (#$&^#@@) > my problem, i am still not able to get logfiles for smokeping. > added > smokeping_enable="yes" > smokeping_logfile="/var/log/smokeping.log" > in rc.conf > > started smokeping. > nothing happends. > how to fix this ? > >> touch /var/log/smokeping.log ; chown smokeping /var/log/smokeping.log ; > chmod 755 /var/log/smokeping.log NO errors, but.. no data written also to it...... > > 2nd, smokeping is saying this when i start it. > ERROR: Can not read pid from /var/pid/smokeping/smokeping.pid: > Permission denied > > smokeping directory has 666 glags, and +smokeping as owner and group. > how to fix this ? > >> Owner needs +x to be able to change into the /var/pid/smokeping directory. > chmod u=rwx,g=u-w,o=g /var/pid/smokeping (or chmod 755 /var/pid/smokeping) FIXED!, works !!! > > 3th.. > the most stupid one i guess.. > why is smokeping --reload not working after adding new stuff? > i need to do a smokeping --restart each time. > >> This one I can't answer. wel, i wrote a litle controll script now, it nicely kills smokeping, and starts it again... tempory fix i guess... > > thnxs.. > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > From spatieman at online.nl Sat Jun 23 12:41:11 2012 From: spatieman at online.nl (Ton Muller) Date: Sat, 23 Jun 2012 12:41:11 +0200 Subject: [smokeping-users] TCPPing.pm ???? /usr/bin/tcpping ???????? In-Reply-To: <4FE3DFFA.1070702@alter3d.ca> References: <25BF9E9D36704BCB815609DB30AF8507@tktelekom.net> <4FE35A80.50006@online.nl> <4FE35B80.3090808@alter3d.ca> <4FE3B50A.9040701@online.nl> <4FE3DFFA.1070702@alter3d.ca> Message-ID: <4FE59D47.4090502@online.nl> ADDED REMARK.. i rechecked file. i chmod 555 root / bin it, and got no errors. i am now testing it on some sites with non default ports. but.... i dont see data changes in graps. On 22-6-2012 5:01, Peter Kristolaitis wrote: > Can you provide the output of running the following commands? > > which tcpping > tcpping | head -1 > file `which tcpping` > > - Pete > > > On 6/21/2012 7:58 PM, Ton Muller wrote: >> Pete. >> Yes.. >> i can start the tcpping ,but when checking the config, its says not >> pointing to a executable... >> it looks if it checks if it is a real programm, and not a script.. >> >> On 21-6-2012 19:36, Peter Kristolaitis wrote: >>> Things to check: >>> - Does your copy of tcpping exist at the path you point to in the >>> config file? If you installed manually, it might not be at the default >>> location. >>> - Did you mark the file as executable using file permissions >>> (chmod >>> +x $file)? Remember that in UNIX, anything can be "executable", even a >>> text file! >>> >>> - Pete >>> >>> >>> On 12-06-21 01:31 PM, Ton Muller wrote: >>>> trying to get TCPPing to work. >>>> i found the TCPPing.pm scrip. >>>> but when adding the +TCPPing inc its binary sector >>>> i got this in return after a check. >>>> ERROR: /etc/smokeping/config.test, line 224: ERROR: TCPPing 'binary' >>>> does not point to an executable >>>> >>>> i downloaded it tcpping ,but its a script only, and not a executable. >>>> uhm, does it need to be compiled or how do i handle this. >>>> >>>> thnxs.. >>>> Tony. >>>> >>>> _______________________________________________ >>>> smokeping-users mailing list >>>> smokeping-users at lists.oetiker.ch >>>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >>> _______________________________________________ >>> smokeping-users mailing list >>> smokeping-users at lists.oetiker.ch >>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >>> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From throck+smokeping at gmail.com Sat Jun 23 14:06:29 2012 From: throck+smokeping at gmail.com (Tom Throckmorton) Date: Sat, 23 Jun 2012 08:06:29 -0400 Subject: [smokeping-users] three stupid problems.....log file isue, and what to do for restart ? and pid file In-Reply-To: <4FE593F4.2020509@online.nl> References: <3899F44EE8372C44926752C5C84C13D30188057FB9@OMTCP36040.corp.troweprice.net> <4FE3265A.8040500@online.nl> <006201cd4fca$02b2c1f0$081845d0$@silvertree.org> <4FE593F4.2020509@online.nl> Message-ID: <4FE5B145.60003@gmail.com> On 6/23/12 6:01 AM, Ton Muller wrote: > On 21-6-2012 18:22, Scott Schappell wrote: >> Suggestions inline (I'm a freebsd user) >> >> -----Original Message----- >> From: smokeping-users-bounces+archon=silvertree.org at lists.oetiker.ch >> [mailto:smokeping-users-bounces+archon=silvertree.org at lists.oetiker.ch] On >> Behalf Of Ton Muller >> Sent: Thursday, June 21, 2012 6:49 AM >> To: smokeping-users at lists.oetiker.ch >> Subject: [smokeping-users] three stupid problems.....log file isue, and what >> to do for restart ? and pid file >> >> Ok, long time ago that i posted. >> after i messed up upgrading my openBSD box, it was smarter to do a >> complete install again. >> installed smokeping 2.3 (ports arnt that fast in updating, hehe) >> downside, i forgot to make latest backups from my smokeping stuff (#$&^#@@) >> my problem, i am still not able to get logfiles for smokeping. >> added >> smokeping_enable="yes" >> smokeping_logfile="/var/log/smokeping.log" >> in rc.conf >> >> started smokeping. >> nothing happends. >> how to fix this ? >> >>> touch /var/log/smokeping.log ; chown smokeping /var/log/smokeping.log ; >> chmod 755 /var/log/smokeping.log > NO errors, but.. no data written also to it...... The default config has something like: syslogfacility = local0 ...but your syslog is probably not configured to do anything with local0; either check/reconfigure syslog to do something with local0, or change the facility in the config. >> 2nd, smokeping is saying this when i start it. >> ERROR: Can not read pid from /var/pid/smokeping/smokeping.pid: >> Permission denied >> >> smokeping directory has 666 glags, and +smokeping as owner and group. >> how to fix this ? >> >>> Owner needs +x to be able to change into the /var/pid/smokeping directory. >> chmod u=rwx,g=u-w,o=g /var/pid/smokeping (or chmod 755 /var/pid/smokeping) > FIXED!, works !!! > >> >> 3th.. >> the most stupid one i guess.. >> why is smokeping --reload not working after adding new stuff? >> i need to do a smokeping --restart each time. >> >>> This one I can't answer. > wel, i wrote a litle controll script now, it nicely kills smokeping, and > starts it again... > tempory fix i guess... If you get the logging working, and run with --debug or --debug-daemon, you might get some extra clues as to why --reload isn't working. It looks like 2.3.6 (guessing your version) uses the same restart logic as 2.4.x/2.6.x, so it _should_ work. -tt From artiflo at gmail.com Tue Jun 26 19:35:34 2012 From: artiflo at gmail.com (Artiflo) Date: Tue, 26 Jun 2012 19:35:34 +0200 Subject: [smokeping-users] Tuning Smokeping display for many device Message-ID: Hello, My config : I use smokeping 2.6.8 on 1 host with fping (ICMP) overs ~500 WAN devices (ADSL/SDSL) and in 2 months probably 2000 devices. I have a script for creating Multiple Probe, that create a new Probe every 50 device (Today I have 10 Probes). I use Perl FCGI. I am quite satisfied with how polling is done. But the display is really slow. Every time I click on a graph or menu I have to wait ~3 seconds. What I can confirm using the time command. # time /usr/local/smokeping/bin/smokeping_cgi /usr/local/smokeping/etc/config real 0m2.654s user 0m2.507s sys 0m0.108s This a part of my config file : .... + FPing binary = /usr/sbin/fping packetsize = 32 timeout = 2 ++ FPing1 ++ FPing2 ++ FPing3 .... How can I improve my smokeping setup to accelerate the display ? PS : I note that : When I do an "strace" /usr/local/smokeping/bin/smokeping_cgi , I note many things, plus an "open" on ALL rrd files ??? Why do an open on all rrd files with this script ? # strace /usr/local/smokeping/bin/smokeping_cgi /usr/local/smokeping/etc/config .... open("/usr/local/smokeping/xx/xx/devicexxx.rrd", O_RDONLY) = 4 ... close(4) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120626/137b4bf0/attachment.htm From mailinglists at rednarb.com Tue Jun 26 19:53:37 2012 From: mailinglists at rednarb.com (Eric Brander) Date: Tue, 26 Jun 2012 11:53:37 -0600 Subject: [smokeping-users] Tuning Smokeping display for many device In-Reply-To: References: Message-ID: On Tue, Jun 26, 2012 at 11:35 AM, Artiflo wrote: > How can I improve my smokeping?setup?to accelerate the display ? I'm currently at about 500 devices myself and the web page display is quite speedy after the first load (that's when FCGI does it's caching magic). Make sure your FastCGI module is working properly would be my suggestion. Hope this helps, Eric