#arpnetworks 2014-11-19,Wed

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***pyvpx has joined #arpnetworks [00:56]
............................. (idle for 2h20mn)
sga0 has quit IRC (Read error: Connection reset by peer) [03:16]
................. (idle for 1h21mn)
LT has joined #arpnetworks [04:37]
............................................................ (idle for 4h57mn)
novae has quit IRC (Ping timeout: 265 seconds)
LT has quit IRC (Quit: Leaving)
novae has joined #arpnetworks
[09:34]
novae has quit IRC (Ping timeout: 265 seconds) [09:43]
novae has joined #arpnetworks [09:48]
sga0 has joined #arpnetworks [09:54]
....................... (idle for 1h53mn)
bashas has joined #arpnetworks [11:47]
bashashello everyone
i'm asking for a good windows vps provider
any suggestions?
[11:47]
mnathanibashas: budget? [11:48]
bashasno limits
but i need a good reviewed one
with a good spec
[11:48]
mnathanicheck VPS offers at: http://www.webhostingtalk.com/forumdisplay.php?s=1c5bb91bee9812bf871e252e57078dda&f=104
'good' can mean different things to different people :-)
[11:49]
bashasyes :) i know
but anyway, tnx dude for ur help
checking the forum
[11:49]
mnathaniyou are better off asking stuff like: so much RAM, managed vs Un managed etc ? Disk Space, Location [11:50]
bashaswhat's managed an unmanaged? a new term to me? btw i'm a web developer
and i need to host a project, it has few hits daily, but do some processing every few mins using C# threads
[11:51]
mnathaniif you have to ask, you probably need managed
unmanaged is like no software support from the hohst
you need to take care of all software install and config
[11:52]
bashasthe project aim is to download some html pages and parse them, and extract data from it and put into a sql db [11:53]
mnathanihost will only support underlying network and virtualization, power etc [11:53]
bashasunmanaged is a shared windows u mean, right?
but managed is a full windows machine with total control, am i right
[11:53]
mnathanithe box will be shared, you will have total control on your own instance
admin / root access
https://www.liquidweb.com/storm/vps.html

