From mchon at otenet.gr Wed Aug 4 13:27:18 2010 From: mchon at otenet.gr (Marinos Chondrogiannoglou) Date: Wed, 04 Aug 2010 14:27:18 +0300 Subject: [smokeping-users] Slave timeouts In-Reply-To: <7fbabf48baf3e17d8fd77d896541034b@localhost> References: <7fbabf48baf3e17d8fd77d896541034b@localhost> Message-ID: <4C594E96.1060502@otenet.gr> Hello all again, I'm bumping this up as I still get those timeouts and still no clue what's going on.. Any idea will be much appreciated Thanks :) Marinos On 11/11/2009 03:01 PM, Marinos Chondrogiannoglou wrote: > > Hello all, > > We've resently moved our standalone smokeping servers to a master/slave > setup. Everything is working fine till now exept some errors in the > system's messages. > > Although the smokeping works fine and I get results from the slaves to > the master every now and then I have the following messages (in all of > my 3 slave servers) > > Nov 9 19:06:40 slave smokeping[18296]: WARNING Master said 500 read > timeout > Nov 10 01:38:12 slave smokeping[18297]: WARNING Master said 500 read > timeout > Nov 10 03:26:40 slave smokeping[18296]: WARNING Master said 500 read > timeout > Nov 10 07:08:12 slave smokeping[18297]: WARNING Master said 500 read > timeout > Nov 10 07:09:11 slave smokeping[18295]: WARNING Master said 500 read > timeout > Nov 10 09:06:41 slave smokeping[18296]: WARNING Master said 500 read > timeout > > > At those times I can't find anything related to the master's logs and > there are no network issues as all the servers are on the same lan.. > > Any Ideas? > > Thanx in advance! > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -- ************************** Marinos Chondrogiannoglou Network Management Center OTE S.A. 99 Kifisias Av. Marousi GR-151 24 Athens, HELLAS PGP Key ID: 0x21CECF66 ************************** From rjd at merit.edu Wed Aug 4 16:23:35 2010 From: rjd at merit.edu (Russell Dwarshuis) Date: Wed, 4 Aug 2010 10:23:35 -0400 (EDT) Subject: [smokeping-users] Slave timeouts In-Reply-To: <4C594E96.1060502@otenet.gr> References: <7fbabf48baf3e17d8fd77d896541034b@localhost> <4C594E96.1060502@otenet.gr> Message-ID: Try looking in the apache logs on your master, maybe apache is running out of resources or has too many sessions open. -Russell Dwarshuis On Wed, 4 Aug 2010, Marinos Chondrogiannoglou wrote: > Hello all again, > > I'm bumping this up as I still get those timeouts and still no clue > what's going on.. Any idea will be much appreciated > > Thanks :) > > Marinos > > On 11/11/2009 03:01 PM, Marinos Chondrogiannoglou wrote: >> >> Hello all, >> >> We've resently moved our standalone smokeping servers to a master/slave >> setup. Everything is working fine till now exept some errors in the >> system's messages. >> >> Although the smokeping works fine and I get results from the slaves to >> the master every now and then I have the following messages (in all of >> my 3 slave servers) >> >> Nov 9 19:06:40 slave smokeping[18296]: WARNING Master said 500 read >> timeout >> Nov 10 01:38:12 slave smokeping[18297]: WARNING Master said 500 read >> timeout >> Nov 10 03:26:40 slave smokeping[18296]: WARNING Master said 500 read >> timeout >> Nov 10 07:08:12 slave smokeping[18297]: WARNING Master said 500 read >> timeout >> Nov 10 07:09:11 slave smokeping[18295]: WARNING Master said 500 read >> timeout >> Nov 10 09:06:41 slave smokeping[18296]: WARNING Master said 500 read >> timeout >> >> >> At those times I can't find anything related to the master's logs and >> there are no network issues as all the servers are on the same lan.. >> >> Any Ideas? >> >> Thanx in advance! >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > > -- > ************************** > Marinos Chondrogiannoglou > Network Management Center > OTE S.A. > 99 Kifisias Av. Marousi > GR-151 24 Athens, HELLAS > PGP Key ID: 0x21CECF66 > ************************** > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > From mchon at otenet.gr Thu Aug 5 08:31:05 2010 From: mchon at otenet.gr (Marinos Chondrogiannoglou) Date: Thu, 05 Aug 2010 09:31:05 +0300 Subject: [smokeping-users] Slave timeouts In-Reply-To: References: <7fbabf48baf3e17d8fd77d896541034b@localhost> <4C594E96.1060502@otenet.gr> Message-ID: <4C5A5AA9.5030703@otenet.gr> No such issues.. I've checked the logs and no related entries. On 08/04/2010 05:23 PM, Russell Dwarshuis wrote: > Try looking in the apache logs on your master, maybe apache is running > out of resources or has too many sessions open. > > > -Russell Dwarshuis > > On Wed, 4 Aug 2010, Marinos Chondrogiannoglou wrote: > >> Hello all again, >> >> I'm bumping this up as I still get those timeouts and still no clue >> what's going on.. Any idea will be much appreciated >> >> Thanks :) >> >> Marinos >> >> On 11/11/2009 03:01 PM, Marinos Chondrogiannoglou wrote: >>> >>> Hello all, >>> >>> We've resently moved our standalone smokeping servers to a master/slave >>> setup. Everything is working fine till now exept some errors in the >>> system's messages. >>> >>> Although the smokeping works fine and I get results from the slaves to >>> the master every now and then I have the following messages (in all of >>> my 3 slave servers) >>> >>> Nov 9 19:06:40 slave smokeping[18296]: WARNING Master said 500 read >>> timeout >>> Nov 10 01:38:12 slave smokeping[18297]: WARNING Master said 500 read >>> timeout >>> Nov 10 03:26:40 slave smokeping[18296]: WARNING Master said 500 read >>> timeout >>> Nov 10 07:08:12 slave smokeping[18297]: WARNING Master said 500 read >>> timeout >>> Nov 10 07:09:11 slave smokeping[18295]: WARNING Master said 500 read >>> timeout >>> Nov 10 09:06:41 slave smokeping[18296]: WARNING Master said 500 read >>> timeout >>> >>> >>> At those times I can't find anything related to the master's logs and >>> there are no network issues as all the servers are on the same lan.. >>> >>> Any Ideas? >>> >>> Thanx in advance! >>> >>> _______________________________________________ >>> smokeping-users mailing list >>> smokeping-users at lists.oetiker.ch >>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> >> >> -- >> ************************** >> Marinos Chondrogiannoglou >> Network Management Center >> OTE S.A. >> 99 Kifisias Av. Marousi >> GR-151 24 Athens, HELLAS >> PGP Key ID: 0x21CECF66 >> ************************** >> >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> -- ************************** Marinos Chondrogiannoglou Network Management Center OTE S.A. 99 Kifisias Av. Marousi GR-151 24 Athens, HELLAS PGP Key ID: 0x21CECF66 ************************** From Jim.Liu at fadv.com Mon Aug 9 15:39:19 2010 From: Jim.Liu at fadv.com (Jim Liu) Date: Mon, 9 Aug 2010 06:39:19 -0700 Subject: [smokeping-users] Alerts and Email Issues Message-ID: <301FA8A3E68CDA4F8193180F5F25E67A03C05129@EXMAIL.tdp.com> I am using smokeping 2.3.6 on Ubuntu 10.04. I have a couple of issues with alerts and sending mail. Below are the logs and configuration where the debug has no match for target but the message log shows active for someloss alert on the test host box. I do receive a someloss alert email through sendmail relaying through my exchange server when I disconnect that host. Any help on what I can look at would be appreciated. Smokeping --debug Calling RRDs::update(/var/lib/smokeping/Host/ukhypervp027.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9 :ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:p ing20 1281014525:U:0:1.5141000000e-01:1.5093000000e-01:1.5098000000e-01:1.5109 000000e-01:1.5112000000e-01:1.5117000000e-01:1.5117000000e-01:1.51220000 00e-01:1.5130000000e-01:1.5138000000e-01:1.5141000000e-01:1.5141000000e- 01:1.5144000000e-01:1.5169000000e-01:1.5172000000e-01:1.5186000000e-01:1 .5187000000e-01:1.5188000000e-01:1.5208000000e-01:1.5221000000e-01:1.529 0000000e-01) Alert "bigloss": no match for target /var/lib/smokeping/Host/ukhypervp027 Alert "someloss": no match for target /var/lib/smokeping/Host/ukhypervp027 Alert "startloss": no match for target /var/lib/smokeping/Host/ukhypervp027 Alert "rttdetect": no match for target /var/lib/smokeping/Host/ukhypervp027 Alert "hostdown": no match for target /var/lib/smokeping/Host/ukhypervp027 Alert "lossdetect": no match for target /var/lib/smokeping/Host/ukhypervp027 /var/log/Messages Aug 4 02:16:06 vmubuntu smokeping[1691]: Starting syslog logging Aug 4 02:16:06 vmubuntu smokeping[1696]: Smokeping version 2.003006 successfully launched. Aug 4 02:16:06 vmubuntu smokeping[1696]: Not entering multiprocess mode for just a single probe. Aug 4 02:16:06 vmubuntu smokeping[1696]: FPing: probing 7 targets with step 300 s and offset 42 s. Aug 4 03:01:01 vmubuntu smokeping[1696]: Alert someloss is active for Host.ukhypervp027 Aug 4 03:06:02 vmubuntu smokeping[1696]: Alert someloss is active for Host.ukhypervp027 Aug 4 03:11:02 vmubuntu smokeping[1696]: Alert someloss is active for Host.ukhypervp027 Aug 4 03:23:38 vmubuntu smokeping[2954]: Starting syslog logging Aug 4 04:47:03 vmubuntu smokeping[1696]: got TERM signal, terminating. Aug 4 04:47:04 vmubuntu smokeping[3459]: Starting syslog logging Aug 4 04:47:04 vmubuntu smokeping[3463]: Smokeping version 2.003006 successfully launched. Aug 4 04:47:04 vmubuntu smokeping[3463]: Not entering multiprocess mode for just a single probe. Aug 4 04:47:04 vmubuntu smokeping[3463]: FPing: probing 7 targets with step 300 s and offset 95 s. Alerts +bigloss type = loss # in percent pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% comment = suddenly there is packet loss +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row +startloss type = loss # in percent pattern = ==S,>0%,>0%,>0% comment = loss at startup +rttdetect type = rtt # in milli seconds pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 comment = routing messed up again ? Targets ++ukhypervp027 menu = ukhypervp027 title = ukhypervp027 host = IP address of host alerts = bigloss,someloss,startloss,rttdetect,hostdown,lossdetect -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100809/6faa996b/attachment.htm From w.leroy at optline.fr Tue Aug 10 18:02:20 2010 From: w.leroy at optline.fr (Willy LE ROY) Date: Tue, 10 Aug 2010 18:02:20 +0200 Subject: [smokeping-users] How to change the default time window in the charts section ? Message-ID: <4C61780C.1000603@optline.fr> Hi Sorry if this had been discussed before, but searching the documentation, this mailing list and the web didn't help at all I 'm trying to find a way to change the default time window in the charts section, as the default (1 hour) doesn't fit well what I'm trying to do. Basically I'd would like to have a top ten of all subsections with a custom time frame, say one month or one year. This way I could easily point out the nodes having long time issues, sorted from the worst to the best. How could I go about doing this. Also I changed the step value to 60s which suits my customer better then the default 5 mins, but the graphs in the charts section still show 5 mins granularity (although "rrdtool info" says my rrd steps are set to 60s) - Any help concerning this ? Thanks -- WLR From marc.jonkers at maastrichtuniversity.nl Thu Aug 12 08:19:10 2010 From: marc.jonkers at maastrichtuniversity.nl (Jonkers Marc (ICTS)) Date: Thu, 12 Aug 2010 08:19:10 +0200 Subject: [smokeping-users] 2 columns in Smokeping Message-ID: <6ABFFD29FEDBB3478B6986988638E74F0161005308@UM-MAIL4109.unimaas.nl> Hi, I saw a discussion from 2006 over this. Is it possible in the version today to display graphs in two columns? Thx, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100812/e3480e5c/attachment.htm From dez at otenet.gr Thu Aug 26 16:23:45 2010 From: dez at otenet.gr (Dez) Date: Thu, 26 Aug 2010 17:23:45 +0300 Subject: [smokeping-users] fping and tos In-Reply-To: References: Message-ID: <4C7678F1.7000806@otenet.gr> On 07/13/2010 06:52 PM, Pete Hoffswell wrote: > Hello - > > I have installed the updated fping called fping-2.4b2_to4-ipv6 and > upgraded my FPing.pm from svn, but I still get an error message when > attempting to modify my configuration to use the fping tos = > directive. > > fping -O works. > path looks good for fping in config > > ERROR: /usr/local/smokeping/etc/config, line 194: unknown variable 'tos' > > Has anyone been successful in getting fping probe with tos to work? > > Are you sure that the version of FPing.pm you're using supports the "-O" option of FPing? In any case, I too think that the -O option would be a very helpful addition to the FPing probe (using CiscoRTT stuff can be quite problematic) From rtanner at linfield.edu Thu Aug 26 20:13:09 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 26 Aug 2010 11:13:09 -0700 Subject: [smokeping-users] Using Smokeping to measure DHCP latency Message-ID: Hi, DHCP latency does not appear to be part of the standard toolbox but after a little but of googling, I saw that UC Davis is certainly doing it. Is there a generally available, possibly open source, program that I can incorporate into Smokeping to do DHCP latency checks. Does anyone know who to contact at UC Davis to find out how they?re doing it? Thanks, Rob Rob Tanner UNIX Services Manager Linfield College, McMinnville Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100826/8d4bf937/attachment.htm From alter3d at alter3d.ca Thu Aug 26 22:40:12 2010 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Thu, 26 Aug 2010 16:40:12 -0400 Subject: [smokeping-users] Using Smokeping to measure DHCP latency In-Reply-To: References: Message-ID: <4C76D12C.9020209@alter3d.ca> Hi Rob; If you're referring to this page: http://smokeping.ucdavis.edu/smoke/cgi-bin/smokeping.cgi?target=Campus.Campus_services.Campus_MISC.Campus_DHCP-PING then I would question what, exactly, it is that UC Davis is measuring, and how that compares to what you want to measure. That target on the UC Davis page is labeled "DHCP Server PING" -- to me, that would suggest that they're doing a simple ICMP PING to the DHCP host, rather than testing the response time of the DHCP service itself. I'm not aware of any way to measure DHCP service latency with Smokeping, or even any plugins to do so. It would probably be possible to write a Smokeping module for it though -- one approach that comes to mind is to execute dhcping against the DHCP server and time the execution (since dhcping basically just reports a yes/no status). - Peter On 8/26/2010 2:13 PM, Rob Tanner wrote: > Hi, > > DHCP latency does not appear to be part of the standard toolbox but > after a little but of googling, I saw that UC Davis is certainly doing > it. Is there a generally available, possibly open source, program > that I can incorporate into Smokeping to do DHCP latency checks. Does > anyone know who to contact at UC Davis to find out how they're doing it? > > Thanks, > Rob > > > > *Rob Tanner > *UNIX Services Manager > Linfield College, McMinnville Oregon > > > _______________________________________________ > 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/20100826/d6d1a587/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6444 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100826/d6d1a587/attachment.bin From tobi at oetiker.ch Fri Aug 27 13:27:32 2010 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 27 Aug 2010 13:27:32 +0200 (CEST) Subject: [smokeping-users] fping and tos In-Reply-To: <4C7678F1.7000806@otenet.gr> References: <4C7678F1.7000806@otenet.gr> Message-ID: Hi Dez, Yesterday Dez wrote: > On 07/13/2010 06:52 PM, Pete Hoffswell wrote: > > Hello - > > > > I have installed the updated fping called fping-2.4b2_to4-ipv6 and > > upgraded my FPing.pm from svn, but I still get an error message when > > attempting to modify my configuration to use the fping tos = > > directive. > > > > fping -O works. > > path looks good for fping in config > > > > ERROR: /usr/local/smokeping/etc/config, line 194: unknown variable 'tos' > > > > Has anyone been successful in getting fping probe with tos to work? > > > > > Are you sure that the version of FPing.pm you're using supports the "-O" > option of FPing? > > In any case, I too think that the -O option would be a very helpful > addition to the FPing probe (using CiscoRTT stuff can be quite problematic) look at http://oss.oetiker.ch/smokeping/pub/trunk/smokeping-svn-snap.tar.gz you can pull it from there .... cheers tobi > > _______________________________________________ > 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 dez at otenet.gr Fri Aug 27 16:50:53 2010 From: dez at otenet.gr (Dez) Date: Fri, 27 Aug 2010 17:50:53 +0300 Subject: [smokeping-users] fping and tos In-Reply-To: References: <4C7678F1.7000806@otenet.gr> Message-ID: <4C77D0CD.5010209@otenet.gr> Hello Tobi, On 08/27/2010 02:27 PM, Tobias Oetiker wrote: > Hi Dez, > > Yesterday Dez wrote: > > >> On 07/13/2010 06:52 PM, Pete Hoffswell wrote: >> >>> Hello - >>> >>> I have installed the updated fping called fping-2.4b2_to4-ipv6 and >>> upgraded my FPing.pm from svn, but I still get an error message when >>> attempting to modify my configuration to use the fping tos = >>> directive. >>> >>> fping -O works. >>> path looks good for fping in config >>> >>> ERROR: /usr/local/smokeping/etc/config, line 194: unknown variable 'tos' >>> >>> Has anyone been successful in getting fping probe with tos to work? >>> >>> >>> >> Are you sure that the version of FPing.pm you're using supports the "-O" >> option of FPing? >> >> In any case, I too think that the -O option would be a very helpful >> addition to the FPing probe (using CiscoRTT stuff can be quite problematic) >> > look at > > http://oss.oetiker.ch/smokeping/pub/trunk/smokeping-svn-snap.tar.gz > > you can pull it from there .... > > that's great, thanks! For our production systems, I had already patched FPing.pm but since "tos" was a probe-specific variable, I basically created many FPing probes like: +FPing binary = /usr/local/sbin/fping blazemode = true pings = 10 ++FPingNorm ++ FPingGold tos = 0x30 ++ FPingSilver tos = 0x60 Is there no way to make "tos" a target-specific variable? (although, I guess you'd lose in parallelization and speed) Cheers, dez > cheers > tobi > >> _______________________________________________ >> smokeping-users mailing list >> smokeping-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> >> >> > From pete.hoffswell at davenport.edu Fri Aug 27 17:25:37 2010 From: pete.hoffswell at davenport.edu (Pete Hoffswell) Date: Fri, 27 Aug 2010 11:25:37 -0400 Subject: [smokeping-users] fping and tos In-Reply-To: <4C77D0CD.5010209@otenet.gr> References: <4C7678F1.7000806@otenet.gr> <4C77D0CD.5010209@otenet.gr> Message-ID: YES! Thanks Dez. Your syntax got me headed in the right direction. I now have -O working in my smokeping installation. It was not obvious to me that you needed to define nested probe definitions up in the probes section. I had been trying to add tos to the targets section. On Fri, Aug 27, 2010 at 10:50 AM, Dez wrote: > Hello Tobi, > > On 08/27/2010 02:27 PM, Tobias Oetiker wrote: > > Hi Dez, > > > > Yesterday Dez wrote: > > > > > >> On 07/13/2010 06:52 PM, Pete Hoffswell wrote: > >> > >>> Hello - > >>> > >>> I have installed the updated fping called fping-2.4b2_to4-ipv6 and > >>> upgraded my FPing.pm from svn, but I still get an error message when > >>> attempting to modify my configuration to use the fping tos = > >>> directive. > >>> > >>> fping -O works. > >>> path looks good for fping in config > >>> > >>> ERROR: /usr/local/smokeping/etc/config, line 194: unknown variable > 'tos' > >>> > >>> Has anyone been successful in getting fping probe with tos to work? > >>> > >>> > >>> > >> Are you sure that the version of FPing.pm you're using supports the "-O" > >> option of FPing? > >> > >> In any case, I too think that the -O option would be a very helpful > >> addition to the FPing probe (using CiscoRTT stuff can be quite > problematic) > >> > > look at > > > > http://oss.oetiker.ch/smokeping/pub/trunk/smokeping-svn-snap.tar.gz > > > > you can pull it from there .... > > > > > > that's great, thanks! > For our production systems, I had already patched FPing.pm but since > "tos" was a probe-specific variable, I basically created many FPing > probes like: > > +FPing > binary = /usr/local/sbin/fping > blazemode = true > pings = 10 > > ++FPingNorm > > ++ FPingGold > tos = 0x30 > > ++ FPingSilver > tos = 0x60 > > Is there no way to make "tos" a target-specific variable? (although, I > guess you'd lose in parallelization and speed) > > Cheers, > dez > > > cheers > > tobi > > > >> _______________________________________________ > >> smokeping-users mailing list > >> smokeping-users at lists.oetiker.ch > >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > >> > >> > >> > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -- - Pete Hoffswell - Network Manager pete.hoffswell at davenport.edu http://www.davenport.edu 616-732-1101 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100827/8e37447d/attachment.htm From pete.hoffswell at davenport.edu Fri Aug 27 17:26:19 2010 From: pete.hoffswell at davenport.edu (Pete Hoffswell) Date: Fri, 27 Aug 2010 11:26:19 -0400 Subject: [smokeping-users] fping and tos In-Reply-To: <4C77D0CD.5010209@otenet.gr> References: <4C7678F1.7000806@otenet.gr> <4C77D0CD.5010209@otenet.gr> Message-ID: YES! Thanks Dez. Your syntax got me headed in the right direction. I now have -O working in my smokeping installation. It was not obvious to me that you needed to define nested probe definitions up in the probes section. I had been trying to add tos to the targets section. On Fri, Aug 27, 2010 at 10:50 AM, Dez wrote: > Hello Tobi, > > On 08/27/2010 02:27 PM, Tobias Oetiker wrote: > > Hi Dez, > > > > Yesterday Dez wrote: > > > > > >> On 07/13/2010 06:52 PM, Pete Hoffswell wrote: > >> > >>> Hello - > >>> > >>> I have installed the updated fping called fping-2.4b2_to4-ipv6 and > >>> upgraded my FPing.pm from svn, but I still get an error message when > >>> attempting to modify my configuration to use the fping tos = > >>> directive. > >>> > >>> fping -O works. > >>> path looks good for fping in config > >>> > >>> ERROR: /usr/local/smokeping/etc/config, line 194: unknown variable > 'tos' > >>> > >>> Has anyone been successful in getting fping probe with tos to work? > >>> > >>> > >>> > >> Are you sure that the version of FPing.pm you're using supports the "-O" > >> option of FPing? > >> > >> In any case, I too think that the -O option would be a very helpful > >> addition to the FPing probe (using CiscoRTT stuff can be quite > problematic) > >> > > look at > > > > http://oss.oetiker.ch/smokeping/pub/trunk/smokeping-svn-snap.tar.gz > > > > you can pull it from there .... > > > > > > that's great, thanks! > For our production systems, I had already patched FPing.pm but since > "tos" was a probe-specific variable, I basically created many FPing > probes like: > > +FPing > binary = /usr/local/sbin/fping > blazemode = true > pings = 10 > > ++FPingNorm > > ++ FPingGold > tos = 0x30 > > ++ FPingSilver > tos = 0x60 > > Is there no way to make "tos" a target-specific variable? (although, I > guess you'd lose in parallelization and speed) > > Cheers, > dez > > > cheers > > tobi > > > >> _______________________________________________ > >> smokeping-users mailing list > >> smokeping-users at lists.oetiker.ch > >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > >> > >> > >> > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -- - Pete Hoffswell - Network Manager pete.hoffswell at davenport.edu http://www.davenport.edu 616-732-1101 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100827/d31992ae/attachment.htm From pete.hoffswell at davenport.edu Fri Aug 27 17:25:37 2010 From: pete.hoffswell at davenport.edu (Pete Hoffswell) Date: Fri, 27 Aug 2010 11:25:37 -0400 Subject: [smokeping-users] fping and tos In-Reply-To: <4C77D0CD.5010209@otenet.gr> References: <4C7678F1.7000806@otenet.gr> <4C77D0CD.5010209@otenet.gr> Message-ID: YES! Thanks Dez. Your syntax got me headed in the right direction. I now have -O working in my smokeping installation. It was not obvious to me that you needed to define nested probe definitions up in the probes section. I had been trying to add tos to the targets section. On Fri, Aug 27, 2010 at 10:50 AM, Dez wrote: > Hello Tobi, > > On 08/27/2010 02:27 PM, Tobias Oetiker wrote: > > Hi Dez, > > > > Yesterday Dez wrote: > > > > > >> On 07/13/2010 06:52 PM, Pete Hoffswell wrote: > >> > >>> Hello - > >>> > >>> I have installed the updated fping called fping-2.4b2_to4-ipv6 and > >>> upgraded my FPing.pm from svn, but I still get an error message when > >>> attempting to modify my configuration to use the fping tos = > >>> directive. > >>> > >>> fping -O works. > >>> path looks good for fping in config > >>> > >>> ERROR: /usr/local/smokeping/etc/config, line 194: unknown variable > 'tos' > >>> > >>> Has anyone been successful in getting fping probe with tos to work? > >>> > >>> > >>> > >> Are you sure that the version of FPing.pm you're using supports the "-O" > >> option of FPing? > >> > >> In any case, I too think that the -O option would be a very helpful > >> addition to the FPing probe (using CiscoRTT stuff can be quite > problematic) > >> > > look at > > > > http://oss.oetiker.ch/smokeping/pub/trunk/smokeping-svn-snap.tar.gz > > > > you can pull it from there .... > > > > > > that's great, thanks! > For our production systems, I had already patched FPing.pm but since > "tos" was a probe-specific variable, I basically created many FPing > probes like: > > +FPing > binary = /usr/local/sbin/fping > blazemode = true > pings = 10 > > ++FPingNorm > > ++ FPingGold > tos = 0x30 > > ++ FPingSilver > tos = 0x60 > > Is there no way to make "tos" a target-specific variable? (although, I > guess you'd lose in parallelization and speed) > > Cheers, > dez > > > cheers > > tobi > > > >> _______________________________________________ > >> smokeping-users mailing list > >> smokeping-users at lists.oetiker.ch > >> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > >> > >> > >> > > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -- - Pete Hoffswell - Network Manager pete.hoffswell at davenport.edu http://www.davenport.edu 616-732-1101 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100827/8e37447d/attachment-0003.htm From tobi at oetiker.ch Fri Aug 27 18:14:05 2010 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 27 Aug 2010 18:14:05 +0200 (CEST) Subject: [smokeping-users] fping and tos In-Reply-To: <4C77D0CD.5010209@otenet.gr> References: <4C7678F1.7000806@otenet.gr> <4C77D0CD.5010209@otenet.gr> Message-ID: Hi Dez, Today Dez wrote: > Hello Tobi, > > On 08/27/2010 02:27 PM, Tobias Oetiker wrote: > > Hi Dez, > > > > Yesterday Dez wrote: > > > > > > > On 07/13/2010 06:52 PM, Pete Hoffswell wrote: > > > > > > > Hello - > > > > > > > > I have installed the updated fping called fping-2.4b2_to4-ipv6 and > > > > upgraded my FPing.pm from svn, but I still get an error message when > > > > attempting to modify my configuration to use the fping tos = > > > > directive. > > > > > > > > fping -O works. > > > > path looks good for fping in config > > > > > > > > ERROR: /usr/local/smokeping/etc/config, line 194: unknown variable 'tos' > > > > > > > > Has anyone been successful in getting fping probe with tos to work? > > > > > > > > > > > > > > > Are you sure that the version of FPing.pm you're using supports the "-O" > > > option of FPing? > > > > > > In any case, I too think that the -O option would be a very helpful > > > addition to the FPing probe (using CiscoRTT stuff can be quite > > > problematic) > > > > > look at > > > > http://oss.oetiker.ch/smokeping/pub/trunk/smokeping-svn-snap.tar.gz > > > > you can pull it from there .... > > > > > > that's great, thanks! > For our production systems, I had already patched FPing.pm but since "tos" was > a probe-specific variable, I basically created many FPing probes like: > > +FPing > binary = /usr/local/sbin/fping > blazemode = true > pings = 10 > > ++FPingNorm > > ++ FPingGold > tos = 0x30 > > ++ FPingSilver > tos = 0x60 > > Is there no way to make "tos" a target-specific variable? (although, I guess > you'd lose in parallelization and speed) what you did is exactly right for fping ... since it does not modify tos per target ... 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 stagr.lee at gmail.com Sat Aug 28 00:47:00 2010 From: stagr.lee at gmail.com (Lee Thompson) Date: Fri, 27 Aug 2010 17:47:00 -0500 Subject: [smokeping-users] [patch] improve LOCALE error messages to help diagnose system setup issues Message-ID: Hi smokepinger's I run smokeping on many boxes and and my Gentoo/Funtoo boxes frequently run into localization setup issues which will bomb out Smokeping's web interface. It works fine invoked from the shell. I use the attached patch to help me diagnose the server setup problem. The behavior is identical to current Smokeping in that it logs a message and throws a HTTP 500 error. The basic Smokeping localization sanity check has uncovered "insane" setups where the PERL %ENV environment variables are being ignored by "setlocale" on several of my boxes for unknown reasons. Obviously, smokeping should quit, which it does... Here is what I do to get Smokeping up and running in preference order on linux. 1) check /etc/locale.gen and run "sudo locale-gen" 2) clear the LC_ALL environment variable from the environment ( /etc/profile.env) 3) Set LC_NUMERIC in the mod_perl apache config SetHandler perl-script PerlResponseHandler ModPerl::PerlRun Options -Indexes ExecCGI PerlSendHeader On # for smokeping PerlSetEnv LC_NUMERIC C Order allow,deny Allow from all 4) Add "export LC_NUMERIC C" to the apache init script Recent builds of apache 2.2.15, perl 5.10.1, mod_perl 2.0.4, and libc 2.10.1 are taking the most drastic action which makes me think there is a bad upstream bug in LOCALE handling. Even setting "PerlSetEnv LC_ALL C" in the apache config doesn't work which indicates the perl setlocale() call isn't working as documented. I'd be interested in feedback on the patch or pointers into what else to do to get the locale setup correctly. I run the Gentoo recommended LANG="en_US.UTF-8". Lee Thompson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100827/3a24a018/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: smokeping-2.4.2-locale-msgs.patch Type: application/octet-stream Size: 2622 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100827/3a24a018/attachment.obj From tobi at oetiker.ch Sat Aug 28 10:00:33 2010 From: tobi at oetiker.ch (Tobias Oetiker) Date: Sat, 28 Aug 2010 10:00:33 +0200 (CEST) Subject: [smokeping-users] [patch] improve LOCALE error messages to help diagnose system setup issues In-Reply-To: References: Message-ID: Hi Lee, Yesterday Lee Thompson wrote: > Hi smokepinger's > > I run smokeping on many boxes and and my Gentoo/Funtoo boxes frequently run > into localization setup issues which will bomb out Smokeping's web > interface. It works fine invoked from the shell. I use the attached patch > to help me diagnose the server setup problem. The behavior is identical to > current Smokeping in that it logs a message and throws a HTTP 500 error. > The basic Smokeping localization sanity check has uncovered "insane" setups > where the PERL %ENV environment variables are being ignored by "setlocale" > on several of my boxes for unknown reasons. Obviously, smokeping should > quit, which it does... > > Here is what I do to get Smokeping up and running in preference order on > linux. > > 1) check /etc/locale.gen and run "sudo locale-gen" > 2) clear the LC_ALL environment variable from the environment ( > /etc/profile.env) > 3) Set LC_NUMERIC in the mod_perl apache config > > > SetHandler perl-script > PerlResponseHandler ModPerl::PerlRun > Options -Indexes ExecCGI > PerlSendHeader On > # for smokeping > PerlSetEnv LC_NUMERIC C > Order allow,deny > Allow from all > > > 4) Add "export LC_NUMERIC C" to the apache init script > > > Recent builds of apache 2.2.15, perl 5.10.1, mod_perl 2.0.4, and libc 2.10.1 > are taking the most drastic action which makes me think there is a bad > upstream bug in LOCALE handling. Even setting "PerlSetEnv LC_ALL C" in the > apache config doesn't work which indicates the perl setlocale() call isn't > working as documented. I'd be interested in feedback on the patch or > pointers into what else to do to get the locale setup correctly. I run the > Gentoo recommended LANG="en_US.UTF-8". thanks ... I have added the patch ... cheers tobi > > Lee Thompson > -- 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