[smokeping-users] [Ticket #42] smokeping-users Digest, Vol 78, Issue 5

IT Department anghelflorin at globtel.ro
Tue Nov 12 18:32:40 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. Re: Problem showing graphs in OPenSUSE 12.3
      (ITheodoridis at bankofgreece.gr)


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

Message: 1
Date: Fri, 23 Aug 2013 17:26:16 +0300
From: <ITheodoridis at bankofgreece.gr>
Subject: Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3
To: <gstucky at surfbest.net>, <smokeping-users at lists.oetiker.ch>
Message-ID:
	<5B6967F6EA05614489E63202C9F6C18004CCED0D at mkexc01.bankofgreece.gr>
Content-Type: text/plain; charset="utf-8"

Glad you got it working, it?s the ownership or write persmissions most of the time (that?s why I included the directory listings for you but also the suggestion that most times it?s the permissions. You see I had also the same problem in the past and someone in the list suggested to take a look at the permissions, just pushing it forward..).

 

From: Greg Stucky [mailto:gstucky at surfbest.net] 
Sent: Friday, August 23, 2013 4:30 PM
To: smokeping-users-request
Subject: Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3

 

Thanks for the posts.   I verified all of this before I posted the initial message.  I think it is working now and it turned out to be an Apache permissions error.  The user/owner were set wrong on the www directories and giving them explicit rights in advanced permissions did not work.  I rest the permissions on www and applied them to all sub directories and it is now running.

Thanks again to everyone who assisted.



On 8/23/2013 5:15 AM, ITheodoridis at bankofgreece.gr wrote:

 

 

If you see rrd files getting created but no graphs most of the time it?s the permissions on the apache directories for smokeping. If under the apache root, make sure that the apache user has full write access rights to those folders and files.

 

 

 

From: Greg Stucky [mailto:gstucky at surfbest.net] 
Sent: Friday, August 23, 2013 7:15 AM
To: smokeping-users-request
Subject: Re: [smokeping-users] Problem showing graphs in OPenSUSE 12.3

 

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> <mailto: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> wrote:

	See inline.
	On Aug 22, 2013 6:32 PM, "Greg Stucky" <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
	>>>> GS> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
	>>>>
	>>
	>>
	>

 






==============================================================================================================
?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???.
 
?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????.
 
??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????.
 
 
Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG.
 
The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law.
 
If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved.
==============================================================================================================
 
 

 


==============================================================================================================
?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???.

?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????.

??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????.


Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG.

The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law.

If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved.
==============================================================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130823/e51fb4c5/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 5
**********************************************

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


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


More information about the smokeping-users mailing list