[smokeping-users] [Ticket #39] smokeping-users Digest, Vol 78, Issue 2

IT Department anghelflorin at globtel.ro
Tue Nov 12 18:32:36 CET 2013


This is a notification from the Help Desk.




On Nov 12, 2013 @ 05:32 pm, smokeping-users-request at lists.oetiker.ch wrote:
Send smokeping-users mailing list submissions to
	smokeping-users at lists.oetiker.ch

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
or, via email, send a message with subject or body 'help' to
	smokeping-users-request at lists.oetiker.ch

You can reach the person managing the list at
	smokeping-users-owner at lists.oetiker.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of smokeping-users digest..."


Today's Topics:

   1. no data recorded by smokeping (valle at cimex.com.cu)
   2. Re: no data recorded by smokeping (Paul Mansfield)
   3. Help with multiple FPing probes? (Jaysen Johnson)
   4. Re: Help with multiple FPing probes? (Julien Collas)
   5. SmokePing Version 3 (Tobias Oetiker)
   6. Problem showing graphs in OPenSUSE 12.3 (Greg Stucky)
   7. Re: Problem showing graphs in OPenSUSE 12.3 (Greg Stucky)


----------------------------------------------------------------------

Message: 1
Date: Tue, 13 Aug 2013 14:03:38 -0500
From: <valle at cimex.com.cu>
Subject: [smokeping-users] no data recorded by smokeping
To: <smokeping-users at lists.oetiker.ch>
Message-ID:
	<92E513164262C64492FFE840E5502539F03F33 at sis10.cimex.com.cu>
Content-Type: text/plain;	charset="UTF-8"

Hi everybody,

I'm new using smokeping, I have modified the files to suit my organization and the web interface works fine, but no data is recorded after a while. 
I run this commands for troubleshooting:
/etc/init.d/smokeping stop
smokeping --debug

And get this error:
ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory

Anyway, It still not record any data...

Can you please help me find what is wrong..?

Best regards,
Valle



__________________________________________
                                     ?\_(?)_/?
Jorge D. Valle
Redes y Comunicaciones, Sucursal CIMEX, Sancti Spiritus
52873720



------------------------------

Message: 2
Date: Wed, 14 Aug 2013 10:22:35 +0100
From: Paul Mansfield <paul.mansfield+smokeping at grapeshot.co.uk>
Subject: Re: [smokeping-users] no data recorded by smokeping
To: smokeping-users at lists.oetiker.ch
Message-ID:
	<CAHYeK0eZynEkzrXRY6qMj8NCcfk1nJtUPSYMY+4PqC775nDSxw at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 13 August 2013 20:03,  <valle at cimex.com.cu> wrote:
> smokeping --debug
>
> And get this error:
> ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory

I have found that if you run the slaves in debug mode, when the master
config changes and/or restarted, the slaves stop working.

So once you have it working, I recommend not running the slaves in debug mode!



------------------------------

Message: 3
Date: Tue, 20 Aug 2013 02:16:45 -0700
From: Jaysen Johnson <jaysen at jedinetworks.com>
Subject: [smokeping-users] Help with multiple FPing probes?
To: smokeping-users at lists.oetiker.ch
Message-ID: <521333FD.3090605 at jedinetworks.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I am new to SmokePing and need help with setting up multiple FPing 
probes.  I just installed it and it was working fine with a few hosts 
but tonight I added about 100 more routers and now I notice the 
following error in my messages logs.

FPing: WARNING: smokeping took 24 seconds to complete 1 round of 
polling. It should complete polling in 10 seconds. You may have 
unresponsive devices in your setup.


I know I need to do something with the offset but I am confused.  Can 
someone who has successfully setup multiple FPing probes help me out?  I 
only need FPing and no other probes at this time.

Here is my SmokePing URL:  http://jedinetworks.net/smokeping/smokeping.cgi

Thanks,

Jaysen



------------------------------

Message: 4
Date: Tue, 20 Aug 2013 11:20:52 +0200
From: Julien Collas <jul.collas at gmail.com>
Subject: Re: [smokeping-users] Help with multiple FPing probes?
To: Jaysen Johnson <jaysen at jedinetworks.com>
Cc: smokeping-users at lists.oetiker.ch
Message-ID:
	<CAHK+TY-63eCZ8berK8R5dFA_fsZKOYPtjnq7imMRVHu=XNXBQg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Can you give us your Probe configuration ?

Julien


2013/8/20 Jaysen Johnson <jaysen at jedinetworks.com>

> Hello,
>
> I am new to SmokePing and need help with setting up multiple FPing
> probes.  I just installed it and it was working fine with a few hosts
> but tonight I added about 100 more routers and now I notice the
> following error in my messages logs.
>
> FPing: WARNING: smokeping took 24 seconds to complete 1 round of
> polling. It should complete polling in 10 seconds. You may have
> unresponsive devices in your setup.
>
>
> I know I need to do something with the offset but I am confused.  Can
> someone who has successfully setup multiple FPing probes help me out?  I
> only need FPing and no other probes at this time.
>
> Here is my SmokePing URL:  http://jedinetworks.net/smokeping/smokeping.cgi
>
> Thanks,
>
> Jaysen
>
> _______________________________________________
> 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/20130820/56d86cbc/attachment-0001.htm 

------------------------------

Message: 5
Date: Thu, 22 Aug 2013 15:53:23 +0200 (CEST)
From: Tobias Oetiker <tobi at oetiker.ch>
Subject: [smokeping-users] SmokePing Version 3
To: smokeping-users at lists.oetiker.ch
Message-ID: <alpine.DEB.2.02.1308221546080.3745 at froburg.oetiker.ch>
Content-Type: TEXT/PLAIN; charset=US-ASCII

SmokePing 3
-----------

Exciting news! My company, Oetiker+Partner AG (www.oetiker.ch),
just got a PO from CatchPoint Systems Inc (www.catchpoint.com) for
the development of SmokePing 3. The main new feature will be that
SmokePing will get Extopus (www.extopus.org) as a front end.

If you want to get a glimpse at what is in store, have a look at
the extopus website, since there is a demo up, where extopus is
acting as a front end to Torrus (www.torrus.org).

Development will happen in public (github), as soon as there is code
available, I will post about it here.

cheers
Tobi Oetiker

-- 
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



------------------------------

Message: 6
Date: Thu, 22 Aug 2013 13:47:23 -0400
From: Greg Stucky <gstucky at surfbest.net>
Subject: [smokeping-users] Problem showing graphs in OPenSUSE 12.3
To: smokeping-users-request <smokeping-users at lists.oetiker.ch>
Message-ID: <52164EAB.2000200 at surfbest.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I am trying to setup Smokeping on an OpenSUSE 12.3 computer I just 
setup.  I have installed and configured Smokeping as I have several 
times before but this time I an not getting the Graphs to appear.

In config I have imgcache = /srv/www/htdocs/smokeping/cache   which does 
exist.  However when I use a browser to go to 
//localhost/cgi-bin/smokeping I get an error message stating that it 
does not exist.   If I copy the location straight from the error page 
and past it into a browser the folder and its contents show up.  If I 
paste it into Dolphin the same thing.

I tried changing the imgcache back to the default imgcache 
=/var/lib/smokeping/cache.  When I then open a browser Smokeping opens 
but there are no graphs.  If I look in /var/lib/smokeping/cache the 
latest .png files are there.

Is there something I am missing?

Thanks for any suggestions



------------------------------

Message: 7
Date: Fri, 23 Aug 2013 00:14:31 -0400
From: Greg Stucky <gstucky at surfbest.net>
Subject: Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3
To: smokeping-users-request <smokeping-users at lists.oetiker.ch>
Message-ID: <5216E1A7.8040100 at surfbest.net>
Content-Type: text/plain; charset="iso-8859-1"

Sorry,  I meant to submit to the users group.

I think it is an Apache2 issue.  I uninstalled Apache and reinstalled it 
and now I get a permissions error on all HTML files. Any suggestions 
would be appreciated.

Greg Stucky

On 8/22/2013 11:58 PM, Greg Sloop <gregs at sloop.net> wrote:
>
> Well, that's what it is complaining about.
> My guess is: there really is something wrong with that directory/perms.
>
> Make sure there isn't a problem...
>
> I suppose it could be some thing else in the config, so do you mind 
> giving the config.
>
> (And we should probably go back on-list, so others can help)
>
> On Aug 22, 2013 7:39 PM, "Greg Sloop &lt;gregs at sloop.net 
> <mailto:lt%3Bgregs at sloop.net>&gt;" <gregs at sloop.net 
> <mailto:gregs at sloop.net>> wrote:
>
>     See inline.
>     On Aug 22, 2013 6:32 PM, "Greg Stucky" <gstucky at surfbest.net
>     <mailto:gstucky at surfbest.net>> wrote:
>     >
>     > Results from --debug
>     >
>     >
>     > smokeping --config=/etc/smokeping/config  --debug
>     > ### Compiling alert detector pattern 'someloss'
>     > ### >0%,*12*,>0%,*12*,>0%
>     > sub {
>     >     my $d = shift;
>     >     my $y = $d->{loss};
>     >     for(1){
>     >         my $imax2 = min(@$y - 3, 12);
>     >         my $imax1 = min(@$y - 3, 12);
>     >         my $minlength = 3;
>     >         my $maxlength = 27;
>     >         next if scalar @$y < $minlength ;
>     >         my $i1;
>     >         for($i1=0; $i1 < min($maxlength,$imax1); $i1++){
>     >             my $i2;
>     >             for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){
>     >                 next unless defined $y->[-3-$i1-$i2]
>     >                                 and $y->[-3-$i1-$i2] =~ /^\d/
>     >                                 and $y->[-3-$i1-$i2] > 0
>     >                                      ; last;
>     >             }
>     >             return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2);
>     >             next unless defined $y->[-2-$i1]
>     >                             and $y->[-2-$i1] =~ /^\d/
>     >                             and $y->[-2-$i1] > 0
>     >                                  ;            last;
>     >         }
>     >         return 0 if $i1 >= min($maxlength-$i1,$imax1);
>     >         next unless defined $y->[-1]
>     >                         and $y->[-1] =~ /^\d/
>     >                         and $y->[-1] > 0
>     >                              ;        return 1;
>     >     }
>     >     return 0;
>     > }
>     >
>     >
>     >
>     > Smokeping version 2.006008 successfully launched.
>     > Not entering multiprocess mode with '--debug'. Use '--debug-daemon'
>     > for that.
>     > FPing: probing 4 targets with step 300 s and offset 63 s.
>     > FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -i10 192.168.1.122
>     > 192.168.1.117 192.168.1.102 192.168.1.250
>     >
>     > Calling RRDs::update(/var/lib/smokeping/data/MyLocs/server1.rrd
>     > --template
>     >
>     uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:pin
>     >
>     g9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping
>     > 19:ping20
>     >
>     1377220530:U:0:2.8340000000e-02:2.5960000000e-02:2.7160000000e-02:2.72
>     >
>     70000000e-02:2.7290000000e-02:2.7400000000e-02:2.7530000000e-02:2.7670
>     >
>     000000e-02:2.7870000000e-02:2.7880000000e-02:2.8110000000e-02:2.834000
>     >
>     0000e-02:2.8550000000e-02:2.8670000000e-02:2.8880000000e-02:2.91500000
>     >
>     00e-02:2.9170000000e-02:2.9510000000e-02:3.2220000000e-02:3.3470000000
>     > e-02:3.8990000000e-02)
>     >
>     >
>     > Alert "someloss": no match for target
>     > /var/lib/smokeping/data/MyLocs/Server1
>     >
>     > I checked and folder and .rrd file.cgi
>     /var/lib/smokeping/data/MyLocs/Server1 does exist.  I also made a
>     copy of smokeping and called it smokeping.cgi in the cgi-bin
>     folder and i get the same error message
>     >
>     > ERROR: /etc/smokeping/config, line 10: Directory
>     '/srv/www/htdocs/smokeping/cache' does not exist
>
>     Does the above dir exist, and does the user smokeping is running
>     as have rights?
>
>     >
>     > Greg
>     >
>     > On 8/22/2013 7:59 PM, Gregory Sloop wrote:
>     >>
>     >> It should have an extension, I think. I don't think Apache will
>     run it
>     >> as a CGI without it...[Perhaps I'm wrong here, I'm really not sure.
>     >> Mine does have a .cgi extension.]
>     >>
>     >> As asked earlier: Did you run smokeping in debug mode, and what
>     does that show?
>     >>
>     >> ---
>     >> I don't believe I've seen any cases where running smokeping in
>     debug
>     >> mode, and watching the logs doesn't give some good hints where the
>     >> problems are.
>     >>
>     >> -Greg
>     >>
>     >>
>     >> GS> it is ../cgi-bin/smokeping   If you look in the cgi-bin
>     directory
>     >> GS> smokeping has not file extension.    Also if I copy the
>     .png files fro
>     >> GS> /var/lib/smokeping/cache to /srv/www/htdocs/smokeping/cache
>     they show up.
>     >>
>     >> GS> I looked in the error logs before I posted the first
>     question and the
>     >> GS> only error messages there relating to smokeping are several
>     does not
>     >> GS> exist errors.
>     >>
>     >> GS> Greg
>     >>
>     >>
>     >> GS> On 8/22/2013 4:40 PM, Gregory Sloop wrote:
>     >>>>
>     >>>> wouldn't it be
>     >>>> ../cgi-bin/smokeping.cgi
>     >>>> instead of
>     >>>> ../cgi-bin/smokeping/
>     >>>> ??
>     >>>>
>     >>>> If you fix that and it still doesn't work:
>     >>>> Does running smokeping in debug mode tell you anything
>     >>>> Does looking at the apache logs [especially the error logs]
>     tell you
>     >>>> anything?
>     >>>>
>     >>>> -Greg
>     >>>>
>     >>>> GS> I am trying to setup Smokeping on an OpenSUSE 12.3
>     computer I just
>     >>>> GS> setup.  I have installed and configured Smokeping as I
>     have several
>     >>>> GS> times before but this time I an not getting the Graphs to
>     appear.
>     >>>>
>     >>>> GS> In config I have imgcache =
>     /srv/www/htdocs/smokeping/cache   which does
>     >>>> GS> exist.  However when I use a browser to go to
>     >>>> GS> //localhost/cgi-bin/smokeping I get an error message
>     stating that it
>     >>>> GS> does not exist.   If I copy the location straight from
>     the error page
>     >>>> GS> and past it into a browser the folder and its contents
>     show up.  If I
>     >>>> GS> paste it into Dolphin the same thing.
>     >>>>
>     >>>> GS> I tried changing the imgcache back to the default imgcache
>     >>>> GS> =/var/lib/smokeping/cache.  When I then open a browser
>     Smokeping opens
>     >>>> GS> but there are no graphs.  If I look in
>     /var/lib/smokeping/cache the
>     >>>> GS> latest .png files are there.
>     >>>>
>     >>>> GS> Is there something I am missing?
>     >>>>
>     >>>> GS> Thanks for any suggestions
>     >>>>
>     >>>> GS> _______________________________________________
>     >>>> GS> smokeping-users mailing list
>     >>>> GS> smokeping-users at lists.oetiker.ch
>     <mailto:smokeping-users at lists.oetiker.ch>
>     >>>> GS> 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/20130823/f7daecab/attachment.htm 

------------------------------

_______________________________________________
smokeping-users mailing list
smokeping-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users


End of smokeping-users Digest, Vol 78, Issue 2
**********************************************

------
This is an automated response.  Your issue has been noted.  We'll be in touch soon.



Please reply to this email or visit the URL below with any additional details.

http://florin-pc/portal/view-help-request/39


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131112/10b0c59e/attachment-0001.htm 


More information about the smokeping-users mailing list