From c.schwarz at funknetz.at Tue Mar 1 13:25:31 2011 From: c.schwarz at funknetz.at (c.schwarz at funknetz.at) Date: Tue, 1 Mar 2011 12:25:31 +0000 Subject: [smokeping-users] How to configure "Hierachy"? Message-ID: <97E3C2C919ADBE4BAAEFEF08EA704B9A665B01@EXCHANGE.Funknetz.local> Hello, I would like to use the 'Hierachy' feature to have a more structured view on my targets. On the demo site (http://smokeping.basemirror.de/smokeping-demo/?target=Customers.OP) there are two, "Default Hierachy" and "Tobias Favorites" - exactly that is what I want, but how can it be achieved? OS: Debian Squeeze (amd64) Smokeping Version: SmokePing-2.3.6 Thank you in advance, Chris From Andrew.Medhurst at the-logic-group.com Tue Mar 1 15:33:48 2011 From: Andrew.Medhurst at the-logic-group.com (Andrew Medhurst) Date: Tue, 1 Mar 2011 14:33:48 +0000 Subject: [smokeping-users] Error Message-ID: <574459158D85E14CBBA091C8AD9B44E26DB3ED27B4@ms03.GS.TLG.PRIVATE> Hi guys I am new to smokeping and I have managed to get the application running but cannot get it to display anything, it either says "ERROR: creating /var/www/html/smokeping/img/services" or if I click on one of the servers in the list I configured it says UNKNOWN. HELP. I believe this could be my config but where should I start to look. Regards Andrew Follow us on our Twitter account for all the latest developments at The Logic Group. [http://www.the-logic-group.com/CP/UploadedImages/75bd388c-1f27-41f4-8f68-adf034d0b2ea.jpg] The Logic Group Enterprises Limited, Logic House, Waterfront Business Park, Fleet Road, Fleet, Hampshire, GU51 3SB, United Kingdom. Registered in England. Registered No. 2609323 The information in this email and any attachments are confidential and may be legally privileged and protected by law. It is for the intended recipient only. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110301/9e402416/attachment.htm From kbensch at fullnet.co.uk Tue Mar 1 15:46:04 2011 From: kbensch at fullnet.co.uk (Kobus Bensch) Date: Tue, 01 Mar 2011 14:46:04 +0000 Subject: [smokeping-users] Error In-Reply-To: <574459158D85E14CBBA091C8AD9B44E26DB3ED27B4@ms03.GS.TLG.PRIVATE> References: <574459158D85E14CBBA091C8AD9B44E26DB3ED27B4@ms03.GS.TLG.PRIVATE> Message-ID: <4D6D06AC.2080802@fullnet.co.uk> In my experience it is usually rights. the wrong user with the wrong permissions to the wrong directories. On 01/03/2011 14:33, Andrew Medhurst wrote: > > Hi guys > > I am new to smokeping and I have managed to get the application running but cannot get it to display anything, > it either says "ERROR: creating /var/www/html/smokeping/img/services" or if I click on one of the servers > in the list I configured it says UNKNOWN. > > HELP. > I believe this could be my config but where should I start to look. > Regards > Andrew > > Follow us on our Twitter account > for all the latest developments at > The Logic Group. > > > > > The Logic Group Enterprises Limited, Logic House, Waterfront Business > Park, Fleet Road, Fleet, > Hampshire, GU51 3SB, United Kingdom. Registered in England. Registered > No. 2609323 > > The information in this email and any attachments are confidential and > may be legally privileged and protected by law. It is for the intended > recipient only. If you are not the intended recipient you may not use, > disclose, copy, distribute, print or rely on the content of this email > or its attachments. If this email has been received by you in error > please advise the sender and delete the email from your system. > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -- Albany House Market Street Maidenhead Berkshire SL6 8BE United Kingdom Telephone: +44 (01628) 675 978 Facsimile: +44 (07092) 289 990 Mobile Phone: +44 (07703) 503 733 Skype ID: fullnetsolutionsltd Kobus Bensch: kbensch at fullnet.co.uk Information: info at fullnet.co.uk> Sales Team: fslsales at fullnet.co.uk WWW: http://www.fullnet.co.uk Registered in England & Wales, Company Number 3568937 VAT registration number: UK 714 7309 42 E & O.E. All prices exclude VAT & Carriage unless otherwise specified. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system administrator by emailing admin at fullnet.co.uk with the subject "eMail Confidentiality Query!" . The content of this email does not necessarily reflect the views or opinions of Fullnet Solutions Limited. If you have any queries or complaints please email info at fullnet.co.uk with the subject "eMail Comment/Complaint Query!" . This footnote also confirms that this email message has been scanned for the presence of computer viruses. Fullnet Solutions Limited can however not be held responsible for any virus infections on the recipients or any other systems. For more information regarding the solutions Fullnet has to offer please email sales at fullnet.co.uk with the subject "Sales Query!" . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110301/eed32f24/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: logonew.jpg Type: image/jpeg Size: 18406 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110301/eed32f24/attachment-0001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: kbensch.vcf Type: text/x-vcard Size: 169 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110301/eed32f24/attachment-0001.vcf From mb at bringe.de Wed Mar 2 01:23:48 2011 From: mb at bringe.de (Martin Bringe) Date: Wed, 2 Mar 2011 01:23:48 +0100 Subject: [smokeping-users] multi targets Message-ID: <001901cbd870$1a1ebd30$4e5c3790$@de> Hi, there's an option to graph multiple targets in one drawing. Very nice and impressive! But, is it possible to do the following: We often use Loadbalancers, so we can do a loadbalanced access via port 80 and a direct (debug/monitoring) real server access via hight ports, p. e. port 8081, 8082, and so on. It would be nice to graph response and latency based on real server access in _one_ graph based on access to _one_ host (means one ip) and different ports. But how to configure? Thanks for any hints and suggestions! With regards martin From Geoffrey.Cauchi at vodafone.com Wed Mar 2 11:18:49 2011 From: Geoffrey.Cauchi at vodafone.com (Cauchi, Geoffrey, VF-MT) Date: Wed, 2 Mar 2011 11:18:49 +0100 Subject: [smokeping-users] Interesting Charts view Message-ID: Hi In smokeping the interesting charts view can it be customised to reflect particular targets? Or alternatively, can I have different Interesting Chart views for particular Targets? Thanks in advance for your input Regards Gef From tobi at oetiker.ch Wed Mar 2 11:33:13 2011 From: tobi at oetiker.ch (Tobias Oetiker) Date: Wed, 2 Mar 2011 11:33:13 +0100 (CET) Subject: [smokeping-users] Interesting Charts view In-Reply-To: References: Message-ID: Hi Geoffrey, at the moment there is no such facility ... cheers tobi Today Cauchi, Geoffrey, VF-MT wrote: > Hi > In smokeping the interesting charts view can it be customised to reflect > particular targets? > Or alternatively, can I have different Interesting Chart views for > particular Targets? > > Thanks in advance for your input > Regards > Gef > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > -- 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 c.schwarz at funknetz.at Wed Mar 2 11:58:50 2011 From: c.schwarz at funknetz.at (c.schwarz at funknetz.at) Date: Wed, 2 Mar 2011 10:58:50 +0000 Subject: [smokeping-users] Suppress Graph in Default Hierarchy Message-ID: <97E3C2C919ADBE4BAAEFEF08EA704B9A666092@EXCHANGE.Funknetz.local> Hi, how do I prevent a target from showing up in the 'Default Hierarchy'? Here is my testing setup: /etc/smokeping/config.d/Presentation: + hierarchies ++ Core title = Core Routers ++ Backbone title = Backbone Routers /etc/smokeping/config.d/Targets: + CoreRouters title = Core Routers menu = CoreRouters parents = Core:/ ++ Site1 Title = Site1 menu = Site1 parents = Core:/CoreRouters host = 192.168.100.10 If I do so, CoreRouters shows up in hierarchy 'Default Hierarchy' and in 'Core' but I do not want that it could be seen in 'Default Hierarchy'. Does anybody have a suggestion how I can achieve that? Thanks Chris From Geoffrey.Cauchi at vodafone.com Wed Mar 2 12:57:06 2011 From: Geoffrey.Cauchi at vodafone.com (Cauchi, Geoffrey, VF-MT) Date: Wed, 2 Mar 2011 12:57:06 +0100 Subject: [smokeping-users] Interesting Charts view In-Reply-To: References: Message-ID: Thanks Tobias Is there any other way of how one can get a summary page? Regards Gef -----Original Message----- From: Tobias Oetiker [mailto:tobi at oetiker.ch] Sent: 02 March 2011 11:33 To: Cauchi, Geoffrey, VF-MT Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Interesting Charts view Hi Geoffrey, at the moment there is no such facility ... cheers tobi Today Cauchi, Geoffrey, VF-MT wrote: > Hi > In smokeping the interesting charts view can it be customised to reflect > particular targets? > Or alternatively, can I have different Interesting Chart views for > particular Targets? > > Thanks in advance for your input > Regards > Gef > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > -- 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 ------------------------------------------------------------------------------------- Vodafone ------------------------------------------------------------------------------------- This email is intended only for the use of individuals to whom it is addressed, as it may contain confidential or privileged information. If you are not a named addressee, intended recipient, or the person responsible for delivering the message to the named addressee, be advised that you have received this email in error and that you should not disseminate, distribute, print, copy this mail or otherwise divulge its contents. In such instances, please notify Vodafone Malta Limited on telephone number +356 99999247 and delete this email from your system. Since this transmission was affected via email, Vodafone Malta Limited cannot guarantee that it is secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Vodafone Malta Limited does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. Save the environment for our children - Print e-mail only when necessary. From dm at belkam.com Thu Mar 17 08:10:47 2011 From: dm at belkam.com (Dmitry Melekhov) Date: Thu, 17 Mar 2011 10:10:47 +0300 Subject: [smokeping-users] slave problem- no data on master Message-ID: <4D81B3F7.7070101@belkam.com> Hello! I run smokeping 2.3.6 for a long time. But yesterday I decided to test master-slave configuration, so I'm newbie ;-) I added to config: *** Slaves *** secrets=/etc/smokeping/slavesecrets.conf +dm display_name=dm location=P100 color=ff0000 ... #and at the end of targets: ++ DM-localhost menu = DM-localhost title = DM-localhost Connectivity probe= FPing slaves = dm +++ DM-localhost menu = DM-localhost title = RTTMon ping from DM to 127.0.0.1 host = 127.0.0.1 alertee = dm at jabber.belkam.com Than I start slave: smokeping --master-url=http://mandela.p98.belkam.com/cgi-bin/smokeping.cgi --cache-dir=/var/smokeping/ --shared-secret=/var/smokeping/secret.txt --nodaemon --debug-daemon ... FPing: probing 1 targets with step 300 s and offset 133 s. FPing: Sleeping 95 seconds. FPing: Executing /usr/sbin/fping -C 20 -q -B1 -r1 -b1500 -i10 127.0.0.1 FPing: Got fping output: '127.0.0.1 : 0.05 0.03 0.03 0.03 0.03 0.03 0.03 0.03 0.03 0.03 0.03 0.03 0.04 0.04 0.03 0.03 0.03 0.03 0.03 0.03' Sent data to Server. Server said OK but there is no changes to rrd file and , thus, no graph for slave is created . btw, I have yet another problem- master has some remote (over ssh) targets and I have to connect to this server on slave too during slave startup, although there are no such targets for slave, is it possible to solve this too? From dm at belkam.com Thu Mar 17 12:57:30 2011 From: dm at belkam.com (Dmitry Melekhov) Date: Thu, 17 Mar 2011 14:57:30 +0300 Subject: [smokeping-users] slave problem- no data on master In-Reply-To: References: <4D81B3F7.7070101@belkam.com> Message-ID: <4D81F72A.9010105@belkam.com> 17.03.2011 14:52, G.W. Haywood ?????: > Hi there, > > On Thu, 17 Mar 2011, Dmitry Melekhov wrote: > >> ... Sent data to Server. Server said OK >> >> but there is no changes to rrd file ... > Permissions? > Unfortunately, no, they are the same for master and for slave, and both files are created by smokeping daemon: /var/lib/smokeping/BELKAM-fping/DM-localhost# ls -l total 5848 -rw-r--r-- 1 smokeping smokeping 2986808 2011-03-17 09:23 DM-localhost~dm.rrd -rw-r--r-- 1 smokeping smokeping 2986808 2011-03-17 14:54 DM-localhost.rrd btw, I tried to start master smokeping with --daemon-debug , but I see nothing about slave in log... From ged at jubileegroup.co.uk Thu Mar 17 12:52:10 2011 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Thu, 17 Mar 2011 11:52:10 +0000 (GMT) Subject: [smokeping-users] slave problem- no data on master In-Reply-To: <4D81B3F7.7070101@belkam.com> References: <4D81B3F7.7070101@belkam.com> Message-ID: Hi there, On Thu, 17 Mar 2011, Dmitry Melekhov wrote: > ... Sent data to Server. Server said OK > > but there is no changes to rrd file ... Permissions? -- 73, Ged. From chawkinson at cenic.org Thu Mar 17 14:17:19 2011 From: chawkinson at cenic.org (Chris Hawkinson) Date: Thu, 17 Mar 2011 06:17:19 -0700 Subject: [smokeping-users] slave problem- no data on master In-Reply-To: <4D81F72A.9010105@belkam.com> References: <4D81B3F7.7070101@belkam.com> <4D81F72A.9010105@belkam.com> Message-ID: <4D8209DF.5000404@cenic.org> Make sure your smokeping/data directory, subdirs, and files are all "owned" by the user used by the web server. In my case, the web server is Apache, and the effective user is 'apache', so all of these files/dirs are owned by apache:apache. Chris On 3/17/11 4:57 AM, Dmitry Melekhov wrote: > 17.03.2011 14:52, G.W. Haywood ?????: >> Hi there, >> >> On Thu, 17 Mar 2011, Dmitry Melekhov wrote: >> >>> ... Sent data to Server. Server said OK >>> >>> but there is no changes to rrd file ... >> Permissions? >> > Unfortunately, no, they are the same for master and for slave, and both > files are created by smokeping daemon: > /var/lib/smokeping/BELKAM-fping/DM-localhost# ls -l > total 5848 > -rw-r--r-- 1 smokeping smokeping 2986808 2011-03-17 09:23 > DM-localhost~dm.rrd > -rw-r--r-- 1 smokeping smokeping 2986808 2011-03-17 14:54 DM-localhost.rrd > > > btw, I tried to start master smokeping with --daemon-debug , but I see > nothing about slave in log... > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From dm at belkam.com Fri Mar 18 06:51:02 2011 From: dm at belkam.com (Dmitry Melekhov) Date: Fri, 18 Mar 2011 08:51:02 +0300 Subject: [smokeping-users] slave problem- no data on master In-Reply-To: <4D8209DF.5000404@cenic.org> References: <4D81B3F7.7070101@belkam.com> <4D81F72A.9010105@belkam.com> <4D8209DF.5000404@cenic.org> Message-ID: <4D82F2C6.5080504@belkam.com> 17.03.2011 16:17, Chris Hawkinson ?????: > Make sure your smokeping/data directory, subdirs, and files are all > "owned" by the user used by the web server. In my case, the web server > is Apache, and the effective user is 'apache', so all of these > files/dirs are owned by apache:apache. > Thank you! I forgot about slave cache file, now all works OK, except problem with RemoteFPing probe on slave - I have to provide ssh access from slave too, but slave doesn't have such targets. How can I solve this problem? From dm at belkam.com Fri Mar 18 09:24:16 2011 From: dm at belkam.com (Dmitry Melekhov) Date: Fri, 18 Mar 2011 11:24:16 +0300 Subject: [smokeping-users] slave problem- no data on master In-Reply-To: <4D82F2C6.5080504@belkam.com> References: <4D81B3F7.7070101@belkam.com> <4D81F72A.9010105@belkam.com> <4D8209DF.5000404@cenic.org> <4D82F2C6.5080504@belkam.com> Message-ID: <4D8316B0.9040400@belkam.com> 18.03.2011 08:51, Dmitry Melekhov ?????: > > Thank you! > I forgot about slave cache file, now all works OK, except problem with > RemoteFPing > probe on slave - I have to provide ssh access from slave too, but > slave doesn't have such targets. > How can I solve this problem? > btw, found following solution, but it is not very elegant ;-) http://vv.sumy.ua/2009/12/smokeping-setup-in-master-slave/ " /usr/local/smokeping/lib/Smokeping/probes/RemoteFPing.pm : sub binary{ my $self = shift; return $self->{properties}{rbinary}; } " -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110318/d6656e06/attachment.htm From dayton at voxter.ca Tue Mar 22 22:34:28 2011 From: dayton at voxter.ca (Dayton Turner) Date: Tue, 22 Mar 2011 21:34:28 +0000 Subject: [smokeping-users] SIP OPTIONS probe as seen on smokeping demo site Message-ID: Hi Tobi/List, On the smokeping demo site, at http://oss.oetiker.ch/smokeping-demo/?target=SIP there is a SIP OPTIONS probe being used here. Is this a probe module you can share with us? It would be overwhelmingly helpful! Dayton -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110322/33ec1198/attachment.htm From Christopher.Morris at sabre-holdings.com Thu Mar 31 21:57:53 2011 From: Christopher.Morris at sabre-holdings.com (Morris, Christopher) Date: Thu, 31 Mar 2011 19:57:53 -0000 Subject: [smokeping-users] possible bug: smokeping running under cgi Message-ID: I did a brief search on the archives but didn't see this issue addressed. I wrote a simple cgi in bash that helps manage the smokeping tool. The cgi starts/stops/restarts smokeping. I noticed when I started smokeping via cgi, it would run for a while but then crash after a few minutes. After a bit of trial and error (thinking there was a problem with my startup method) I discovered that smokeping was throwing an error: $ cat logfile.1766 Thu Mar 31 12:22:17 2011 - Smokeping version 2.004002 successfully launched. Thu Mar 31 12:22:17 2011 - Not entering multiprocess mode for just a single probe. Thu Mar 31 12:22:17 2011 - FPing: probing 13 targets with step 300 s and offset 176 s. Thu Mar 31 12:23:15 2011 - Use of uninitialized value in division (/) at /opt/smokeping/lib/Smokeping/probes/FPing.pm line 149, line 1. Thu Mar 31 12:23:15 2011 - Illegal division by zero at /opt/smokeping/lib/Smokeping/probes/FPing.pm line 149, line 1. Line number 149 is this statement: @times = map {sprintf "%.10e", $_ / $self->{pingfactor}} sort {$a <=> $b} grep /^\d/, @times; Examining the FPing.pm library I see that $self->{pingfactor} is not defined if the script is run as a CGI in "sub new($$$)" routine. This routine appears to figure out what the 'pingfactor' is for the fping binary if this is not run as a CGI. I modified the code so that it goes ahead and runs/executes the body of "sub new($$$)" even if the script is run as a CGI. So far it has not seemed to cause any problems with the output/results of the utility. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110331/8e5b404e/attachment-0001.htm