From barry at vontobel.cc Mon Sep 13 03:55:27 2010 From: barry at vontobel.cc (Barry von Tobel) Date: Sun, 12 Sep 2010 20:55:27 -0500 Subject: [smokeping-users] PNG images not showing on Ubuntu 10.04 Message-ID: <4C8D848F.3090806@vontobel.cc> I'm trying to run smokeping on my 10.04 LTS computer but the images don't show up. Nothing is shown on Firefox, and Chrome only shows the image outline and time axis information. Below is a 'copy url' from Chrome. http://localhost/cache/smokeping/ima...1283768820.png here is some output from my apache2 log: [Mon Sep 06 09:58:19 2010] [error] [client 192.168.1.54] File does not exist: /var/www/cache, referer: http://192.168.1.50/cgi-bin/smokepin...t=Local.Router [Mon Sep 06 09:58:19 2010] [error] [client 192.168.1.54] File does not exist: /var/www/cache, referer: http://192.168.1.50/cgi-bin/smokepin...t=Local.Router I've played around with the 'pathnames' file in /ect/smokeping, but that didn't seem to work. I browsed from another machine and get the same results. I also re-installed it. I"m using the smokeping version available from apt-get sources, and version is 2.3.6-5 Any ideas? thanks, Barry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100912/062afd35/attachment.htm From carrot at carrotis.com Mon Sep 13 09:27:24 2010 From: carrot at carrotis.com (Calvin Park) Date: Mon, 13 Sep 2010 16:27:24 +0900 Subject: [smokeping-users] minimum install for slave mode Message-ID: Hello Smokeping users ~ I only need to install smokeping-2.3.6 for slave mode, by the way there are so many library required. For example.... usr/lib/libpng12.so lib/libpng12.so.0.42.0 usr/lib/libpangocairo-1.0.so.0.2800.0 usr/lib/libpango-1.0.so.0.2800.0 usr/lib/libcairo.so.2.10800.10 usr/lib/libgobject-2.0.so.0.2400.1 usr/lib/libgmodule-2.0.so.0.2400.1 usr/lib/libgthread-2.0.so.0.2400.1 lib/libglib-2.0.so.0.2400.1 usr/lib/libpangoft2-1.0.so.0.2800.0 usr/lib/libfreetype.so.6.3.22 usr/lib/libfontconfig.so.1.4.4 usr/lib/libpixman-1.so.0.16.4 And more... there are few Megabyte size. As you know, slave mode don't work about painting graph, updating RRD, etc How can I do reduce size of smokeping? Thanks. From ged at jubileegroup.co.uk Mon Sep 13 10:02:29 2010 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Mon, 13 Sep 2010 09:02:29 +0100 (BST) Subject: [smokeping-users] minimum install for slave mode In-Reply-To: References: Message-ID: Hi there, On Mon, 13 Sep 2010, Calvin Park wrote: > ... > there are so many library required. :( > How can I reduce size of smokeping? Not easily. On a slave, I install smokeping in a user's directory. Then I use a script to start it like this: 8<-------------------------------------------------------------------- mail4:~$ >>> cat start_smokeping.sh #!/bin/bash /home/ged/src/net/smokeping/bin/smokeping \ --master-url=http://tornado.local.jubileegroup.co.uk/cgi-bin/smokeping.cgi \ --cache-dir=/home/ged/smokeping/ \ --shared-secret=/home/ged/smokeping/smokeping_id 8<-------------------------------------------------------------------- Then I only install enough libraries to get it to run. That's still quite a lot of software. Smokeping will always be resource hungry as it's largely written in Perl, which is, well, large and inefficient. That doesn't mean I don't like it. :) -- 73, Ged. From ged at jubileegroup.co.uk Mon Sep 13 09:51:47 2010 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Mon, 13 Sep 2010 08:51:47 +0100 (BST) Subject: [smokeping-users] PNG images not showing on Ubuntu 10.04 In-Reply-To: <4C8D848F.3090806@vontobel.cc> References: <4C8D848F.3090806@vontobel.cc> Message-ID: Hi there, On Sun, 12 Sep 2010, Barry von Tobel wrote: > I'm trying to run smokeping on my 10.04 LTS computer but the images > don't show up. Nothing is shown on Firefox, and Chrome only shows the > image outline and time axis information. Below is a 'copy url' from Chrome. > > http://localhost/cache/smokeping/ima...1283768820.png You're new to this, aren't you? :) We've all been there, and it's very confusing until you start to get everything in all the right pigeonholes. The URI you sent is no good to anyone except you. It's a path on your local machine, and that path/image won't exist on anyone else's machine. You need to put the image file where we can get at it. Photobucket? There are two ways to install most packages. The way provided by the author of the package, and the way provided by your particular Linux distribution's package manager. Your Linux distribution is Ubuntu, but you haven't said if you used the Ubuntu package manager or not. I guess you did. Unfortunately people take religious views about where things should go in the filesystem. That means that the author of a package might use use one "filesystem hierarchy standard" (FHS) and the distributions's package manager might use another. If, for example, the author says in his documentation after installing the package according to *his* instructions you must edit the file /usr/bin/smokeping but the package manager for your distribution puts smokeping in /usr/sbin/ then things can get a bit confusing. I don't use Ubuntu, so I don't know what the package management system and the installer will have done. I'd have thought that they ought to have set up everything correctly for you but it seems like they haven't. Probably there are some things you still need to do that the installer can't know how to do, and probably those things are documented in some sensible place such as at a wild guess /usr/share/doc/smokeping/ You need to find out where the documentation is normally expected to be found after you install a package using Ubuntu's package manager, so you can always read it when you need to answer questions like this. "Playing around with pathnames" will not work, and will usually just get you deeper in the mire. Have you done what it says you need to do in the docs? If you don't know what I'm talking about, take some time off and read them: http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html In a vanilla installation (i.e. if you downloaded the package from the Smokeping Website and installed it yourself, not using the Ubuntu package manager to download and install an Ubuntu-packaged version) you would have to set up a couple of paths in the file .../smokeping unfortunately I don't know the full path to .../smokeping on Ubuntu, someone on the list almost certainly will. Try logging in as root and type which smokeping At another wild guess this will give you something like /usr/sbin/smokeping so then type perldoc /usr/sbin/smokeping and read the instructions about editing that file which are given in the file. Save a copy of anything you edit, I would usually copy and edit it like so: cd /path/to/smokeping cp -p smokeping smokeping.original chmod a-w smokeping.original chattr +i smokeping.original emacs smokeping Obviously you will want to use your favourite editor, not mine. :) If all else fails you might try Google to search the Ubuntu users' mailing list archives for information about Smokeping, I'm sure that this will have come up before. -- 73, Ged. From ntyni+smokeping-users at mappi.helsinki.fi Mon Sep 13 13:00:14 2010 From: ntyni+smokeping-users at mappi.helsinki.fi (Niko Tyni) Date: Mon, 13 Sep 2010 14:00:14 +0300 Subject: [smokeping-users] PNG images not showing on Ubuntu 10.04 In-Reply-To: <4C8D848F.3090806@vontobel.cc> References: <4C8D848F.3090806@vontobel.cc> Message-ID: <20100913110014.GA3533@madeleine.local.invalid> On Sun, Sep 12, 2010 at 08:55:27PM -0500, Barry von Tobel wrote: > I'm trying to run smokeping on my 10.04 LTS computer but the images > don't show up. Nothing is shown on Firefox, and Chrome only shows > the image outline and time axis information. Below is a 'copy url' > from Chrome. Was this a new installation of the smokeping package or an upgrade from an earlier version? I put quite a bit of effort into getting this right in the package, and I'd love to find out what went wrong for you. > [Mon Sep 06 09:58:19 2010] [error] [client 192.168.1.54] File does > not exist: /var/www/cache, referer: I have no idea where this is coming from. Please include your /etc/smokeping/apache2.conf and /etc/smokeping/config.d/pathnames. Some background: earlier versions of the package installed the web side in /var/www, but as this was a violation of the Debian policy (and the Filesystem Hierarchy Standard) they now (as of 2.3.6-4) go in /usr/share/smokeping and /var/cache/smokeping/images. The Apache configuration snippet in /etc/smokeping/apache2.conf (which should be symlinked into /etc/apache2/conf.d) makes Apache look in the right place, and upgrades from earlier versions also add a few symlinks in /var/www to try and keep things working. > I've played around with the 'pathnames' file in /ect/smokeping, but > that didn't seem to work. I browsed from another machine and get the > same results. I also re-installed it. I"m using the smokeping > version available from apt-get sources, and version is 2.3.6-5 Reinstalling it probably doesn't change anything. If you're prepared to lose the measurement data, you might want to try 'dpkg --purge smokeping' (which removes all the config files and data) and reinstalling afterwards. HTH, -- Niko Tyni ntyni at debian.org From barry at vontobel.cc Mon Sep 13 16:36:43 2010 From: barry at vontobel.cc (Barry von Tobel) Date: Mon, 13 Sep 2010 09:36:43 -0500 Subject: [smokeping-users] PNG images not showing on Ubuntu 10.04 In-Reply-To: <20100913110014.GA3533@madeleine.local.invalid> References: <4C8D848F.3090806@vontobel.cc> <20100913110014.GA3533@madeleine.local.invalid> Message-ID: <4C8E36FB.6080708@vontobel.cc> Hello Niko, Comments embedded below On 09/13/2010 06:00 AM, Niko Tyni wrote: > On Sun, Sep 12, 2010 at 08:55:27PM -0500, Barry von Tobel wrote: > >> I'm trying to run smokeping on my 10.04 LTS computer but the images >> don't show up. Nothing is shown on Firefox, and Chrome only shows >> the image outline and time axis information. Below is a 'copy url' >> from Chrome. >> > Was this a new installation of the smokeping package or an upgrade from > an earlier version? > > I upgraded to 10.04 LTS from previous versions > I put quite a bit of effort into getting this right in the package, > and I'd love to find out what went wrong for you. > > >> [Mon Sep 06 09:58:19 2010] [error] [client 192.168.1.54] File does >> not exist: /var/www/cache, referer: >> > I have no idea where this is coming from. Please include your > /etc/smokeping/apache2.conf and /etc/smokeping/config.d/pathnames. > I attached the two files. I played around with the pathnames, but before I did that, I made a copy, so this 'should' be the original. > Some background: earlier versions of the package installed the web > side in /var/www, but as this was a violation of the Debian policy > (and the Filesystem Hierarchy Standard) they now (as of 2.3.6-4) go in > /usr/share/smokeping and /var/cache/smokeping/images. > > The Apache configuration snippet in /etc/smokeping/apache2.conf (which > should be symlinked into /etc/apache2/conf.d) makes Apache look in the > right place, and upgrades from earlier versions also add a few symlinks > in /var/www to try and keep things working. > > >> I've played around with the 'pathnames' file in /ect/smokeping, but >> that didn't seem to work. I browsed from another machine and get the >> same results. I also re-installed it. I"m using the smokeping >> version available from apt-get sources, and version is 2.3.6-5 >> > Reinstalling it probably doesn't change anything. If you're prepared to > lose the measurement data, you might want to try 'dpkg --purge smokeping' > (which removes all the config files and data) and reinstalling afterwards. > > HTH, > Barry -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: apache2.conf Url: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100913/87e6421b/attachment.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pathnames Url: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100913/87e6421b/attachment-0001.txt From rtanner at linfield.edu Thu Sep 16 18:27:37 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 16 Sep 2010 09:27:37 -0700 Subject: [smokeping-users] Upgrading from v2.0.9 to v2.4.2 Message-ID: Hi, I downloaded the v2.4.2 tarball and read through the upgrade documentation. My concern is that it says nothing about how to move history data into the newer version. Are the RRD files compatible? Do I simply move the ./var hierarchy over to the new install? Rob Tanner UNIX Services Manager Linfield College, McMinnville Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100916/66c7be4f/attachment.htm From slyons at fxcm.com Mon Sep 20 22:22:55 2010 From: slyons at fxcm.com (Seth Lyons) Date: Mon, 20 Sep 2010 16:22:55 -0400 Subject: [smokeping-users] hping probe Message-ID: I recently began having an issue with the hping probe. When running smokeping --debug everything works as expected, but when running as a daemon the probe doesn't run and I get the following message in my smokeping log: HPing: WARNING: /usr/local/sbin/hping -d 0 -p 80 -S -c 5 www.yahoo.com was not happy: [open_sockraw] socket(): Operation not permitted [main] can't open raw socket Any help is greatly appreciated. FreeBSD 8.1-RELEASE amd64 hping-2.0.0r3 smokeping-2.4.2_6 Thanks. Seth -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100920/bd0b53be/attachment.htm From slyons at fxcm.com Mon Sep 20 23:09:46 2010 From: slyons at fxcm.com (Seth Lyons) Date: Mon, 20 Sep 2010 17:09:46 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: Message-ID: Smokeping runs as smokeping/smokeping. I am debugging as the root user. I thought that running debug ran the program with output to stdout as it normally runs, but apparently not. I know that hping in general needs to be run as root (and that it doesn't run properly when it's setuid'd). I'm hoping for a solution that is _not_ running smokeping as root. -----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Monday, September 20, 2010 5:05 PM To: Seth Lyons Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] hping probe What user/group does smokeping run as a daemon? Are you debugging as root? Looks like a permission issue with hping, what's ls -l /usr/local/sbin/hping say? Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 4:22 PM, Seth Lyons wrote: > I recently began having an issue with the hping probe.? When running > smokeping --debug everything works as expected, but when running as a > daemon the probe doesn't run and I get the following message in my smokeping log: > > > > HPing: WARNING: /usr/local/sbin/hping -d 0 -p 80 -S -c 5 www.yahoo.com > was not happy: [open_sockraw] socket(): Operation not permitted [main] > can't open raw socket > > > > Any help is greatly appreciated. > > > > FreeBSD 8.1-RELEASE amd64 > > hping-2.0.0r3 > > smokeping-2.4.2_6 > > > > Thanks. > > > > Seth > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > From rtanner at linfield.edu Mon Sep 20 23:12:18 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Mon, 20 Sep 2010 14:12:18 -0700 Subject: [smokeping-users] Cropper not running Message-ID: Hi, I?m trying to get zoom all configured but see in the logs that cropper is failing. Here is a sample of the apache error_log for just a single target: [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/lib/prototype.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/lib/scriptaculous.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/smokeping-zoom.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/cropper.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: prototype.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: scriptaculous.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: smokeping-zoom.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: cropper.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 The paths are correct in basepage.html and I didn?t see any special instructions for configuring the javascript. Any idea what?s going on? Thanks, Rob Rob Tanner UNIX Services Manager Linfield College, McMinnville Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100920/ec92c813/attachment.htm From josh at imaginenetworksllc.com Mon Sep 20 23:05:17 2010 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Mon, 20 Sep 2010 17:05:17 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: Message-ID: What user/group does smokeping run as a daemon? Are you debugging as root? Looks like a permission issue with hping, what's ls -l /usr/local/sbin/hping say? Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 4:22 PM, Seth Lyons wrote: > I recently began having an issue with the hping probe.? When running > smokeping --debug everything works as expected, but when running as a daemon > the probe doesn?t run and I get the following message in my smokeping log: > > > > HPing: WARNING: /usr/local/sbin/hping -d 0 -p 80 -S -c 5 www.yahoo.com was > not happy: [open_sockraw] socket(): Operation not permitted [main] can't > open raw socket > > > > Any help is greatly appreciated. > > > > FreeBSD 8.1-RELEASE amd64 > > hping-2.0.0r3 > > smokeping-2.4.2_6 > > > > Thanks. > > > > Seth > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > From josh at imaginenetworksllc.com Mon Sep 20 23:16:31 2010 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Mon, 20 Sep 2010 17:16:31 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: Message-ID: Initially I would run smokeping as root for a poll or two to make sure that is the problem. If so, then simply chgrp and chmod appropriately. Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:09 PM, Seth Lyons wrote: > Smokeping runs as smokeping/smokeping. ?I am debugging as the root user. ?I thought that running debug ran the program with output to stdout as it normally runs, but apparently not. > > I know that hping in general needs to be run as root (and that it doesn't run properly when it's setuid'd). ?I'm hoping for a solution that is _not_ running smokeping as root. > > -----Original Message----- > From: Josh Luthman [mailto:josh at imaginenetworksllc.com] > Sent: Monday, September 20, 2010 5:05 PM > To: Seth Lyons > Cc: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] hping probe > > What user/group does smokeping run as a daemon? ?Are you debugging as root? > > Looks like a permission issue with hping, what's ls -l /usr/local/sbin/hping say? > > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100 Wayne St > Suite 1337 > Troy, OH 45373 > > > > On Mon, Sep 20, 2010 at 4:22 PM, Seth Lyons wrote: >> I recently began having an issue with the hping probe.? When running >> smokeping --debug everything works as expected, but when running as a >> daemon the probe doesn't run and I get the following message in my smokeping log: >> >> >> >> HPing: WARNING: /usr/local/sbin/hping -d 0 -p 80 -S -c 5 www.yahoo.com >> was not happy: [open_sockraw] socket(): Operation not permitted [main] >> can't open raw socket >> >> >> >> Any help is greatly appreciated. >> >> >> >> FreeBSD 8.1-RELEASE amd64 >> >> hping-2.0.0r3 >> >> smokeping-2.4.2_6 >> >> >> >> Thanks. >> >> >> >> Seth >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> >> > From slyons at fxcm.com Mon Sep 20 23:30:26 2010 From: slyons at fxcm.com (Seth Lyons) Date: Mon, 20 Sep 2010 17:30:26 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: Message-ID: Everything works fine when I run smokeping as root. What permissions do you suggest I change? Because of the way hping manipulates packets, it must be run as root. Aside from running smokeping as root, what is there left to do? -----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Monday, September 20, 2010 5:17 PM To: Seth Lyons Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] hping probe Initially I would run smokeping as root for a poll or two to make sure that is the problem. If so, then simply chgrp and chmod appropriately. Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:09 PM, Seth Lyons wrote: > Smokeping runs as smokeping/smokeping. ?I am debugging as the root user. ?I thought that running debug ran the program with output to stdout as it normally runs, but apparently not. > > I know that hping in general needs to be run as root (and that it doesn't run properly when it's setuid'd). ?I'm hoping for a solution that is _not_ running smokeping as root. > > -----Original Message----- > From: Josh Luthman [mailto:josh at imaginenetworksllc.com] > Sent: Monday, September 20, 2010 5:05 PM > To: Seth Lyons > Cc: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] hping probe > > What user/group does smokeping run as a daemon? ?Are you debugging as root? > > Looks like a permission issue with hping, what's ls -l /usr/local/sbin/hping say? > > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100 Wayne St > Suite 1337 > Troy, OH 45373 > > > > On Mon, Sep 20, 2010 at 4:22 PM, Seth Lyons wrote: >> I recently began having an issue with the hping probe.? When running >> smokeping --debug everything works as expected, but when running as a >> daemon the probe doesn't run and I get the following message in my smokeping log: >> >> >> >> HPing: WARNING: /usr/local/sbin/hping -d 0 -p 80 -S -c 5 >> www.yahoo.com was not happy: [open_sockraw] socket(): Operation not >> permitted [main] can't open raw socket >> >> >> >> Any help is greatly appreciated. >> >> >> >> FreeBSD 8.1-RELEASE amd64 >> >> hping-2.0.0r3 >> >> smokeping-2.4.2_6 >> >> >> >> Thanks. >> >> >> >> Seth >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> >> > From josh at imaginenetworksllc.com Mon Sep 20 23:37:23 2010 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Mon, 20 Sep 2010 17:37:23 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: Message-ID: That is a bit out of my expertise, but I'm pretty sure there is some way to have smokeping run as smokeping but run hping as root. I can't help you but I expect someone else on this list can and probably will, if not try irc://irc.freenode.net/##linux Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:30 PM, Seth Lyons wrote: > Everything works fine when I run smokeping as root. ?What permissions do you suggest I change? ?Because of the way hping manipulates packets, it must be run as root. ?Aside from running smokeping as root, what is there left to do? > > -----Original Message----- > From: Josh Luthman [mailto:josh at imaginenetworksllc.com] > Sent: Monday, September 20, 2010 5:17 PM > To: Seth Lyons > Cc: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] hping probe > > Initially I would run smokeping as root for a poll or two to make sure that is the problem. ?If so, then simply chgrp and chmod appropriately. > > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100 Wayne St > Suite 1337 > Troy, OH 45373 > > > > On Mon, Sep 20, 2010 at 5:09 PM, Seth Lyons wrote: >> Smokeping runs as smokeping/smokeping. ?I am debugging as the root user. ?I thought that running debug ran the program with output to stdout as it normally runs, but apparently not. >> >> I know that hping in general needs to be run as root (and that it doesn't run properly when it's setuid'd). ?I'm hoping for a solution that is _not_ running smokeping as root. >> >> -----Original Message----- >> From: Josh Luthman [mailto:josh at imaginenetworksllc.com] >> Sent: Monday, September 20, 2010 5:05 PM >> To: Seth Lyons >> Cc: smokeping-users at lists.oetiker.ch >> Subject: Re: [smokeping-users] hping probe >> >> What user/group does smokeping run as a daemon? ?Are you debugging as root? >> >> Looks like a permission issue with hping, what's ls -l /usr/local/sbin/hping say? >> >> Josh Luthman >> Office: 937-552-2340 >> Direct: 937-552-2343 >> 1100 Wayne St >> Suite 1337 >> Troy, OH 45373 >> >> >> >> On Mon, Sep 20, 2010 at 4:22 PM, Seth Lyons wrote: >>> I recently began having an issue with the hping probe.? When running >>> smokeping --debug everything works as expected, but when running as a >>> daemon the probe doesn't run and I get the following message in my smokeping log: >>> >>> >>> >>> HPing: WARNING: /usr/local/sbin/hping -d 0 -p 80 -S -c 5 >>> www.yahoo.com was not happy: [open_sockraw] socket(): Operation not >>> permitted [main] can't open raw socket >>> >>> >>> >>> Any help is greatly appreciated. >>> >>> >>> >>> FreeBSD 8.1-RELEASE amd64 >>> >>> hping-2.0.0r3 >>> >>> smokeping-2.4.2_6 >>> >>> >>> >>> Thanks. >>> >>> >>> >>> Seth >>> >>> _______________________________________________ >>> smokeping-users mailing list >>> smokeping-users at lists.oetiker.ch >>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >>> >>> >> > From Ralf.Hildebrandt at charite.de Mon Sep 20 23:39:04 2010 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Mon, 20 Sep 2010 23:39:04 +0200 Subject: [smokeping-users] hping probe In-Reply-To: References: Message-ID: <20100920213903.GE14292@charite.de> * Seth Lyons : > Everything works fine when I run smokeping as root. What permissions > do you suggest I change? Because of the way hping manipulates packets, > it must be run as root. Aside from running smokeping as root, what is > there left to do? chown root:root /usr/local/sbin/hping chmod u+s /usr/local/sbin/hping (if hping can be run setuid) -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From slyons at fxcm.com Mon Sep 20 23:49:48 2010 From: slyons at fxcm.com (Seth Lyons) Date: Mon, 20 Sep 2010 17:49:48 -0400 Subject: [smokeping-users] hping probe In-Reply-To: <20100920213903.GE14292@charite.de> References: <20100920213903.GE14292@charite.de> Message-ID: I tried that. Unfortunately hping cannot be run setuid. -----Original Message----- From: smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch [mailto:smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch] On Behalf Of Ralf Hildebrandt Sent: Monday, September 20, 2010 5:39 PM To: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] hping probe * Seth Lyons : > Everything works fine when I run smokeping as root. What permissions > do you suggest I change? Because of the way hping manipulates > packets, it must be run as root. Aside from running smokeping as > root, what is there left to do? chown root:root /usr/local/sbin/hping chmod u+s /usr/local/sbin/hping (if hping can be run setuid) -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From josh at imaginenetworksllc.com Mon Sep 20 23:50:27 2010 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Mon, 20 Sep 2010 17:50:27 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: <20100920213903.GE14292@charite.de> Message-ID: This suggests it can: http://www.kyuzz.org/antirez/hping3.html http://lwn.net/1998/1210/hping.html http://www.google.com/search?q=hping+setuid&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:49 PM, Seth Lyons wrote: > I tried that. ?Unfortunately hping cannot be run setuid. > > -----Original Message----- > From: smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch [mailto:smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch] On Behalf Of Ralf Hildebrandt > Sent: Monday, September 20, 2010 5:39 PM > To: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] hping probe > > * Seth Lyons : > >> Everything works fine when I run smokeping as root. ?What permissions >> do you suggest I change? ?Because of the way hping manipulates >> packets, it must be run as root. ?Aside from running smokeping as >> root, what is there left to do? > > chown root:root /usr/local/sbin/hping > chmod u+s /usr/local/sbin/hping > > (if hping can be run setuid) > > -- > Ralf Hildebrandt > ?Gesch?ftsbereich IT | Abteilung Netzwerk > ?Charit? - Universit?tsmedizin Berlin > ?Campus Benjamin Franklin > ?Hindenburgdamm 30 | D-12203 Berlin > ?Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > ?ralf.hildebrandt at charite.de | http://www.charite.de > > > _______________________________________________ > 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 slyons at fxcm.com Mon Sep 20 23:57:19 2010 From: slyons at fxcm.com (Seth Lyons) Date: Mon, 20 Sep 2010 17:57:19 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: <20100920213903.GE14292@charite.de> Message-ID: I am running hping2, not hping3 (which is still in development). When setuid this happens: -----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Monday, September 20, 2010 5:50 PM To: Seth Lyons Cc: Ralf Hildebrandt; smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] hping probe This suggests it can: http://www.kyuzz.org/antirez/hping3.html http://lwn.net/1998/1210/hping.html http://www.google.com/search?q=hping+setuid&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:49 PM, Seth Lyons wrote: > I tried that. ?Unfortunately hping cannot be run setuid. > > -----Original Message----- > From: smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch > [mailto:smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch] On > Behalf Of Ralf Hildebrandt > Sent: Monday, September 20, 2010 5:39 PM > To: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] hping probe > > * Seth Lyons : > >> Everything works fine when I run smokeping as root. ?What permissions >> do you suggest I change? ?Because of the way hping manipulates >> packets, it must be run as root. ?Aside from running smokeping as >> root, what is there left to do? > > chown root:root /usr/local/sbin/hping > chmod u+s /usr/local/sbin/hping > > (if hping can be run setuid) > > -- > Ralf Hildebrandt > ?Gesch?ftsbereich IT | Abteilung Netzwerk > ?Charit? - Universit?tsmedizin Berlin > ?Campus Benjamin Franklin > ?Hindenburgdamm 30 | D-12203 Berlin > ?Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > ?ralf.hildebrandt at charite.de | http://www.charite.de > > > _______________________________________________ > 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 slyons at fxcm.com Mon Sep 20 23:58:13 2010 From: slyons at fxcm.com (Seth Lyons) Date: Mon, 20 Sep 2010 17:58:13 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: <20100920213903.GE14292@charite.de> Message-ID: Sorry about that... With setuid: slyons at xxxxx:~> hping -S www.yahoo.com -p 80 Option disabled when setuid `-S' -----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Monday, September 20, 2010 5:50 PM To: Seth Lyons Cc: Ralf Hildebrandt; smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] hping probe This suggests it can: http://www.kyuzz.org/antirez/hping3.html http://lwn.net/1998/1210/hping.html http://www.google.com/search?q=hping+setuid&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:49 PM, Seth Lyons wrote: > I tried that. ?Unfortunately hping cannot be run setuid. > > -----Original Message----- > From: smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch > [mailto:smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch] On > Behalf Of Ralf Hildebrandt > Sent: Monday, September 20, 2010 5:39 PM > To: smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] hping probe > > * Seth Lyons : > >> Everything works fine when I run smokeping as root. ?What permissions >> do you suggest I change? ?Because of the way hping manipulates >> packets, it must be run as root. ?Aside from running smokeping as >> root, what is there left to do? > > chown root:root /usr/local/sbin/hping > chmod u+s /usr/local/sbin/hping > > (if hping can be run setuid) > > -- > Ralf Hildebrandt > ?Gesch?ftsbereich IT | Abteilung Netzwerk > ?Charit? - Universit?tsmedizin Berlin > ?Campus Benjamin Franklin > ?Hindenburgdamm 30 | D-12203 Berlin > ?Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > ?ralf.hildebrandt at charite.de | http://www.charite.de > > > _______________________________________________ > 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 josh at imaginenetworksllc.com Tue Sep 21 00:03:34 2010 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Mon, 20 Sep 2010 18:03:34 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: <20100920213903.GE14292@charite.de> Message-ID: It seems to me your option is to update to hping3 or run smokeping as root. Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Mon, Sep 20, 2010 at 5:58 PM, Seth Lyons wrote: > Sorry about that... > > With setuid: > > slyons at xxxxx:~> hping -S www.yahoo.com -p 80 > Option disabled when setuid `-S' > > -----Original Message----- > From: Josh Luthman [mailto:josh at imaginenetworksllc.com] > Sent: Monday, September 20, 2010 5:50 PM > To: Seth Lyons > Cc: Ralf Hildebrandt; smokeping-users at lists.oetiker.ch > Subject: Re: [smokeping-users] hping probe > > This suggests it can: > > http://www.kyuzz.org/antirez/hping3.html > http://lwn.net/1998/1210/hping.html > http://www.google.com/search?q=hping+setuid&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a > > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100 Wayne St > Suite 1337 > Troy, OH 45373 > > > > On Mon, Sep 20, 2010 at 5:49 PM, Seth Lyons wrote: >> I tried that. ?Unfortunately hping cannot be run setuid. >> >> -----Original Message----- >> From: smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch >> [mailto:smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch] On >> Behalf Of Ralf Hildebrandt >> Sent: Monday, September 20, 2010 5:39 PM >> To: smokeping-users at lists.oetiker.ch >> Subject: Re: [smokeping-users] hping probe >> >> * Seth Lyons : >> >>> Everything works fine when I run smokeping as root. ?What permissions >>> do you suggest I change? ?Because of the way hping manipulates >>> packets, it must be run as root. ?Aside from running smokeping as >>> root, what is there left to do? >> >> chown root:root /usr/local/sbin/hping >> chmod u+s /usr/local/sbin/hping >> >> (if hping can be run setuid) >> >> -- >> Ralf Hildebrandt >> ?Gesch?ftsbereich IT | Abteilung Netzwerk >> ?Charit? - Universit?tsmedizin Berlin >> ?Campus Benjamin Franklin >> ?Hindenburgdamm 30 | D-12203 Berlin >> ?Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 >> ?ralf.hildebrandt at charite.de | http://www.charite.de >> >> >> _______________________________________________ >> 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 Tue Sep 21 00:06:16 2010 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Mon, 20 Sep 2010 18:06:16 -0400 Subject: [smokeping-users] hping probe In-Reply-To: References: <20100920213903.GE14292@charite.de> Message-ID: <4C97DAD8.4090407@alter3d.ca> Another option would be to use sudo -- allow the smokeping user to execute the hping binary with elevated privileges without a password, then either modify the probe to use sudo, or write a wrapper script to call 'sudo /path/to/hping2 $*' - Peter On 9/20/2010 6:03 PM, Josh Luthman wrote: > It seems to me your option is to update to hping3 or run smokeping as root. > > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100 Wayne St > Suite 1337 > Troy, OH 45373 > > > > On Mon, Sep 20, 2010 at 5:58 PM, Seth Lyons wrote: >> Sorry about that... >> >> With setuid: >> >> slyons at xxxxx:~> hping -S www.yahoo.com -p 80 >> Option disabled when setuid `-S' >> >> -----Original Message----- >> From: Josh Luthman [mailto:josh at imaginenetworksllc.com] >> Sent: Monday, September 20, 2010 5:50 PM >> To: Seth Lyons >> Cc: Ralf Hildebrandt; smokeping-users at lists.oetiker.ch >> Subject: Re: [smokeping-users] hping probe >> >> This suggests it can: >> >> http://www.kyuzz.org/antirez/hping3.html >> http://lwn.net/1998/1210/hping.html >> http://www.google.com/search?q=hping+setuid&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a >> >> Josh Luthman >> Office: 937-552-2340 >> Direct: 937-552-2343 >> 1100 Wayne St >> Suite 1337 >> Troy, OH 45373 >> >> >> >> On Mon, Sep 20, 2010 at 5:49 PM, Seth Lyons wrote: >>> I tried that. Unfortunately hping cannot be run setuid. >>> >>> -----Original Message----- >>> From: smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch >>> [mailto:smokeping-users-bounces+slyons=fxcm.com at lists.oetiker.ch] On >>> Behalf Of Ralf Hildebrandt >>> Sent: Monday, September 20, 2010 5:39 PM >>> To: smokeping-users at lists.oetiker.ch >>> Subject: Re: [smokeping-users] hping probe >>> >>> * Seth Lyons: >>> >>>> Everything works fine when I run smokeping as root. What permissions >>>> do you suggest I change? Because of the way hping manipulates >>>> packets, it must be run as root. Aside from running smokeping as >>>> root, what is there left to do? >>> chown root:root /usr/local/sbin/hping >>> chmod u+s /usr/local/sbin/hping >>> >>> (if hping can be run setuid) >>> >>> -- >>> Ralf Hildebrandt >>> Gesch?ftsbereich IT | Abteilung Netzwerk >>> Charit? - Universit?tsmedizin Berlin >>> Campus Benjamin Franklin >>> Hindenburgdamm 30 | D-12203 Berlin >>> Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 >>> ralf.hildebrandt at charite.de | http://www.charite.de >>> >>> >>> _______________________________________________ >>> 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: 6444 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100920/5287ea39/attachment.bin From rtanner at linfield.edu Wed Sep 22 02:07:30 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Tue, 21 Sep 2010 17:07:30 -0700 Subject: [smokeping-users] Problem setting zooming Message-ID: Hi, (I posted this yesterday and I never saw it on the list, so here it is again) I?m trying to get zoom all configured but see in the logs that cropper is failing. Here is a sample of the apache error_log for just a single target: [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/lib/prototype.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/lib/scriptaculous.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/smokeping-zoom.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format error: exec of '/var/www/cgi-bin/cropper/cropper.js' failed, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: prototype.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: scriptaculous.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: smokeping-zoom.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of script headers: cropper.js, referer: http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 -10%2013:26;end=now;target=Linfield.DNS.dns7 The paths are correct in basepage.html and I didn?t see any special instructions for configuring the javascript. Any idea what?s going on? Thanks, Rob Rob Tanner UNIX Services Manager Linfield College, McMinnville Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100921/0b817219/attachment.htm From tobi at oetiker.ch Wed Sep 22 06:30:30 2010 From: tobi at oetiker.ch (Tobias Oetiker) Date: Wed, 22 Sep 2010 06:30:30 +0200 (CEST) Subject: [smokeping-users] Problem setting zooming In-Reply-To: References: Message-ID: Hi Rob, Yesterday Rob Tanner wrote: > Hi, > > (I posted this yesterday and I never saw it on the list, so here it is > again) > > > I?m trying to get zoom all configured but see in the logs that cropper is > failing. Here is a sample of the apache error_log for just a single target: you must not put these files into the cgi-bin directory since your webserver will try to run them ... put them somewhere else! cheers tobi > > > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format > error: exec of '/var/www/cgi-bin/cropper/lib/prototype.js' failed, referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format > error: exec of '/var/www/cgi-bin/cropper/lib/scriptaculous.js' failed, > referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format > error: exec of '/var/www/cgi-bin/cropper/smokeping-zoom.js' failed, referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format > error: exec of '/var/www/cgi-bin/cropper/cropper.js' failed, referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of > script headers: prototype.js, referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of > script headers: scriptaculous.js, referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of > script headers: smokeping-zoom.js, referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of > script headers: cropper.js, referer: > http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 > -10%2013:26;end=now;target=Linfield.DNS.dns7 > > > The paths are correct in basepage.html and I didn?t see any special > instructions for configuring the javascript. Any idea what?s going on? > > > > Thanks, > Rob > > > > Rob Tanner > UNIX Services Manager > Linfield College, McMinnville Oregon > > > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900 From mh+smokeping-users at zugschlus.de Wed Sep 22 13:13:07 2010 From: mh+smokeping-users at zugschlus.de (Marc Haber) Date: Wed, 22 Sep 2010 13:13:07 +0200 Subject: [smokeping-users] Multiple probes on a single host/target Message-ID: <20100922111307.GB15892@torres.zugschlus.de> Hi, I would like to monitor a bunch of DNS servers using ping and DNS, and I would like to have the web interface looking like DNS-Servers host01 ping DNS host02 ping DNS This is what I have configured (cut down to the relevant parts): *** Probes *** + FPing binary = /usr/bin/fping + DNS binary = /usr/bin/dig forks = 5 offset = 50% step = 300 timeout = 15 lookup = testdomain.example pings = 5 *** Targets *** + DNS menu = DNS-Servers title = DNS-Servers ++ host01 menu = host01 title = host01 +++ ping probe = FPing menu = ping title = host01 ping host = 192.168.38.19 +++ testdomain-example probe = DNS menu = testdomain.example title = host01 testdoman.example server = 192.168.38.19 ++ host02 menu = host02 title = host02 +++ ping probe = FPing menu = ping title = host02 ping host = 192.168.38.20 +++ testdomain-example probe = DNS menu = testdomain.example title = host02 testdoman.example server = 192.168.38.20 Unfortunately, the DNS probe thinks it has no targets: dnschecker01:/etc/smokeping/config.d# /usr/sbin/smokeping --debug ### parsing dig output...OK ### Compiling alert detector pattern 'startloss' ### ==S,>0%,>0%,>0% Smokeping version 2.003006 successfully launched. Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that. FPing: probing 3 targets with step 300 s and offset 195 s. DNS: probing 0 targets with step 300 s and offset 195 s. FPing: Executing /usr/bin/fping -C 20 -q -B1 -r1 -i10 172.20.38.19 172.20.11.1 localhost Can anybody point me in the right direction to what I may be doing wrong here? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 From ged at jubileegroup.co.uk Wed Sep 22 13:58:08 2010 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Wed, 22 Sep 2010 12:58:08 +0100 (BST) Subject: [smokeping-users] Multiple probes on a single host/target In-Reply-To: <20100922111307.GB15892@torres.zugschlus.de> References: <20100922111307.GB15892@torres.zugschlus.de> Message-ID: Hi there, On Wed, 22 Sep 2010, Marc Haber wrote: > ... > probe = FPing > ... > host = 192.168.38.20 I follow that. > ... > probe = DNS > ... > server = 192.168.38.20 But is that right? -- 73, Ged. From rtanner at linfield.edu Wed Sep 22 18:26:34 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Wed, 22 Sep 2010 09:26:34 -0700 Subject: [smokeping-users] Problem setting zooming In-Reply-To: Message-ID: Tobi, Thanks. It now works like a charm. -- Rob On 9/21/10 9:30 PM, "Tobias Oetiker" wrote: > Hi Rob, > > Yesterday Rob Tanner wrote: > >> Hi, >> >> (I posted this yesterday and I never saw it on the list, so here it is >> again) >> >> >> I?m trying to get zoom all configured but see in the logs that cropper is >> failing. Here is a sample of the apache error_log for just a single target: > > you must not put these files into the cgi-bin directory since your > webserver will try to run them ... put them somewhere else! > > cheers > tobi > >> >> >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format >> error: exec of '/var/www/cgi-bin/cropper/lib/prototype.js' failed, referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format >> error: exec of '/var/www/cgi-bin/cropper/lib/scriptaculous.js' failed, >> referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format >> error: exec of '/var/www/cgi-bin/cropper/smokeping-zoom.js' failed, referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] (8)Exec format >> error: exec of '/var/www/cgi-bin/cropper/cropper.js' failed, referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of >> script headers: prototype.js, referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of >> script headers: scriptaculous.js, referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of >> script headers: smokeping-zoom.js, referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> [Mon Sep 20 13:56:45 2010] [error] [client 10.110.8.91] Premature end of >> script headers: cropper.js, referer: >> http://sirius.linfield.edu/cgi-bin/smokeping.cgi?displaymode=n;start=2010-09 >> -10%2013:26;end=now;target=Linfield.DNS.dns7 >> >> >> The paths are correct in basepage.html and I didn?t see any special >> instructions for configuring the javascript. Any idea what?s going on? >> >> >> >> Thanks, >> Rob >> >> >> >> Rob Tanner >> UNIX Services Manager >> Linfield College, McMinnville Oregon >> >> >> >>