those guys are pretty good
[11:54]
bashasi know they are shared, one server hosts few Virtual Machines [11:55]
mnathaniright
anyway got to go
[11:55]
bashasok np bro.
thanks very much
i'll try to google and understand the deep details of manage and unmanaged
[11:55]
brycecManaged: The host/provider "manages" the system, installing updates, changing settings, all the server admin stuff for you.
Unmanaged: You're responsible for maintaining the server, keeping software up to date, etc.
ie. your home computer is unmanaged.
Whereas in a corporate environment with corporate IT, your work computer is "managed"
Hope that clears things up
[11:59]
BryceBotThat's what she said!! [12:00]
bashasbrycec: very useful
thanks dude :)
[12:01]
***bashas has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) [12:12]
mercutiois someone trying to get rid of windows users? :)
i suppose if someone asks if they need manager or unmanaged they need managed.
oh mnathani said that :)
[12:17]
bryceclol
I dare say that a whole VPS for a small site is overkill too
but I'm not too experienced in the windows hosting arena... maybe there are providers that won't allow you to run your own program periodically?
(Regardless - sounds like something that a LAMP stack could easily do)
Man - when a SAN runs out of disk space, servers really don't handle that well
(for loose definitions of SAN and server)
(KVM machines with NFS-backed storage, to be exact)
[12:30]
m0undsif it's just for a site, azure sites works well enough
there's other stuff that can run asp in a similar containerized env too
[12:36]
brycecAzure has a free tier too, as I recall [12:37]
m0undsyeah, that's how i played with it
supports code repo autodeployment too (ala heroku)
[12:37]
....... (idle for 32mn)
mercutioi think background stuff could be annoying on shared windows hosting
i'm paranoid about shared web hosting myself
[13:10]
m0undsbackground stuff?
i finished building my "less complicated" fermenter controller today
[13:17]
mercutiohe said about c# threads in background or something? [13:22]
m0undsoh, probably similar to background php processes or whatever [13:23]
brycecI figure it's roughly equivalent to a cron job [13:25]
m0undsyeah
just executing at some interval
[13:25]
mercutiodoes shared hosting normally let you do that? [13:26]
hazardoushazardous waves
shared windows hosting is infuriating to deal with
[13:27]
m0undsno idea, haven't ever used windows shared stuff [13:27]
hazardousi really really dislike shared anything with asp.net
because of trust level/privs
and most shared hosts don't like to give full trust
and for a lot of things, you have to contact the host
tend to kind of just run it in a vm because effort
[13:27]
m0undsprobably similar cost-wise as vm stuff keeps getting cheaper [13:30]
hazardousthe problem is that it tends to restrict your choice of hosts
because windows licencing is opening schrodinger's dvd case
[13:30]
brycec(Every shared lunix host I've had lets me schedule cron jobs, fwiw) [13:32]
hazardousthat being said.. i do have a shared hosting account on a linux place i like, because they let me run my own apache/nginx/rails/python server like flask or something, and just let me use a port to reverse proxy it from frontend loadbalancer
and allow compilers/installing binaries/etc
but that's literally the only 1 single linux shared host i know that does that, everything else is terrible
i hate cpanel/plesk/etc with a passion
cpanel still claims to support python and ruby on rails, which is a massive, hilarious lie
tbh i feel like the adoption of non-php web languages is partially because of control panels (and a bit on the languages themselves)
php is drag and drop, and visit url
that has never been, nor will it in the near future be the case for nodejs, python, ruby, [...]
and without ssh access, in general, it's borderline impossible to run on shared hosting
[13:32]
staticsafeyeah
PHP apps are stupid easy to deploy
[13:35]
hazardousas dumb as it is, being able to simply upload index.php and be able to visit index.php
if you try to explain the concept of routes to someone that "just wants a forum"
many people don't seem to be able to parse the concept of "upload index.php, and you can visit /login"
so not supporting apache's single-file .htaccess rewrite thing (which is kind of inefficient since it seems to recurse every subdirectory and whatnot)
as far as most of the people i deal with know, .htaccess is black magic
[13:36]
BryceBotThat's what she said!! [13:38]
hazardousthe thing that pisses me off the most is that really shitty shared hosting providers are not helping
like cpanel hosts that lie about having python support
and then someone tries to "install a python webapp" and it fails miserably
hazardous hugs BryceBot
[13:38]
m0undsby python support, they mean the host has python installed
not that you can use it
bahaha
[13:40]
mercutiocpanel is "the standard"
it's pretty disgusting yes.
[13:41]
hazardousPosted 1 year ago
Why does CPanel continue ignoring requests for supporting Python/Django
laugh
[13:41]
mercutioi was surprised by how long it took me to get smokeping working with nginx
nginx with fastcgi is a bit confusing.
[13:41]
hazardousat least for php, nginx + fcgi is 4 lines
not so much actual cgi-bin applications
[13:42]
mercutiobut i like the idea of micro vps with nginx/php/etc all seperate.
this is perl
you need to use fcgiwrap
[13:43]
hazardousnot so much actual cgi-bin applications <- i've never actually had to run something cgi/perl
like for web
i think that was common maybe before i was born but idk
[13:43]
m0undsthere's a few ways to plug that support into nginx [13:43]
hazardousit's just really foreign to me as a concept [13:43]
mercutioit was easier on ubuntu than arch linux tbh
mod_perl sucks
[13:43]
hazardousreminds me
what happened to gentoo
[13:43]
m0undsi used thttpd as a cgi-proxy years ago [13:44]
hazardouswasn't it all the nerd-rage a decade ago [13:44]
m0undsbehind nginx [13:44]
hazardouseveryone seems to have moved to arch or something from what i can gather [13:44]
mercutioi think it's still around
m0unds: i've been using lighttpd for ages, but thought i'd try nginx because nginx is adding spdy support and fastopen support
fastopen is really easy to enable in nginx. in lighttpd i have a source hack.
[13:44]
hazardousnginx pisses me off with their commercial product offering [13:45]
mercutiohazardous: why? [13:45]
m0undsthey have a commercial product offering?
haha
[13:45]
hazardousi need the ability to kick out unresponsive backends for reverse proxying [13:45]
mercutiom0unds: yeah. [13:45]
hazardousthis is commercial product only
minimum few thousand a year
required support contract
[13:45]
m0undsah [13:45]
mercutiothey're still putting mroe effort into their open source offering than anyone else. [13:45]
hazardousthere is no way i can buy like "just want this module"
i don't want support
i just literally want one config option enabled
i don't need SLA, i don't need tickets
but that's totally not available to me
i would happily pay like 50-100/yr just for the ability to use a few extra config options
but a few thousand i can't afford
defining backends to reverse proxy is free - doing anything else with them, like checking if they are online, setting randomization, removing or adding backends
is a $$$$ feature only
[13:45]
mercutioso backends can hang and it can't fix it?
isn't that spawnfcgi's job?
[13:46]
hazardousi have this problem in that my backends are closed-source binaries that i don't have access to, and occasionally they die
i would like to run a script if one doesn't return or sends a 5xx
i would also like to check periodically if they respond
so now.. i use chinese nginx
[13:46]
mercutioare you in china hazardous ? [13:47]
hazardousno
i'm in freedom-land
[13:47]
mercutiocanada? [13:48]
hazardouswow
close enough
[13:48]
brycecObviously kicking the backend can be scripted (kill $pid), so you're just missing the ability to query a specific backend directly? [13:48]
mercutiobrycec: yeh how would he know which one to kill [13:48]
hazardousbrycec: http://tengine.taobao.org/document/http_upstream_check.html [13:48]
mercutioi wonder what happened to dtrace coming to linux [13:49]
hazardoushttp://tengine.taobao.org/document/http_upstream_consistent_hash.html [13:49]
mercutioi kind of like the idea of tracing normal programs [13:49]
hazardousthese are all bsaically nonexistent in free nginx [13:50]
mercutioand some kind of autodetection of weird behaviour [13:50]
brycecSo it kicks it out of the nginx pool [13:50]
mercutiomercutio doesn't trust people to not screw up [13:50]
brycecbrycec trusts people to screw up [13:50]
hazardoushazardous greps mercutio [13:50]
mercutioheh brycec [13:50]
hazardousscrewing up is normal human behaviour [13:51]
mercutioerror handling is often terrible on unix
actualyl with software in general
[13:51]
hazardousbrycec: even manually removing a backend temporarily in nginx is paid, iirc
without editing configs
much less having proactive health checks that let you define "after x failures, drop this out, but readd it if it starts responding later on"
[13:51]
mercutiorelayd can do that btw hazardous
if you have multiple servers
[13:51]
brycecYeah - I ran across a "need" (want, really) to do that and found it only came with money [13:52]
hazardousif you want a laugh, my primary web frontend has 9 VPNs running on top of each other [13:52]
mercutiobut if one out of 4 backends is doing it or something, and it returns 5xx on one of them i dunno how it'd handle that [13:52]
brycecOne could easily kick/restart the backend with your own script though, but it does nothing for nginx [13:52]
mercutioif someone wrote a backend handler that also did performance monitoring etc
they could probably sell it
[13:53]
hazardouscapturing the 5xx and identifying where it came from is the thing for me, because i just want to drop it out of my uplinks for a while until my watchdog processes notice and restart it
tengine's upstream_check thing lets you set things like timeout msec, expecting 200 OK or 302 or something, and checks ssl handshakes
by default all backends are offline until they pass their first check
i really wish i could just use stock nginx, i'd be happy to support their efforts and whatnot, but it's just not feasible for anything not business
[13:53]
mercutiowhat about sticking a wrapper program around your binarys [13:56]
hazardousdefine wrapper program
[they are windows binaries that listen on a port, running on remote hosts]
[13:56]
mercutioruns your cgi script, sees that it behaves
has an abort if it takes too long, or if it does 5xx.
[13:57]
hazardousi have 1,539 backends [13:57]
mercutiooh [13:57]
hazardouslol; [13:57]
mercutiorelayd should handle that then [13:57]
BryceBotThat's what she said!! [13:57]
hazardousthe thing is.. it also returns HTTP 200 for failed requests [13:57]
mercutiowhich is bsd hmm. [13:57]
hazardouswith error text in the body [13:57]
mercutiooh
that's annoying :)
[13:57]
hazardousso i also check if it returns a XML response that contains 'failed_err' [13:58]
mercutioyou could do your own monitoring script and take them out [13:58]
hazardousthere's a few failure states, one of them is named "SHOULD_NEVER_HAPPEN_RACE_CONDITION_TRAP"
i've encountered that af ew times
[13:58]
mercutioare all the backends the same, you're just load balancing to them? [13:58]
hazardousload balancing to them across vpn, every 150 or so is a different country, some are domestic-internet-only, some are only accessible from one isp
tl;dr asia
[13:59]
mercutioi think your situation is complex enough that it warrants coding for it. [13:59]
hazardousfun thing of the day, i was told that in south korea, reverse dns is illegal unless i have a south korean business licence, and it can take up to 6 months to complete the application process for a single PTR record, and that delegation of NS/PTR/CNAME is not allowed [14:00]
mercutiowow. [14:00]
hazardousall PTR requests have to go through KRNIC
if you've ever wondered why almost no south korean ip has a PTR, well, that might explain it maybe
[14:00]
mercutiochina doesn't have PTR either ? [14:01]
hazardouschina occasionally has isps that have applied for PTR for their whole netblock
none of which have forward dns, most of them completely invalid
lol
this is basically standard for all of asia
my upstream in vietnam assigns datacenter colo, dynamic adsl, dialup, voip, and iptv out of the same subnet
i can pull a dynamic adsl ip from colo, from standard dhcp pool
all static IPs have the reverse dns 'dynamic.vdc.vn', and this isn't editable
they have several /16's that consist entirely of 'dynamic.vdc.vn' exactly, not unique ptr per ip
[14:01]
theres also the whole "having to bribe customs and shipping officials or else your hardware gets stolen" thing [14:08]
mercutiowow.
has anyone tried the new apache httpd?
err new openbsd httpd
[14:17]
bryceclol way to goof that :P [14:19]
mercutioi'm not exactly sure why openbsd is doing their own httpd
back in thttpd/boa/lighttpd/etc days there were heaps of them
i jumped from boa to lighttpd myself
[14:19]
BryceBotThat's what she said!! [14:19]
brycecSame reason they do their own everything - to keep full control over it [14:19]
hazardousopenbsd made a httpd? [14:26]
mercutioyeh based on relayd it seems. [14:26]
brycecSo more pf.conf-style syntax! [14:26]
mercutiolooks like it's pretty basic
they also made their own smtpd
i like relayd.
[14:26]
brycechttpd is extremely basic at this point [14:26]
hazardousall i want/need is static file serving from a dir [14:26]
brycecOpenSMTPD is pretty great [14:27]
mercutiosendmailis prettty bad [14:27]
staticsafeopensmtpd is awesome, i wish there debian/ubuntu packages for it
its in sid but thats about it
[14:27]
mercutiothere needs to be linux kernel with openbsd userland :) [14:28]
hazardousthat exists
it's called windows
:)
what's the "in" orchestration tool nowadays
puppet? ansible?
it seems to change weekly
[14:29]
brycecpuppet and chef are the big "in" ones from what I can see
But there's still a lot to be said about using the right tool for the job
such as ansible in my case
[14:33]
staticsafeansible <3 [14:36]
twobithackeransible++ [14:39]
brycecansible++ [14:42]
RandalSchwartzansible has some interesting advantages
we interviewed them for floss
along with puppet, chef, cfengine, saltstack... :)
[14:42]
brycecI needed something to do some basic script-able tasks, without reinventing the wheel myself. Ansible gives me that and a bit more. I was up and running in ~minutes, rather than the overhead of chef or puppet. [14:44]
hazardousso the nerd portion is ansible
i don't want massive overhead, custom daemons, etc
[14:45]
....... (idle for 31mn)
***erratic has quit IRC (Ping timeout: 258 seconds) [15:16]
erratic has joined #arpnetworks
mus1cb0x has joined #arpnetworks
[15:30]
mus1cb0x has left "WeeChat 0.4.2" [15:42]
....... (idle for 31mn)
mnathanihazardous: reading the scrollback, what was that shared linux host you found that let you run your own web server? [16:13]
.............. (idle for 1h5mn)
This looks like a really cool position: https://ams-ix.net/about/careers--2/project-stagiair-noc [17:18]
............ (idle for 57mn)
mercutioyou going to apply mnathani ? [18:15]
mnathanimercutio: if only I met the requirements
:-)
[18:16]
mercutioi don't think it had many requirements?
it sounded like it'd be a bit boring though
Following this project, the internee will follow/collaborate with
AMS-IX network engineers to work on
it's bsaically just a testing/scripting job from what i can see
[18:16]
mnathaniI suppose they would have some basic on the job training [18:19]
mercutioit's also probably in amsterdam
but yeah what they're doing sounds interesting
[18:19]
............ (idle for 59mn)
i'm trying to add high dpi support to smokeping
i got the overview looking better..
but smokeping isn't saying the size for normal images when you go to the page :( so i can't just half it.
[19:19]
acf_> isn't saying the size for normal images
isn't saying it where?
[19:22]
mercutioin the html [19:22]
acf_oh [19:22]
mercutioit's just referencing the made image
apparently the way to make high dpi work easiest, is you just define the size as half of the actual image size.
and high dpi displays will show all the detial.
[19:22]
acf_got it
you could mess with the image generation I guess
[19:22]
BryceBotThat's what she said!! [19:23]
acf_is it really? [19:23]
mnathaniBryceBot: no [19:23]
BryceBotOh, okay... I'm sorry. 'you could mess with the image generation I guess' [19:23]
mercutioi am doubling the rrdtool created image size
and want to touch smokeping as little as possible.
[19:23]
BryceBotThat's what she said!! [19:24]
mercutioBryceBot: no [19:24]
BryceBotOh, okay... I'm sorry. 'and want to touch smokeping as little as possible.' [19:24]
acf_does smokeping just invoke the rrdtool command with some args? [19:24]
mercutioi think so
# HIGH DPI
$xs=$xs/2;
$ys=$ys/2;
that in the right place fixes the overview.
[19:24]
BryceBotThat's what she said!! [19:25]
mercutiowith just doubling the size in the config. [19:25]
mnathaniBryceBot: no [19:25]
BryceBotOh, okay... I'm sorry. 'that in the right place fixes the overview.' [19:25]
acf_because the overview defines the size explicitly in the html? [19:26]
mercutioit's perl generated html
and overview does yes.
but detail doesn't.
i could try and understand the code more..
[19:27]
***sga0 has quit IRC (Ping timeout: 245 seconds) [19:33]
acf_mercutio: I'm editing .pm files in /usr/share/perl5/Smokeping
but nothing seems to happen
[19:35]
mercutiogot it [19:35]
acf_what did you do? [19:35]
mercutioyou have to restart fcgiwrap
i found that $xs{''} is used somewhere else
and added in width and height with that
i haven't done much perl
[19:35]
acf_cool [19:36]
mercutiowhat's the difference between $xs and $xs{''}
i think the smokeping code is messy :)
http://pastebin.com/tPWXf0an
[19:36]
acf_curly braces are used to access hash tables?
acf_ doesn't know perl either
[19:37]
mercutiohttp://202.49.71.24:24/smokeping/smokeping.fcgi?target=Wider.google
that's got it running on it
now i just need the text size bigger...
[19:38]
BryceBotThat's what she said!! [19:38]
acf_looks super tiny on my monitor :P
it would be cool if rrdtool rendered svg instead of raster
[19:38]
mercutiothe text or graph?
i think rrdtool can
i just wanted to start with something
[19:39]
acf_well, all of it [19:39]
mercutioyou mean the graph is small or the text is small? [19:40]
acf_the text mostly [19:40]
mercutioyeah the text is small for me too [19:40]
acf_on my monitor, it's a bit blurry [19:40]
mercutiothe text on the left is a little small, the text in the image is tiny [19:40]
acf_probably because of the scaling [19:40]
mercutioi'm at 1440p
but yeah the text size needs to be bumped up
[19:40]
BryceBotThat's what she said!! [19:40]
acf_I'm at 1024x768 atm [19:41]
mercutiodo you use 100% zoom?
oh
[19:41]
acf_yea [19:41]
mnathaniouch at 1024x768 acf_ [19:41]
mercutioso yeah high dpi won't help you at all [19:41]
BryceBotThat's what she said!! [19:41]
acf_nope :P [19:41]
mercutiostill it should work without high dpi too :)
it'll still be blurry a little probably
[19:41]
mnathaniI just moved down to 1 1080p display, from 2x 1280x1024 + 1x 1080p [19:42]
mercutioi have 4k+1440p [19:42]
mnathaniWindows or *Nix? [19:43]
mercutio1440p on windows and 4k on linux
chrome sucks on linux at 4k though
text looks amazing though :)
consoles are so ... nice... :)
[19:43]
mnathaniwhite banners on right and left? [19:43]
mercutiohuh? [19:43]
mnathanihow many inches on the 4k display? [19:43]
mercutio28"
vs 27" for 1440p
it hardly looks any bigger tbh
they came down in cost a lot
[19:43]
mnathanithe white regions when you make the browser full screen [19:44]
mercutioi'm using radeon 7750 for video
oh i mean scrolling is slow
and i haven't been able to make url bar big yet
actually scrolling was slow on 1440p too
it just got worse
the video card should be fine...
i think it's sucky open source drivers.
[19:44]
acf_I wonder if I just change all the .png s to .svg in smokeping...
arrg
so it seems like certain edits to Graphs.pm aren't applying
I change .png to .svg everywhere, but the page still renders with .png
but if I put some garbage at the top of the file, it correctly fails to load
[19:47]
it worked!
changing all png and PNG to svg and SVG in my Smokeping.pl works
it displays a bit big though...
adding width="$xs{''}" height="$ys{''} in the right place fixes the size...
example: http://kremvax.acfsys.net/smokeping.cgi?target=Remote.googledns
mercutio: how does that look on your high-dpi monitor?
[19:58]
.... (idle for 17mn)
mercutiothe text looks a bit funny
i think the font is just crap
umm rrdtool needs a parameter to generate svg
oh it is svg
does it autodetect?
i should try on my 4k
erk
can this font be changed, it's really annoying
[20:17]
mnathanimercutio: you try the proprietary driver? [20:19]
mercutioit looks fine
mnathani: nope
i really don't want to use binary video driver.
i suppose svg is probably better in general
[20:19]
hazardousmnathani: just read scrollback; webfaction.com [20:21]
mercutiomy pngs are smaller than your svg
by 40k vs 137k
i wonder what it's like if making the size even bigger
[20:21]
acf_> < mercutio> does it autodetect?
'--imgformat','SVG',
[20:22]
mercutioheh i can't read the text now [20:24]
mnathanihazardous: looks really good so far. I am surprised I have never heard of them before [20:25]
acf_yea, can't figure out how to change the font
tried adding --font to the options, didn't work afaict
[20:31]
mercutiohttp://202.49.71.24:24/smokeping/smokeping.fcgi?displaymode=n;start=2014-11-20%2014:28;end=now;target=Curl.garlic
this to me looks kind of how i want it
[20:31]
BryceBotThat's what she said!! [20:32]
mercutionow sure how it looks for other people
but yeah need to ramp up text size
[20:32]
BryceBotThat's what she said!! [20:32]
mercutioi want to change fonts too, i have this annoying 0
it looks like there's a little eye poking out in the middle to the right slightly
[20:32]
acf_yea
where does it get the fonts?
I'm guessing not X11...
[20:32]
mercutioi have no idea [20:32]
acf_ok so --font does work
at least for changing the size
but I don't know what other typefaces to give it besides monospace
[20:34]
mercutiowhat's eps? [20:34]
acf_enhanced post script
it's a vector format
[20:34]
mercutiodo browsers support it? [20:34]
acf_I think chromium does
*encapsulated post script
[20:34]
mercutioi hate it how they double all these things up
well more than double
so there's more than one place to set font
[20:35]
acf_only two? [20:35]
BryceBotThat's what she said!! [20:35]
acf_that I could find
look for --imageformat
* --imgformat
I added
'--font','DEFAULT:0:monospace',
[20:35]
m0undsmercutio: this is how it looks for me: http://i.imgur.com/YG5DTMX.png [20:36]
mercutioi'm looking for --rigid
oh it is only double for that one
wow the text on the left looks terrible
[20:36]
m0undsthat's on osx in chrome [20:37]
mercutioERROR: unknown option '--font DEFAULT:28:Times'
oh
[20:37]
acf_"RRDtool uses Pango for its font handling"... cool [20:37]
m0undsfont rendering is better in safari but i don't really use safari ever
don't ever use safari*
[20:38]
mercutiodamnit now it doesn't fit [20:38]
acf_oh nice Times worked [20:38]
mercutioyeah it wokred
http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Wider.gmail
but it all wraps !
and it's all blurry
not even blurry it's low res
[20:38]
acf_blur probably from dithering? [20:39]
mercutiomaybe i should stop halving the size [20:39]
acf_that's probably causing it [20:40]
mercutiocan't the text scale?
http://202.49.71.24:24/smokeping/images/Wider/sip99_last_10800.svg
even that looks terrible
[20:41]
acf_woah [20:41]
mercutioit's uhh yeah [20:41]
acf_I think you're using a raster font.. [20:41]
mercutiothat's what i meant
are you not?
[20:42]
acf_let me check... [20:42]
mercutioi should install the microsoft fonts? [20:42]
acf_with Times: http://kremvax.acfsys.net/smokeping/images/Remote/googledns_last_10800.svg
Helvetica works too
this is with Debian
I don't think I installed anything special..
[20:42]
mercutiooh yours is way better
this is on server rather than desktop
so probably has less fonts installed
[20:43]
acf_same here
no X11 on that box
[20:44]
mercutiooh
i'm downloading the microsoft ones
your one looks fine
does everything support svg these days?
[20:44]
acf_I think so
find /usr/ | grep -i times
turns up nothing
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Native_browser_support
[20:45]
BryceBotScalable Vector Graphics :: Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. SVG images and their behaviors are defined in XML text files. This means that they can be searched, indexed, scripted, and compressed. As XML files, SVG images can be created a [20:46]
acf_IE9 + suppors SVG [20:46]
mercutioi don't care about ie i suppose :) [20:46]
acf_everything else has supported svg for a long time [20:46]
mercutiook
what version of windows did ie9 come in with?
[20:46]
acf_released March 14, 2011 [20:47]
mercutio/usr/share/fonts/TTF/times.ttf [20:47]
acf_supported on Vista and above [20:47]
mercutiogah it still looks terrible [20:47]
m0undshaha
try sans serif?
or serif?
[20:48]
mercutiomaybe i have to do something to register it? [20:48]
RandalSchwartzo/~ I shot the serif ... o/~ [20:48]
m0undsRandalSchwartz: aarrrggghhhh
hahahaha
[20:48]
acf_fontconfig?
I can't find Times or Helvetica anywhere...
fc-list | grep -i times
shows nothing
maybe it's using DejaVuSerif instead?
[20:48]
mercutio# fc-list | grep -i times | wc -l
52
# fc-list | grep -i dejavuserif | wc -l
8
how do i tell what it's calling rrdgraph with hmm
[20:50]
acf_DEFAULT:0:DejaVuSerif
appears to show the same output as DEFAULT:0:Times
so it's probably just using the DejaVu fonts
[20:51]
mercutiooh it's calling the module
it definitely changes something
http://202.49.71.24:24/smokeping/images/__navcache/141645903735734_1416459037_1416448200.svg
i'm only setting title
and only the title is ugly :)
[20:52]
m0undsyeah it is
lol
the rest looks ok though
[20:54]
acf_the other stuff looks like it's still monospace (Courier or whatever) [20:54]
m0undsyeah [20:54]
mercutiooh consolas looks better [20:54]
m0undslooks like the default smokeping typeface
consolas is my fav fixed width font
i use it in putty on windows
[20:54]
acf_ah nice [20:54]
mercutiohttp://202.49.71.24:24/smokeping/images/__navcache/141645913735819_1416459137_1416448320.svg [20:55]
m0undstoo big but looks clean [20:55]
mercutioa bit big, but it looks more sane
http://202.49.71.24:24/smokeping/smokeping.fcgi?displaymode=n;start=2014-11-20%2014:53;end=now;target=meh.sydmeh
ok that's starting to look better
[20:55]
m0undsyeah, that looks good
little big still but much better all around
[20:56]
mercutioi want the text for overview a bit smaller though [20:56]
acf_some things broke :P
http://oss.oetiker.ch/smokeping/counter.cgi/2.006010
[20:57]
mercutioi put it down a step, now it looks too small [20:57]
acf_http://202.49.71.24:24/smokeping/images/smokeping.svg
rather
it still looks super big on my screen
[20:57]
mercutiooh? [20:57]
acf_(the 1024x768 one) [20:58]
m0undsyeah, the last time you linked it the text at the bottom was bigger than the title
it wasn't overlapping like it was before though, just big
[20:58]
mercutiohttp://202.49.71.24:24/myscreen.png
i suppose it is kind of big
[20:59]
acf_ah. looks nice on that screen [20:59]
m0undsyeah
my macbook is pre-retina, so it's got a pretty low res display
[21:00]
mercutioi'm using cheap korean monitor
qnix
[21:00]
m0undsso it's really big for me but would look fine on my workstation display i'm sure (since it's the same res as yours) [21:00]
mercutio1440p is actually quite a nice resolution
it works ok in winodws too
4k is screwy in windows
[21:00]
acf_are the Windows icons vector or at least available in many sizes? [21:01]
mercutiobut yeah the cool thing about svg is that it can scale i suppose
what windows icons?
i don't think they've vector
[21:01]
acf_like the taskbar ones, etc.. [21:01]
mercutiothey look rpetty blocky [21:02]
acf_I can see it would be difficult to support 1024x768 and 4k at the same time
if you're just using a single scale of raster images
it would be cool if they had a system where you could change the dpi without changing the visible size
[21:02]
mercutiowell 1280x720 and 2560x1440 is just x2
but smokeping isn't really good for 1024 across
as with 1024 you don't want to show a side bar
i should try on my phone
[21:02]
acf_Android? [21:06]
mercutioyeah
choosing the site on the left sucks
gah
it keeps crashing
my phone is 720p
[21:08]
acf_crashing.. by trying to render SVG? [21:09]
mercutiothe image itself is fine
it's the other page it seems it screw up on
[21:10]
m0undsworked okay for me in chrome on android [21:10]
mercutiowhen there's heaps of them
the overview page with heaps of them
even just going to the curl page is slow
[21:10]
acf_it takes a long time to render the svg on the server? [21:11]
mercutiogah it crashed again [21:11]
acf_the browser is the thing crashing? [21:11]
mercutiochrome 39
the browser is crashing on android
chrome 39 is what i'm using on desktop too
svg on the server is fine speed wise
it's the phone that's slow
that server is in new zealand, so may be a bit slower for you guys
[21:11]
m0undstook 10 seconds or so to display the curl page on my phone
didn't crash or anything
[21:12]
mercutiocurl page showed ok
it was other that crashed
[21:12]
m0undsoh, let me try that [21:12]
mercutiothen i clicked on the top curl one and it crashed again
my phone only has 1gb of ram
i dunno if that's why
but no other chrome windows open
[21:12]
m0undsit's taking a while to show m all the graphs - i have a few missing [21:13]
mercutioand yeh 10 seconds kind of sucks
some are blank in other
i haven't cleaned up this server yet :)
i cleaned some of the others up abit
[21:13]
m0unds4 seconds on my macbook
10 on the phone
[21:14]
acf_which specific page? [21:14]
m0unds"other" [21:14]
mercutiooh it does load a little slow [21:14]
m0undsjust got the "aw snap" on my phone for "other"
haha
[21:14]
mercutiom0unds: yeh that's what was happening to me
and it's what the completion jumped to first
[21:15]
m0undsit loaded most of them the first time, with 3 or so missing
then when i reloaded, i got "aw snap"
[21:15]
mercutioandroid is so stable [21:15]
m0undssometimes
haha
[21:15]
mercutiothere's only one fcgiwrap socket
and it's i3 cpu
[21:15]
m0undsah, gotcha [21:15]
mercutioso it should have more than one
well if it's going to be slow
it does seem svg does generate slower than ping
png
[21:15]
acf_or it's just bigger, so there is more transfer time?
my phone is swapping to flash on "other" :P
[21:16]
mercutiomind you it's also bigger file size
heh
[21:16]
m0undshahaha [21:17]
mercutioi wonder if it's just svg needs tuning in rrdtool
it does look nicer, but i want to change my step time down now :)
[21:17]
acf_mercutio: do you have gzip compression enabled on your http?
that would probably help a lot
[21:18]
mercutioi tried on and off before
a diff day
so maybe it's off
[21:18]
acf_png is binary, svg is xml [21:19]
mercutioit was always on for /smokeping
it's smokeping.fcgi i was turnig it off/on
oh
[21:19]
acf_ah, ok [21:19]
mercutiothen it's not working for some reason
cos i tried curl -O before
grr
it's huge
wow
it's 240k to 40k just running gzip on it
why it's nginx compressing it
oh i need to define it for that mime type i tink
done
50k rather than 40k
but so be it
and yeah mime type
[21:19]
acf_see any performance difference? [21:24]
mercutiono
curl --compressed -v -O 0.00s user 0.00s system 5% cpu 0.058 total
curl --compressed -v -O 0.00s user 0.00s system 17% cpu 0.019 total
[21:24]
acf_loads in ~2 sec for me [21:24]
mercutiothat was non compressed first one
curl --compressed -v -O 0.00s user 0.00s system 2% cpu 0.133 total
oh
the 133 msec vs 58 msec
the 19 msec was cached
[21:24]
acf_that would make sense [21:25]
mercutioit still seems slow :/ [21:25]
acf_yea [21:25]
mercutioi have 1 minute expiry set
cos it updates every minute
i think it is a little faster
but yeah if i setup the cgi to run multiple at once it'd make it seem smoother i imagine
actually i don't think it'd make any difference
i think the cgi creates the images
[21:25]
acf_it does [21:28]
mercutioso the server would have to do it in parallel
i wonder if there's an easy way to do that ...
[21:28]
***sga0 has joined #arpnetworks [21:29]
mercutiolike async create graphs on various threads, wait for completion [21:29]
acf_probably not without changing lots of code [21:29]
mercutioyeah i don't want to touch lots of code :)
the code looked scary
i'm thankful for getting this far!
[21:29]
acf_yea. it's been going rather well [21:30]
mercutioi wonder if bryce is around
he's running smokeping too
[21:30]
acf_brycec: ^
I think RandalSchwartz is really big on perl..
[21:31]
mercutiooh you're bryce? [21:31]
acf_just calling him [21:31]
mercutiooh right
i think the mobile layout could be improved too
actually i'm going to try on my tablet
err on my crap tablet
[21:31]
acf_there is a mobile layout? [21:32]
mercutiono
that's the problem
it's really annoying to select hosts on the left
[21:33]
m0unds"other" still ends up hanging on my phone [21:33]
acf_lol yea [21:33]
mercutioyeah i think phones have to switch back to png :) [21:33]
acf_the smokeping web interface could really do with some improvements..
I wonder how hard it would be to rewrite that part in golang or something
[21:33]
mercutioyeah i was thinking of writing my own web frotn end
but it seems that the web front end is tied heavy into the backend
[21:34]
acf_that's what it looks like [21:34]
mercutioit was one of those things that was coming to me today
the other thing i want to do is quick snmp monitoring of network interfaces with ultra-quick updates
like show on a web page bandwidth per second or such
[21:34]
acf_Cacti?
oh without graphs you mean?
[21:35]
mercutiocacti is per minute
and similar with ping too
something you can go to real time to measure performance
as well as doing it on command line
so it'd do the actual checks with backend
[21:35]
acf_it would be cool to aggregate all that information (SNMP, SmokePing, etc...) [21:36]
m0undsyeah [21:36]
acf_also, this: http://stats.sunet.se/stat-q/load-map/optosunet-core,,traffic,peak
super cool imo
[21:36]
mercutiochrome is spastic on my tablet [21:36]
m0undsi use cacti for local stuff (snmp on my juniper srx and managed switch) [21:36]
mercutioand it's not full screen [21:36]
acf_m0unds: you have a juniper srx? [21:37]
m0undsyeah [21:37]
acf_I was thinking about getting one of those
what model?
[21:37]
m0undsi have a SRX210HE [21:37]
acf_what kind of forwarding performance do you get? [21:37]
mercutioit's a nexus 7 maybe they tihnk i'm meant to be running android 5 or something [21:37]
m0undsi haven't tested it
it's rated for 800mbit/sec imix iirc
[21:38]
acf_not bad for the price tag [21:38]
m0undscpu utilization is a whopping 8% maxing out my 50mbit cable connection, haha
yup
great for learning junos too
has all the features of the big units as well as layer 3 switching and stuff
junos for all occasions
i graph cpu utilization, flow sessions, memory usage, cf storage, temperature and my WAN bits/sec
[21:38]
acf_is there a good way to get the amount of data transferred over a given interval with Cacti?
(on a specific interface)
my "Total In" and "Total Out" numbers are always off..
[21:41]
m0undsah [21:41]
mercutionexus 7 2012 is being very slow sohwing other in "browser" [21:42]
m0undsmine's pretty close, it matches what i get when i query via ssh [21:42]
acf_with svg or png? [21:42]
mercutiosvg [21:42]
acf_hm, yea [21:42]
mercutiooh it loaded finally [21:42]
acf_:P [21:42]
m0undshaha [21:42]
acf_m0unds: the thing that disturbed me [21:43]
mercutioit distorts the graphs heaps when scrolling too
looks a bit funky
[21:43]
acf_is that the "Total In" and "Total Out" numbers for 1 week were larger than the numbers for 1 month [21:43]
mercutioi bet it's a lot faster on my other tablet [21:43]
acf_I guess svg s are cpu-intensive to render
especially on mobile platforms..
[21:44]
mercutioyeah
nexus 7 has a crap cpu
[21:44]
m0unds...whaaaat? [21:44]
mercutioactually i don't know if it's /that/ bad [21:44]
m0undsthat's weird [21:44]
mercutioit's 2012 model [21:44]
m0undsis the time right on the host and everything? [21:44]
mercutiowhat do you mean?
catci doesn't care about time
it cares about uptime
[21:44]
acf_I saw that when I first started using Cacti
I had a lot of data transferred in the last week or so
and none for the rest of the month
[21:45]
mercutiodid you reboot the router? [21:45]
acf_don't think so.. [21:45]
BryceBotThat's what she said!! [21:45]
mercutiodid it wrap around? [21:45]
acf_wrap around? [21:46]
mercutiofor snmp counters [21:47]
acf_maybe, I'm not sure
just found another example
"Total In: 184.35 GB" for weekly
"Total In: 184.3 GB" for monthly
this one wasn't that bad
the volume of the other one was in MB
and the numbers were off by at least several MB
[21:47]
m0undsis this a new install? [21:48]
acf_new as of a long time ago [21:48]
m0undsah [21:48]
acf_Version 0.8.8b
(shipped with Debian)
[21:48]
m0undswas just curious if maybe it was averaging over a month w/only a months' worth of data or something goofy
i don't even know what version i'm on
[21:49]
acf_probably it is doing something like that
it says in the console when you log in
in the top right
[21:49]
m0undsyeah, logging now
logging in
same version here, ubuntu 14.04
[21:49]
acf_added any new graphs / data sources recently? [21:50]
m0undsnope, deleted some lately (ipv6 tunnel)
haven't added any though
[21:50]
acf_http://unixcube.org/who/acf/tmp/graph_image-0.png
http://unixcube.org/who/acf/tmp/graph_image-1.png
(had to censor these)
note the "Total In
*way* bigger on the weekly one
[21:53]
m0undshuh
weird
oh cool, spotify got rights to some of the boards of canada b-side stuff they lost a while back
[21:57]
mercutioit does seem weird
can you use sflow acf?
i was distracting getting rid of the stupid borders with smokeping
well rrdtool
you have the silly borders too :)
so is it actually spiking like that?
[22:07]
acf_yea, the spikes are real
which silly borders?
[22:10]
mercutiothe gray
light gray and dark gray
there's a line on left hand side and top and bottom and right
and the background colour
of the text etc
i set all of them to FFFFFF
BACK, CANVAS, SHADEA, SHADEB
http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Curl
so it shows like that now
i kind of want to take the rrdtool text out as well
[22:12]
acf_oh those grey borders [22:13]
mercutioand fix the logo [22:13]
acf_yea for that you just need to substitute png back in [22:13]
mercutiowhat? [22:14]
acf_> and fix the logo [22:14]
mercutiooh right yeh [22:14]
acf_the logo is a png [22:14]
mercutioapparently you have to hack the source te romev the TOBI thingy
apparently the author is cool with people doing that
[22:16]
acf_I wonder if you can reference it specifically with --font
and set the font size to zero
or the color to transparent
or something
[22:19]
mercutioi'm just going to hack the source
there's a new version that just came out
but hadn't been a new version in two years
doesn't seem to have changed mcuh though
hmm other works fine on my good tablet
and it seems fast too
[22:19]
acf_any svg generation performance change with the new version per chance? [22:28]
mercutiodidn't look like it
was hoping to be haha
http://oss.oetiker.ch/rrdtool/pub/CHANGES
but it may mean there's a new version again soon
[22:28]
....... (idle for 32mn)
i didn't realise rrdtool and smokeping were written by the same guy [23:00]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)