From pbrunnen at bccglobal.com Thu Mar 1 06:34:55 2012 From: pbrunnen at bccglobal.com (=?utf-8?Q?Peter_Brunnengr=C3=A4ber?=) Date: Thu, 1 Mar 2012 00:34:55 -0500 (EST) Subject: [smokeping-users] smokeping and nagios In-Reply-To: <16261514.68508.1330579517831.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> Message-ID: <32102564.68510.1330580095736.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> Hello all, I recently upgraded from a 32-bit to 64-bit debian and I did the export and import of my RRD files. All seemed ok and my smokeping charts are working fine. But I also use the nagios extension "check_smokeping.pl" from Mr. Larry Low. From the looks of the code, it seems to reference RRD perl library. The check script is querying and getting no results and as a result is reporting "RRD file somefile.rrd has no data in last n seconds." with n being seconds since I went live on the 64-bit os. My initial thoughts are that it is either a bug in the RRDs.pm library or possibly an issue with the time parameter. Has anyone else had problems using RRDs.pm on 64-bit or any other thoughts/ideas on the matter? Thank you. With kind regards. -Peter From ged at jubileegroup.co.uk Thu Mar 1 15:55:06 2012 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Thu, 1 Mar 2012 14:55:06 +0000 (GMT) Subject: [smokeping-users] smokeping and nagios In-Reply-To: <32102564.68510.1330580095736.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> References: <32102564.68510.1330580095736.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> Message-ID: Hi there, On Thu, 1 Mar 2012, Peter Brunnengr??ber wrote: > I recently upgraded from a 32-bit to 64-bit debian ... The check > script is querying and getting no results and as a result is > reporting "RRD file somefile.rrd has no data in last n seconds." > Has anyone else had problems using RRDs.pm on 64-bit or any other > thoughts/ideas on the matter? I use both Nagios and Smokeping on AMD64 with Debian Squeeze but I don't use the check_smokeping.pl script. I think it's unlikely that Perl scripts will be baffled by the change from a 32-bit to a 64-bit system but one thing I noticed when I first started using the AMD64 (Opteron-based) system was that ping times were all multiples of four milliseconds because of HPET problems. That was under Debian Etch, a 2.4 kernel, years ago; I had to supply a kernel parameter at boot time to get the time resolution I wanted. The problems seem to be handled without my kernel command line tweaks now Debian uses a 2.6 kernel. You don't say in your mail whether or not you changed the machine which you're using to run Nagios and Smokeping but if you did I wonder if endianness is causing problems somewhere. -- 73, Ged. From pbrunnen at bccglobal.com Thu Mar 1 17:49:14 2012 From: pbrunnen at bccglobal.com (=?utf-8?Q?Peter_Brunnengr=C3=A4ber?=) Date: Thu, 1 Mar 2012 11:49:14 -0500 (EST) Subject: [smokeping-users] smokeping and nagios In-Reply-To: Message-ID: <12575001.69351.1330620554632.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> Hi Ged, Sorry... it was a move from 32-bit Lenny on a basic P4 server to 64-bit Squeeze on a new quad-core Intel xeon. Both being x86 based, I do believe that it is little endian for both. Both are 2.6 kernel based... Thanks again! :) With kind regards. -Peter ----- Original Message ----- From: "G.W. Haywood" To: "Peter Brunnengr?ber" Cc: smokeping-users at lists.oetiker.ch Sent: Thursday, March 1, 2012 9:55:06 AM Subject: Re: [smokeping-users] smokeping and nagios Hi there, On Thu, 1 Mar 2012, Peter Brunnengr?ber wrote: > I recently upgraded from a 32-bit to 64-bit debian ... The check > script is querying and getting no results and as a result is > reporting "RRD file somefile.rrd has no data in last n seconds." > Has anyone else had problems using RRDs.pm on 64-bit or any other > thoughts/ideas on the matter? I use both Nagios and Smokeping on AMD64 with Debian Squeeze but I don't use the check_smokeping.pl script. I think it's unlikely that Perl scripts will be baffled by the change from a 32-bit to a 64-bit system but one thing I noticed when I first started using the AMD64 (Opteron-based) system was that ping times were all multiples of four milliseconds because of HPET problems. That was under Debian Etch, a 2.4 kernel, years ago; I had to supply a kernel parameter at boot time to get the time resolution I wanted. The problems seem to be handled without my kernel command line tweaks now Debian uses a 2.6 kernel. You don't say in your mail whether or not you changed the machine which you're using to run Nagios and Smokeping but if you did I wonder if endianness is causing problems somewhere. -- 73, Ged. From lars at thegler.dk Thu Mar 1 18:48:20 2012 From: lars at thegler.dk (Lars Thegler) Date: Thu, 1 Mar 2012 18:48:20 +0100 Subject: [smokeping-users] smokeping and nagios In-Reply-To: <32102564.68510.1330580095736.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> References: <16261514.68508.1330579517831.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> <32102564.68510.1330580095736.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> Message-ID: Since your charts look fine, your RRD files are ok. The export/import dance is needed because the binary format is different, so maybe the version of the RRD library that the check script is using, is still expecting the old format? just a guess. /Lars 2012/3/1 Peter Brunnengr?ber : > Hello all, > ?I recently upgraded from a 32-bit to 64-bit debian and I did the export and import of my RRD files. ?All seemed ok and my smokeping charts are working fine. ? But I also use the nagios extension "check_smokeping.pl" from Mr. Larry Low. ? From the looks of the code, it seems to reference RRD perl library. ?The check script is querying and getting no results and as a result is reporting "RRD file somefile.rrd has no data in last n seconds." with n being seconds since I went live on the 64-bit os. > > ?My initial thoughts are that it is either a bug in the RRDs.pm library or possibly an issue with the time parameter. > > ?Has anyone else had problems using RRDs.pm on 64-bit or any other thoughts/ideas on the matter? > > Thank you. > With kind regards. -Peter > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From pbrunnen at bccglobal.com Fri Mar 2 00:23:52 2012 From: pbrunnen at bccglobal.com (=?utf-8?Q?Peter_Brunnengr=C3=A4ber?=) Date: Thu, 1 Mar 2012 18:23:52 -0500 (EST) Subject: [smokeping-users] smokeping and nagios In-Reply-To: Message-ID: <16539849.70076.1330644232345.JavaMail.root@gw-mail1.roc.in.bccnetworks.net> Hi all, Thought I would share my success... A coworker threw on Data::Dumper on the script and we output the unix second that were being passed off to the RRDs.pm library. Interestingly... the last update time reported from the RRD file looks right, the current time is right, but the RRDs.pm fetch function reports back a start time in the future when a computed timestamp of ($lastupdatetime - 120) is requested... obviously rrd is not able to look into the future, so the results are undefined. lastupdatetime=1330642128 ; lasttimestamp=1330642221 ; $start = 1330642200 ; Until I get a chance to dig into the RRDs.pm, here is a quick fix for the "check_smokeping.pl"... @@80 -- my ($start,$step,$ds_names,$data) = RRDs::fetch($rrd_file,"AVERAGE","-s",$lastupdatetime - 120,"-e","now"); ++ my ($start,$step,$ds_names,$data) = RRDs::fetch($rrd_file,"AVERAGE","-s","-2m","-e","now"); Hope this helps someone... With kind regards. -Peter ----- Original Message ----- From: "Lars Thegler" To: "Peter Brunnengr?ber" Cc: smokeping-users at lists.oetiker.ch Sent: Thursday, March 1, 2012 12:48:20 PM Subject: Re: [smokeping-users] smokeping and nagios Since your charts look fine, your RRD files are ok. The export/import dance is needed because the binary format is different, so maybe the version of the RRD library that the check script is using, is still expecting the old format? just a guess. /Lars 2012/3/1 Peter Brunnengr?ber : > Hello all, > ?I recently upgraded from a 32-bit to 64-bit debian and I did the export and import of my RRD files. ?All seemed ok and my smokeping charts are working fine. ? But I also use the nagios extension "check_smokeping.pl" from Mr. Larry Low. ? From the looks of the code, it seems to reference RRD perl library. ?The check script is querying and getting no results and as a result is reporting "RRD file somefile.rrd has no data in last n seconds." with n being seconds since I went live on the 64-bit os. > > ?My initial thoughts are that it is either a bug in the RRDs.pm library or possibly an issue with the time parameter. > > ?Has anyone else had problems using RRDs.pm on 64-bit or any other thoughts/ideas on the matter? > > Thank you. > With kind regards. -Peter > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From almgren at gmail.com Mon Mar 5 03:37:04 2012 From: almgren at gmail.com (Matt Almgren) Date: Sun, 4 Mar 2012 18:37:04 -0800 Subject: [smokeping-users] How to increase RRD history? Message-ID: With the default smokeping installation, I only seem to keep about 3 weeks worth of data. How do increase this to say 6 months? Any estimates on database size and growth patterns with that length of history? Thanks, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120304/4b87cd39/attachment.htm From alter3d at alter3d.ca Mon Mar 5 04:02:32 2012 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Sun, 04 Mar 2012 22:02:32 -0500 Subject: [smokeping-users] How to increase RRD history? In-Reply-To: References: Message-ID: <4F542CC8.5070005@alter3d.ca> You have to modify the RRD structure by changing the "*** Database ***" section of the config file. Refer to the docs here: http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html The specific settings you need to achieve 6 months of history will depend on your 'step' value. There's a bit of math involved, but it's not too hard to figure out (number of seconds in 6 months divided by your step value). The file size of RRD files is static once the file is created -- the file size is directly related to how many rows you store in the RRD files, and that varies with the amount of history and the levels of aggregation you set up. Note that if you're reconfiguring the RRD files, you'll have to delete all of the existing ones (losing the historical data in the process) unless you're willing to manually reconfigure all of the existing files... Smokeping won't update this automatically. It's possible to port the existing data over to the new configuration, but it's a bit of work. - Pete On 3/4/2012 9:37 PM, Matt Almgren wrote: > With the default smokeping installation, I only seem to keep about 3 > weeks worth of data. How do increase this to say 6 months? > > Any estimates on database size and growth patterns with that length of > history? > > Thanks, Matt > > > > _______________________________________________ > 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/20120304/c01044d4/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4418 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120304/c01044d4/attachment-0001.bin From gregs at sloop.net Mon Mar 5 17:51:16 2012 From: gregs at sloop.net (Gregory Sloop) Date: Mon, 5 Mar 2012 08:51:16 -0800 Subject: [smokeping-users] How to increase RRD history? In-Reply-To: <4F542CC8.5070005@alter3d.ca> References: <4F542CC8.5070005@alter3d.ca> Message-ID: <592338681.20120305085116@sloop.net> There are three columns in the database section. "Average" [What kind of calc to do on the "raw" data.] 0.5 [which I don't recall what that means.] 1 [How many "steps" are included in this row.] (The first set are full resolution data, the others, with say, a 12, means we're going to aggregate 12 individual samples into 1.) {So, you can tinker with this aggregation, depending on how you want your non-full-resolution data aggregated. Perhaps it would be useful, but easier to leave it alone.} Then, the next column is how many samples we'll keep for this series. So, if you have one minute samples {step} and want to keep 7 days, you'll need 7(days)*24(hours)*60(minutes) = 10080 rows. These aren't files - it's more that if you have hundreds or thousands of devices you're sampling, there's a lot of them. I'd guess that I/O would become the problem, not actual disk space. --- IIRC, I had three days of full resolution data at 1 minute steps, and then I left most everything else alone. That made an 8.5MB file for each device. [i.e. - if I had a 48 port switch I was monitoring, there were 48 files of 8.5MB each.] Still, we're not talking very much space, really. But you'll probably do best to just tinker a bit. Shoot for the moon, and store 30 days of full resolution data and then run it and see how big the files are. [You might find that full res data for a longer time can be traded off with shorter aggregate data (fewer rows{fourth column}), or more steps aggregated into one (greater aggregation step {the third column}).] -Greg PK> You have to modify the RRD structure by changing the "*** Database ***" PK> section of the config file. Refer to the docs here: PK> http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html PK> The specific settings you need to achieve 6 months of history will PK> depend on your 'step' value. There's a bit of math involved, but it's PK> not too hard to figure out (number of seconds in 6 months divided by PK> your step value). PK> The file size of RRD files is static once the file is created -- the PK> file size is directly related to how many rows you store in the RRD PK> files, and that varies with the amount of history and the levels of PK> aggregation you set up. PK> Note that if you're reconfiguring the RRD files, you'll have to delete PK> all of the existing ones (losing the historical data in the process) PK> unless you're willing to manually reconfigure all of the existing PK> files... Smokeping won't update this automatically. It's possible to PK> port the existing data over to the new configuration, but it's a bit of PK> work. PK> - Pete PK> On 3/4/2012 9:37 PM, Matt Almgren wrote: >> With the default smokeping installation, I only seem to keep about 3 >> weeks worth of data. How do increase this to say 6 months? >> >> Any estimates on database size and growth patterns with that length of >> history? >> >> Thanks, Matt >> >> >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -- Gregory Sloop, Principal: Sloop Network & Computer Consulting Voice: 503.251.0452 x82 EMail: gregs at sloop.net http://www.sloop.net --- From gregs at sloop.net Mon Mar 5 17:57:04 2012 From: gregs at sloop.net (Gregory Sloop) Date: Mon, 5 Mar 2012 08:57:04 -0800 Subject: [smokeping-users] How to increase RRD history? In-Reply-To: <592338681.20120305085116@sloop.net> References: <4F542CC8.5070005@alter3d.ca> <592338681.20120305085116@sloop.net> Message-ID: <919628440.20120305085704@sloop.net> GS> These aren't files - it's more that if you have hundreds or thousands GS> of devices you're sampling, there's a lot of them. Sorry Peter, I accidentally replied direct to you, as well as the list... Also, a typo above. These aren't *huge* files - it's more that if you have hundreds or thousands of devices you're sampling, there's a lot of them. And I'll clarify about I/O - with that much disk activity, - writing to thousands of files very often, your disk may not keep up. But you would have enough space to store everything, if it could... HTH -Greg From sovrevage at gmail.com Thu Mar 15 14:37:57 2012 From: sovrevage at gmail.com (=?ISO-8859-1?Q?Stian_=D8vrev=E5ge?=) Date: Thu, 15 Mar 2012 14:37:57 +0100 Subject: [smokeping-users] Does smokeping support rrdcached? Message-ID: Hi, I just added a hundred new targets, and it seems smokeping cannot keep up with updating the files anymore. I have googled a bit but I cannot find any mention of smokeping using rrdcached? I must surely not be the first to be in this situation. Brgds, Stian ?vrev?ge From Al_Sorrell at troweprice.com Thu Mar 15 15:29:38 2012 From: Al_Sorrell at troweprice.com (Sorrell, Al) Date: Thu, 15 Mar 2012 10:29:38 -0400 Subject: [smokeping-users] Any way to 'include' another file in the config? Message-ID: <3899F44EE8372C44926752C5C84C13D3016F4831C3@OMTCP36040.corp.troweprice.net> Toby, First off, thanks for continuing to evolve this great software! Let me explain what I'm looking for... I have several systems which are all polling the same set of devices; one is our primary system, one is at our DR site, and one is being setup now to eventually replace our current primary. The config file for each is *almost* identical. Specifically the *** General ** section needs to be different in order to specify the correct server in the cgiurl= section; potentially, others might have different paths for the various directories, though that's not a problem for me. What I'd like to see would be something like an Include /path-to-file That way, I could have my $SMOKEPING/etc/config with statements like: ======================== *** General *** owner=... contact=... imgurl=... cgiurl=http://myserver/... Include $SMOKEPING/etc/common_config ======================== Where $SMOKEPING/etc/common_config would have everything which isn't system-specific. This would certainly make it much easier to keep multiple systems in sync without the need to use 'sed' prior to copying configs between systems. Thanks for your consideration. Al _________________________ Almon (Al) Sorrell Corporate Network Services | Network Engineering Consultant T. Rowe Price 4515 Painters Mill Road, TE9008 Owings Mills, MD 21117 Phone: 410-345-3042 (508-3042) Fax:410-345-3135 Email: Al_Sorrell at troweprice.com T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice. Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein. Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail. The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail. From throck+smokeping at gmail.com Fri Mar 16 14:10:53 2012 From: throck+smokeping at gmail.com (Tom Throckmorton) Date: Fri, 16 Mar 2012 09:10:53 -0400 Subject: [smokeping-users] Any way to 'include' another file in the config? In-Reply-To: <3899F44EE8372C44926752C5C84C13D3016F4831C3@OMTCP36040.corp.troweprice.net> References: <3899F44EE8372C44926752C5C84C13D3016F4831C3@OMTCP36040.corp.troweprice.net> Message-ID: On Thu, Mar 15, 2012 at 10:29 AM, Sorrell, Al wrote: > Toby, > > First off, thanks for continuing to evolve this great software! Let me > explain what I'm looking for... > > I have several systems which are all polling the same set of devices; one > is our primary system, one is at our DR site, and one is being setup now to > eventually replace our current primary. The config file for each is > *almost* identical. > > Specifically the *** General ** section needs to be different in order to > specify the correct server in the cgiurl= section; potentially, others > might have different paths for the various directories, though that's not a > problem for me. > > What I'd like to see would be something like an > Include /path-to-file > > That way, I could have my $SMOKEPING/etc/config with statements like: > ======================== > *** General *** > owner=... > contact=... > imgurl=... > cgiurl=http://myserver/... > > Include $SMOKEPING/etc/common_config > > ======================== > > Where $SMOKEPING/etc/common_config would have everything which isn't > system-specific. > > This would certainly make it much easier to keep multiple systems in sync > without the need to use 'sed' prior to copying configs between systems. > SmokePing certainly supports @includes - see http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html#IGENERAL_SYNTAX I use this feature to break my target configs into logical chunks, even using nested @includes. I believe you could do it as you suggest above, with the main config differentiated; another alternative, and depending on how you manage your distributed configs, is to keep the main config the same, with the variable items pulled in via @includes. Six of one... Cheers, -tt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120316/3766972e/attachment.htm From Al_Sorrell at troweprice.com Fri Mar 16 14:44:25 2012 From: Al_Sorrell at troweprice.com (Sorrell, Al) Date: Fri, 16 Mar 2012 09:44:25 -0400 Subject: [smokeping-users] Any way to 'include' another file in the config? In-Reply-To: References: <3899F44EE8372C44926752C5C84C13D3016F4831C3@OMTCP36040.corp.troweprice.net> Message-ID: <3899F44EE8372C44926752C5C84C13D3016F4831CF@OMTCP36040.corp.troweprice.net> Thanks to the several folks who pointed out my glaring lack of RTFM! I've been using Smokeping for a number of years now - but TOTALLY missed the @include and @define right at the top of the General Syntax section of the web page! ________________________________ From: throck at gmail.com [mailto:throck at gmail.com] On Behalf Of Tom Throckmorton Sent: Friday, March 16, 2012 9:11 AM To: Sorrell, Al Cc: smokeping-users at lists.oetiker.ch Subject: Re: [smokeping-users] Any way to 'include' another file in the config? SmokePing certainly supports @includes - see http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html#IGENERAL_SYNTAX I use this feature to break my target configs into logical chunks, even using nested @includes. I believe you could do it as you suggest above, with the main config differentiated; another alternative, and depending on how you manage your distributed configs, is to keep the main config the same, with the variable items pulled in via @includes. Six of one... Cheers, -tt T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice. Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein. Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail. The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120316/607459f5/attachment-0001.htm From tobi at oetiker.ch Fri Mar 16 16:22:26 2012 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 16 Mar 2012 16:22:26 +0100 (CET) Subject: [smokeping-users] smokeping 3.0 ... Message-ID: As mentioned in other context, smokeping is going to get a new web frontend at some point in the not so far future ... it will be based on extopus ... extopus is steadily learning new things, like for example building dashboards ... so I guess some of you might be interested in throwing a glance at the future ... the demo below is NOT hooked up to smokeping, but to torrus, but it will look pretty similar except for the charts being smokeping charts and not torrus charts. http://oss.oetiker.ch/extopus-demo/ep-admin.fcgi cheers tobi -- 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 lionel at gentil.name Fri Mar 16 16:28:29 2012 From: lionel at gentil.name (Lionel Gentil) Date: Fri, 16 Mar 2012 08:28:29 -0700 Subject: [smokeping-users] smokeping 3.0 ... In-Reply-To: References: Message-ID: Nice Tobi! I was wondering if there was a way to have Smokeping + Holt-Winters using the cURL probe ? Would you have any example somewhere ? Your work is absolutely amazing. Thanks! Lionel On Mar 16, 2012, at 8:22 AM, Tobias Oetiker wrote: > As mentioned in other context, smokeping is going to get a new web > frontend at some point in the not so far future ... it will be > based on extopus ... > > extopus is steadily learning new things, like for example building > dashboards ... > > so I guess some of you might be interested in throwing a glance at > the future ... the demo below is NOT hooked up to smokeping, but to > torrus, but it will look pretty similar except for the charts being > smokeping charts and not torrus charts. > > http://oss.oetiker.ch/extopus-demo/ep-admin.fcgi > > cheers > tobi > -- > 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 > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From tobi at oetiker.ch Fri Mar 16 16:52:35 2012 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 16 Mar 2012 16:52:35 +0100 (CET) Subject: [smokeping-users] smokeping 3.0 ... In-Reply-To: References: Message-ID: Hi Lionel, smokeping doesn't have HW support built in ... cheers tobi Today Lionel Gentil wrote: > Nice Tobi! > > I was wondering if there was a way to have Smokeping + Holt-Winters using the cURL probe ? > > Would you have any example somewhere ? > > Your work is absolutely amazing. > > Thanks! > > Lionel > > On Mar 16, 2012, at 8:22 AM, Tobias Oetiker wrote: > > > As mentioned in other context, smokeping is going to get a new web > > frontend at some point in the not so far future ... it will be > > based on extopus ... > > > > extopus is steadily learning new things, like for example building > > dashboards ... > > > > so I guess some of you might be interested in throwing a glance at > > the future ... the demo below is NOT hooked up to smokeping, but to > > torrus, but it will look pretty similar except for the charts being > > smokeping charts and not torrus charts. > > > > http://oss.oetiker.ch/extopus-demo/ep-admin.fcgi > > > > cheers > > tobi > > -- > > 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 > > > > _______________________________________________ > > 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 nahliel.steinberg at gmail.com Fri Mar 16 16:58:23 2012 From: nahliel.steinberg at gmail.com (Nahliel Steinberg) Date: Fri, 16 Mar 2012 16:58:23 +0100 Subject: [smokeping-users] Need help Message-ID: <20120316155823.GA20752@srvdebian.info-cr.fr> Hello, I have installing smokeping on debian squeeze and i try to make a menu and add server on it. I add too server with 4 checking website on https, i don't understand why the first graph successfully, but the second don't graph pic. My Probes file *** Probes *** + FPing binary = /usr/bin/fping # these expect to find echoping in /usr/bin # if not, you'll have to specify the location separately for each probe # + EchoPing # uses TCP or UDP echo (port 7) # + EchoPingDiscard # uses TCP or UDP discard (port 9) # + EchoPingChargen # uses TCP chargen (port 19) + EchoPingSmtp # SMTP (25/tcp) for mail servers + EchoPingHttps # HTTPS (443/tcp) for web servers + EchoPingHttp # HTTP (80/tcp) for web servers and caches + EchoPingIcp # ICP (3130/udp) for caches # these need at least echoping 6 with the corresponding plugins + EchoPingDNS # DNS (53/udp or tcp) servers + EchoPingLDAP # LDAP (389/tcp) servers + EchoPingWhois # Whois (43/tcp) servers And i make Tagets file : *** Targets *** # default probe probe = FPing menu = Top title = Network Latency Grapher remark = Welcome to this SmokePing website. + Serveurs menu = Serveurs Externes title = Serveurs du Conseil R?gional d'Aquitaine Externes ### first server ++ Serveurs-Web-Elyre-APP menu = Serveurs Web Elyre APP title = Latence du Serveur Web (Externe elyre-app) / ICMP # probe = FPing propagated from top host = elyreapp +++ Elyre-Formation menu = Elyre-Formation title = Elyre-Formation-Aquitaine.fr / HTTPS probe = EchoPingHttps host = elyre-formation.aquitaine.fr +++ SSO-Formation menu = SSO-Formation (CAS) title = SSO-Formation-Aquitaine.fr / HTTPS probe = EchoPingHttps host = sso-formation.aquitaine.fr ### second server ++ Serveurs-Web-Elyre-APP2 menu = Serveurs Web Elyre APP2 title = Latence du Serveur Web (Externe elyre-app2) / ICMP # probe = FPing propagated from top host = elyre-app2 +++ Lycees-Formation menu = Lycees-Formation title = Lycees-Formation-Aquitaine.fr / HTTPS probe = EchoPingHttps host = lycees-formation.aquitaine.fr +++ Gestelyre-Formation menu = Gestelyre-Formation title = Gestelyre-Formation-Aquitaine.fr / HTTPS probe = EchoPingHttps host = gestelyre-formation.aquitaine.fr It's simple configuration but don't work, just the first server icmp graph and too host on https graph but the second graph the ICMP but not https lycees-formation.aquitaine.fr and gestelyre-formation.aquitaine.fr -- Nahliel From dpacheco at unap.cl Mon Mar 19 14:00:21 2012 From: dpacheco at unap.cl (Dago Pacheco) Date: Mon, 19 Mar 2012 10:00:21 -0300 Subject: [smokeping-users] smokeping 3.0 ... In-Reply-To: References: Message-ID: <000c01cd05d0$3eb33200$bc199600$@unap.cl> Grate! .... I'll be waiting to try smokeping v3.0 ..... thanks for your excellent work! Dago Pacheco Bravo Administrador de Infraestructura y Servicios Unidad de Inform?tica y Comunicaciones Anexo: 2388 - Fono: (57) 394388 - Cel: 88059332 Universidad Arturo Prat - Sede Iquique -----Mensaje original----- De: smokeping-users-bounces+dpacheco=unap.cl at lists.oetiker.ch [mailto:smokeping-users-bounces+dpacheco=unap.cl at lists.oetiker.ch] En nombre de Tobias Oetiker Enviado el: viernes, 16 de marzo de 2012 12:22 Para: smokeping-users at lists.oetiker.ch Asunto: [smokeping-users] smokeping 3.0 ... As mentioned in other context, smokeping is going to get a new web frontend at some point in the not so far future ... it will be based on extopus ... extopus is steadily learning new things, like for example building dashboards ... so I guess some of you might be interested in throwing a glance at the future ... the demo below is NOT hooked up to smokeping, but to torrus, but it will look pretty similar except for the charts being smokeping charts and not torrus charts. http://oss.oetiker.ch/extopus-demo/ep-admin.fcgi cheers tobi -- 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 _______________________________________________ smokeping-users mailing list smokeping-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From ameer.m at acttv.in Tue Mar 20 17:07:34 2012 From: ameer.m at acttv.in (Ameer M) Date: Tue, 20 Mar 2012 21:37:34 +0530 Subject: [smokeping-users] Jitter graph on smokeping Message-ID: <016801cd06b3$90168500$b0438f00$@acttv.in> Hello! How to monitor Jitter on smokeping to graph? Thank you! Ameer.M From murray.g.davis at gmail.com Wed Mar 21 19:20:03 2012 From: murray.g.davis at gmail.com (Murray Davis) Date: Wed, 21 Mar 2012 11:20:03 -0700 Subject: [smokeping-users] how to enforce username/password logons to access smokeping Message-ID: I am trying to set up user-based access to smokeping on a system with the following characteristics: 2.6.32-39-generic Linux Ubuntu 10.04.1 LTS \n \l apache2 2.2.14-5ubuntu8 smokeping 2.3.6-5 I have modified /etc/apache2/conf.d/smokeping as folllows...and restarted apache and smokeping. ScriptAlias /smokeping/smokeping.cgi /usr/share/smokeping/cgi-bin/smokeping.cgi Alias /smokeping /usr/share/smokeping/www Options FollowSymLinks AllowOverride AuthConfig AuthType Basic AuthName "Password Required" AuthUserFile /etc/passwd However, when I go to http://servername/smokeping, I am taken directly to the smokeping home page. I then added an .htaccess file to: /usr/share/smokeping/cgi-bin...the location of smokeping.cgi. /usr/share/smokeping/www, the Alias referenced in /etc/apache2/conf.d/smokeping. The .htaccess file contains: AuthType Basic AuthName "Password Required" AuthUserFile /etc/passwd Even with these .htaccess files, I still am not prompted for a username and password. I would like to specify a specific local user, but any local username would be sufficient. What do I need to do to get this working? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120321/2cfd7396/attachment.htm From alter3d at alter3d.ca Wed Mar 21 19:25:42 2012 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Wed, 21 Mar 2012 14:25:42 -0400 Subject: [smokeping-users] how to enforce username/password logons to access smokeping In-Reply-To: References: Message-ID: <4F6A1D26.7040600@alter3d.ca> This isn't really a SmokePing specific issue; it's a webserver-level thing. That said, I don't see a "Require" directive anywhere in your config. Try adding "Require valid-user" to your block. - Pete On 12-03-21 02:20 PM, Murray Davis wrote: > I am trying to set up user-based access to smokeping on a system with > the following characteristics: > > 2.6.32-39-generic Linux Ubuntu 10.04.1 LTS \n \l > apache2 2.2.14-5ubuntu8 > smokeping 2.3.6-5 > > I have modified /etc/apache2/conf.d/smokeping as folllows...and > restarted apache and smokeping. > > ScriptAlias /smokeping/smokeping.cgi > /usr/share/smokeping/cgi-bin/smokeping.cgi > Alias /smokeping /usr/share/smokeping/www > > > Options FollowSymLinks > AllowOverride AuthConfig > AuthType Basic > AuthName "Password Required" > AuthUserFile /etc/passwd > > > However, when I go to http://servername/smokeping, I am taken directly > to the smokeping home page. > > I then added an .htaccess file to: > > /usr/share/smokeping/cgi-bin...the location of smokeping.cgi. > > /usr/share/smokeping/www, the Alias referenced > in /etc/apache2/conf.d/smokeping. > > The .htaccess file contains: > > AuthType Basic > AuthName "Password Required" > AuthUserFile /etc/passwd > > Even with these .htaccess files, I still am not prompted for a > username and password. I would like to specify a specific local user, > but any local username would be sufficient. > > What do I need to do to get this working? > > > > > _______________________________________________ > 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/20120321/be2f305d/attachment-0001.htm From dano at northpb.com Wed Mar 21 19:29:12 2012 From: dano at northpb.com (Dan O'Neill) Date: Wed, 21 Mar 2012 11:29:12 -0700 Subject: [smokeping-users] how to enforce username/password logons to access smokeping In-Reply-To: References: Message-ID: The /etc/passwd file is not the same format as an authentication file for Apache. Here is the Apache Basic Auth tutorial http://httpd.apache.org/docs/2.0/howto/htaccess.html Change your .htaccess file to have something like this: AuthUserFile /usr/share/smokeping.passwords Then use the 'htpasswd' command to create the file /usr/bin/htpasswd -c /usr/share/smokeping.passwords murray But do read the above tutorial. If that isn't enough, google 'apache basic auth' and you'll find additional guidance. Best, dano On Wed, Mar 21, 2012 at 11:20 AM, Murray Davis wrote: > I am trying to set up user-based access to smokeping on a system with the > following characteristics: > > 2.6.32-39-generic Linux?Ubuntu 10.04.1 LTS \n \l > apache2 ?2.2.14-5ubuntu8 > smokeping ?2.3.6-5 > > I have modified /etc/apache2/conf.d/smokeping as folllows...and restarted > apache and smokeping. > > ScriptAlias /smokeping/smokeping.cgi > /usr/share/smokeping/cgi-bin/smokeping.cgi > Alias /smokeping /usr/share/smokeping/www > > > ? ? Options FollowSymLinks > ? ? AllowOverride AuthConfig > ? ? AuthType Basic > ? ? AuthName "Password Required" > ? ? AuthUserFile /etc/passwd > > > However, when I go to http://servername/smokeping, I am taken directly to > the smokeping home page. > > I then added an .htaccess file to: > > /usr/share/smokeping/cgi-bin...the location of smokeping.cgi. > > /usr/share/smokeping/www, the Alias referenced > in??/etc/apache2/conf.d/smokeping. > > The .htaccess file contains: > > AuthType Basic > AuthName "Password Required" > AuthUserFile /etc/passwd > > Even with these .htaccess files, I still am not prompted for a username and > password. I would like to specify a specific local user, but any local > username would be sufficient. > > What do I need to do to get this working? > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -- Dan O'Neill dano at northpb.com 619-885-1961 From murray.g.davis at gmail.com Wed Mar 21 20:26:14 2012 From: murray.g.davis at gmail.com (Murray Davis) Date: Wed, 21 Mar 2012 12:26:14 -0700 Subject: [smokeping-users] how to enforce username/password logons to access smokeping Message-ID: Thank you to Peter and Dan for their replies. After reading Peter's response, I started looking at Apache's documentation and got things working. As I was about to respond to the list server, I noticed Dan's response which basically confirmed my approach. Here goes: Step 1: Created an apache username: htpasswd -c /etc/apache2/passwords smokeping Step 2: Modified the smokeping config file.../etc/apache2/conf.d/smokeping ScriptAlias /smokeping/smokeping.cgi /usr/share/smokeping/cgi-bin/smokeping.cgi Alias /smokeping /usr/share/smokeping/www Options FollowSymLinks AllowOverride AuthConfig AuthType Basic AuthName "Restricted Files" AuthUserFile /etc/apache2/passwords Require user cacti I changed AuthName from "Require Password" to "Restricted Files". Step 3 Placed an .htaccess file in the root of smokeping's home directory. I started with placing it in /usr/share/smokeping/www and cgi-bin, but ended up placing it at the parent level. AuthType Basic AuthName "Restricted Files" AuthUserFile /etc/apache2/passwords Require user smokeping I restarted Apache and smokeping and I am now prompted for a username/password. Only the smokeping user gets in. If I click on the "Cancel" button on the logon window, I am then met with an Failed Authorization window whereas when AuthName was "Require Password", I would be taken to the smokeping webpage. Thanks for the help... mgd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120321/c32928bf/attachment.htm From darren at victoriajd.com Thu Mar 22 06:34:34 2012 From: darren at victoriajd.com (Darren Murphy) Date: Thu, 22 Mar 2012 13:34:34 +0800 Subject: [smokeping-users] how to enforce username/password logons to access smokeping In-Reply-To: References: Message-ID: Just as an aside to this - if you _are_ using HTTP authentication, there is a trivial modification you can make to Smokeping.pm, that will make the logged-in user name available for use in the HTML template. See https://github.com/mcdarren/SmokePing/commit/50333cf052a6fc2ed29f16639ac1d0c891978b38 With that change in place, you can then use something like the following in basepage.html

Logged in as <##authuser##>

cheers, Darren PS. Tobi - is this worth a pull request? On 22 March 2012 03:26, Murray Davis wrote: > Thank you to Peter and Dan for their replies. After reading Peter's > response, I started looking at Apache's documentation and got things > working. As I was about to respond to the list server, I noticed Dan's > response which basically confirmed my approach. Here goes: > > Step 1: Created an apache username: > > htpasswd -c /etc/apache2/passwords smokeping > > Step 2: Modified the smokeping config file.../etc/apache2/conf.d/smokeping > > ScriptAlias /smokeping/smokeping.cgi > /usr/share/smokeping/cgi-bin/smokeping.cgi > Alias /smokeping /usr/share/smokeping/www > > > ? ? Options FollowSymLinks > ? ? AllowOverride AuthConfig > ? ? AuthType Basic > ? ? AuthName "Restricted Files" > ? ? AuthUserFile /etc/apache2/passwords > ? ? Require user cacti > > > I changed AuthName from "Require Password" to "Restricted Files". > > Step 3 Placed an .htaccess file in the root of smokeping's home directory. I > started with placing it in /usr/share/smokeping/www and cgi-bin, but ended > up placing it at the parent level. > > AuthType Basic > AuthName "Restricted Files" > AuthUserFile /etc/apache2/passwords > Require user smokeping > > I restarted Apache and smokeping and I am now prompted for a > username/password. Only the smokeping user gets in. If I click on the > "Cancel" button on the logon window, I am then met with an Failed > Authorization window whereas when AuthName was "Require Password", I would > be taken to the smokeping webpage. > > Thanks for the help... > > mgd > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From adjam.heath at gmail.com Thu Mar 22 19:43:47 2012 From: adjam.heath at gmail.com (Adam Heath) Date: Thu, 22 Mar 2012 18:43:47 +0000 Subject: [smokeping-users] remote fping Message-ID: Hi Guys, I have just installed smokeping and so far not hit many road blocks. Howerver I am trying to setup remote fpinging to check outbound connections from my various servers but I have 1 issue. I run all my servers on a non-standard ssh port. How do I specify what port to attempt ssh on in the Probes file? Cheers Adam From lars at thegler.dk Thu Mar 22 20:55:15 2012 From: lars at thegler.dk (Lars Thegler) Date: Thu, 22 Mar 2012 20:55:15 +0100 Subject: [smokeping-users] remote fping In-Reply-To: References: Message-ID: Smokeping::probes::RemoteFPing just uses the system ssh, and that in turn reads ~/.ssh/config for e.g. port numbers. /Lars On Thu, Mar 22, 2012 at 7:43 PM, Adam Heath wrote: > Hi Guys, > > I have just installed smokeping and so far not hit many road blocks. > Howerver I am trying to setup remote fpinging to check outbound > connections from my various servers but I have 1 issue. I run all my > servers on a non-standard ssh port. How do I specify what port to > attempt ssh on in the Probes file? > > Cheers > Adam > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users From clinton at scripty.com Mon Mar 26 00:27:25 2012 From: clinton at scripty.com (Clinton Work) Date: Sun, 25 Mar 2012 16:27:25 -0600 Subject: [smokeping-users] smokeping SNMP probe? Message-ID: <4F6F9BCD.5030802@scripty.com> I have an application of smokeping where I could really use a SNMP probe to test connectivity to devices behind a firewall. I'm considering writing an SNMP probe, but I'm not sure if anybody else has already started work on one. I have the most experience with perl module Net::SNMP, but it looks like most of the other probes are written using the SNMP_Session module. The idea with the SNMP probe is that it would probe the devices using a configurable OID (I would default to sysName) and record the response time/success. Clinton. From rb14060 at gmail.com Sat Mar 31 06:21:45 2012 From: rb14060 at gmail.com (Ryan Becker) Date: Sat, 31 Mar 2012 00:21:45 -0400 Subject: [smokeping-users] Creating a custom alerting rule Message-ID: Hello all, I just set up SmokePing and I like it very much. However, I need a way to make an alerting rule work and I'm not quite sure how to. Right now I have this: pattern = >30%,*12*,>30%,*12*,>30% How would I make it so that it has to be above 30% but below 90% to trigger? IE I don't want anything higher than 90% to trigger it. Thanks in advance guys! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120331/9f7ac323/attachment.htm