[00:56] *** pyvpx has joined #arpnetworks [03:16] *** sga0 has quit IRC (Read error: Connection reset by peer) [04:37] *** LT has joined #arpnetworks [09:34] *** novae has quit IRC (Ping timeout: 265 seconds) [09:36] *** LT has quit IRC (Quit: Leaving) [09:37] *** novae has joined #arpnetworks [09:43] *** novae has quit IRC (Ping timeout: 265 seconds) [09:48] *** novae has joined #arpnetworks [09:54] *** sga0 has joined #arpnetworks [11:47] *** bashas has joined #arpnetworks [11:47] hello everyone [11:47] i'm asking for a good windows vps provider [11:47] any suggestions? [11:48] bashas: budget? [11:48] no limits [11:48] but i need a good reviewed one [11:49] with a good spec [11:49] check VPS offers at: http://www.webhostingtalk.com/forumdisplay.php?s=1c5bb91bee9812bf871e252e57078dda&f=104 [11:49] 'good' can mean different things to different people :-) [11:49] yes :) i know [11:49] but anyway, tnx dude for ur help [11:50] checking the forum [11:50] you are better off asking stuff like: so much RAM, managed vs Un managed etc ? Disk Space, Location [11:51] what's managed an unmanaged? a new term to me? btw i'm a web developer [11:52] and i need to host a project, it has few hits daily, but do some processing every few mins using C# threads [11:52] if you have to ask, you probably need managed [11:52] unmanaged is like no software support from the hohst [11:52] you need to take care of all software install and config [11:53] the project aim is to download some html pages and parse them, and extract data from it and put into a sql db [11:53] host will only support underlying network and virtualization, power etc [11:53] unmanaged is a shared windows u mean, right? [11:54] but managed is a full windows machine with total control, am i right [11:54] the box will be shared, you will have total control on your own instance [11:54] admin / root access [11:54] https://www.liquidweb.com/storm/vps.html [11:55] those guys are pretty good [11:55] i know they are shared, one server hosts few Virtual Machines [11:55] right [11:55] anyway got to go [11:55] ok np bro. [11:56] thanks very much [11:56] i'll try to google and understand the deep details of manage and unmanaged [11:59] Managed: The host/provider "manages" the system, installing updates, changing settings, all the server admin stuff for you. [12:00] Unmanaged: You're responsible for maintaining the server, keeping software up to date, etc. [12:00] ie. your home computer is unmanaged. [12:00] Whereas in a corporate environment with corporate IT, your work computer is "managed" [12:00] Hope that clears things up [12:00] That's what she said!! [12:01] brycec: very useful [12:01] thanks dude :) [12:12] *** bashas has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) [12:17] is someone trying to get rid of windows users? :) [12:18] i suppose if someone asks if they need manager or unmanaged they need managed. [12:18] oh mnathani said that :) [12:30] lol [12:30] I dare say that a whole VPS for a small site is overkill too [12:31] 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? [12:31] (Regardless - sounds like something that a LAMP stack could easily do) [12:32] Man - when a SAN runs out of disk space, servers really don't handle that well [12:32] (for loose definitions of SAN and server) [12:34] (KVM machines with NFS-backed storage, to be exact) [12:36] if it's just for a site, azure sites works well enough [12:36] there's other stuff that can run asp in a similar containerized env too [12:37] Azure has a free tier too, as I recall [12:37] yeah, that's how i played with it [12:38] supports code repo autodeployment too (ala heroku) [13:10] i think background stuff could be annoying on shared windows hosting [13:10] i'm paranoid about shared web hosting myself [13:17] background stuff? [13:19] i finished building my "less complicated" fermenter controller today [13:22] he said about c# threads in background or something? [13:23] oh, probably similar to background php processes or whatever [13:25] I figure it's roughly equivalent to a cron job [13:25] yeah [13:25] just executing at some interval [13:26] does shared hosting normally let you do that? [13:27] * hazardous waves [13:27] shared windows hosting is infuriating to deal with [13:27] no idea, haven't ever used windows shared stuff [13:27] i really really dislike shared anything with asp.net [13:27] because of trust level/privs [13:27] and most shared hosts don't like to give full trust [13:28] and for a lot of things, you have to contact the host [13:28] tend to kind of just run it in a vm because effort [13:30] probably similar cost-wise as vm stuff keeps getting cheaper [13:30] the problem is that it tends to restrict your choice of hosts [13:31] because windows licencing is opening schrodinger's dvd case [13:32] (Every shared lunix host I've had lets me schedule cron jobs, fwiw) [13:32] that 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 [13:32] and allow compilers/installing binaries/etc [13:32] but that's literally the only 1 single linux shared host i know that does that, everything else is terrible [13:33] i hate cpanel/plesk/etc with a passion [13:33] cpanel still claims to support python and ruby on rails, which is a massive, hilarious lie [13:34] tbh i feel like the adoption of non-php web languages is partially because of control panels (and a bit on the languages themselves) [13:34] php is drag and drop, and visit url [13:34] that has never been, nor will it in the near future be the case for nodejs, python, ruby, [...] [13:35] and without ssh access, in general, it's borderline impossible to run on shared hosting [13:35] yeah [13:36] PHP apps are stupid easy to deploy [13:36] as dumb as it is, being able to simply upload index.php and be able to visit index.php [13:36] if you try to explain the concept of routes to someone that "just wants a forum" [13:36] many people don't seem to be able to parse the concept of "upload index.php, and you can visit /login" [13:37] so not supporting apache's single-file .htaccess rewrite thing (which is kind of inefficient since it seems to recurse every subdirectory and whatnot) [13:38] as far as most of the people i deal with know, .htaccess is black magic [13:38] That's what she said!! [13:38] the thing that pisses me off the most is that really shitty shared hosting providers are not helping [13:38] like cpanel hosts that lie about having python support [13:38] and then someone tries to "install a python webapp" and it fails miserably [13:40] * hazardous hugs BryceBot [13:40] by python support, they mean the host has python installed [13:40] not that you can use it [13:40] bahaha [13:41] cpanel is "the standard" [13:41] it's pretty disgusting yes. [13:41] Posted 1 year ago [13:41] Why does CPanel continue ignoring requests for supporting Python/Django [13:41] laugh [13:41] i was surprised by how long it took me to get smokeping working with nginx [13:42] nginx with fastcgi is a bit confusing. [13:42] at least for php, nginx + fcgi is 4 lines [13:42] not so much actual cgi-bin applications [13:43] but i like the idea of micro vps with nginx/php/etc all seperate. [13:43] this is perl [13:43] you need to use fcgiwrap [13:43] not so much actual cgi-bin applications <- i've never actually had to run something cgi/perl [13:43] like for web [13:43] i think that was common maybe before i was born but idk [13:43] there's a few ways to plug that support into nginx [13:43] it's just really foreign to me as a concept [13:43] it was easier on ubuntu than arch linux tbh [13:43] mod_perl sucks [13:43] reminds me [13:44] what happened to gentoo [13:44] i used thttpd as a cgi-proxy years ago [13:44] wasn't it all the nerd-rage a decade ago [13:44] behind nginx [13:44] everyone seems to have moved to arch or something from what i can gather [13:44] i think it's still around [13:44] m0unds: i've been using lighttpd for ages, but thought i'd try nginx because nginx is adding spdy support and fastopen support [13:44] fastopen is really easy to enable in nginx. in lighttpd i have a source hack. [13:45] nginx pisses me off with their commercial product offering [13:45] hazardous: why? [13:45] they have a commercial product offering? [13:45] haha [13:45] i need the ability to kick out unresponsive backends for reverse proxying [13:45] m0unds: yeah. [13:45] this is commercial product only [13:45] minimum few thousand a year [13:45] required support contract [13:45] ah [13:45] they're still putting mroe effort into their open source offering than anyone else. [13:45] there is no way i can buy like "just want this module" [13:45] i don't want support [13:45] i just literally want one config option enabled [13:45] i don't need SLA, i don't need tickets [13:45] but that's totally not available to me [13:46] i would happily pay like 50-100/yr just for the ability to use a few extra config options [13:46] but a few thousand i can't afford [13:46] defining backends to reverse proxy is free - doing anything else with them, like checking if they are online, setting randomization, removing or adding backends [13:46] is a $$$$ feature only [13:46] so backends can hang and it can't fix it? [13:46] isn't that spawnfcgi's job? [13:46] i have this problem in that my backends are closed-source binaries that i don't have access to, and occasionally they die [13:47] i would like to run a script if one doesn't return or sends a 5xx [13:47] i would also like to check periodically if they respond [13:47] so now.. i use chinese nginx [13:47] are you in china hazardous ? [13:47] no [13:48] i'm in freedom-land [13:48] canada? [13:48] wow [13:48] close enough [13:48] Obviously kicking the backend can be scripted (kill $pid), so you're just missing the ability to query a specific backend directly? [13:48] brycec: yeh how would he know which one to kill [13:48] brycec: http://tengine.taobao.org/document/http_upstream_check.html [13:49] i wonder what happened to dtrace coming to linux [13:49] http://tengine.taobao.org/document/http_upstream_consistent_hash.html [13:49] i kind of like the idea of tracing normal programs [13:50] these are all bsaically nonexistent in free nginx [13:50] and some kind of autodetection of weird behaviour [13:50] So it kicks it out of the nginx pool [13:50] * mercutio doesn't trust people to not screw up [13:50] * brycec trusts people to screw up [13:50] * hazardous greps mercutio [13:50] heh brycec [13:51] screwing up is normal human behaviour [13:51] error handling is often terrible on unix [13:51] actualyl with software in general [13:51] brycec: even manually removing a backend temporarily in nginx is paid, iirc [13:51] without editing configs [13:51] 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] relayd can do that btw hazardous [13:52] if you have multiple servers [13:52] Yeah - I ran across a "need" (want, really) to do that and found it only came with money [13:52] if you want a laugh, my primary web frontend has 9 VPNs running on top of each other [13:52] but 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] One could easily kick/restart the backend with your own script though, but it does nothing for nginx [13:53] if someone wrote a backend handler that also did performance monitoring etc [13:53] they could probably sell it [13:53] capturing 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 [13:54] tengine's upstream_check thing lets you set things like timeout msec, expecting 200 OK or 302 or something, and checks ssl handshakes [13:54] by default all backends are offline until they pass their first check [13:54] 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:56] what about sticking a wrapper program around your binarys [13:56] define wrapper program [13:57] [they are windows binaries that listen on a port, running on remote hosts] [13:57] runs your cgi script, sees that it behaves [13:57] has an abort if it takes too long, or if it does 5xx. [13:57] i have 1,539 backends [13:57] oh [13:57] lol; [13:57] relayd should handle that then [13:57] That's what she said!! [13:57] the thing is.. it also returns HTTP 200 for failed requests [13:57] which is bsd hmm. [13:57] with error text in the body [13:57] oh [13:58] that's annoying :) [13:58] so i also check if it returns a XML response that contains 'failed_err' [13:58] you could do your own monitoring script and take them out [13:58] there's a few failure states, one of them is named "SHOULD_NEVER_HAPPEN_RACE_CONDITION_TRAP" [13:58] i've encountered that af ew times [13:58] are all the backends the same, you're just load balancing to them? [13:59] load 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 [13:59] tl;dr asia [13:59] i think your situation is complex enough that it warrants coding for it. [14:00] fun 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] wow. [14:00] all PTR requests have to go through KRNIC [14:00] if you've ever wondered why almost no south korean ip has a PTR, well, that might explain it maybe [14:01] china doesn't have PTR either ? [14:01] china occasionally has isps that have applied for PTR for their whole netblock [14:01] none of which have forward dns, most of them completely invalid [14:01] lol [14:01] this is basically standard for all of asia [14:03] my upstream in vietnam assigns datacenter colo, dynamic adsl, dialup, voip, and iptv out of the same subnet [14:03] i can pull a dynamic adsl ip from colo, from standard dhcp pool [14:03] all static IPs have the reverse dns 'dynamic.vdc.vn', and this isn't editable [14:03] they have several /16's that consist entirely of 'dynamic.vdc.vn' exactly, not unique ptr per ip [14:08] theres also the whole "having to bribe customs and shipping officials or else your hardware gets stolen" thing [14:17] wow. [14:18] has anyone tried the new apache httpd? [14:18] err new openbsd httpd [14:19] lol way to goof that :P [14:19] i'm not exactly sure why openbsd is doing their own httpd [14:19] back in thttpd/boa/lighttpd/etc days there were heaps of them [14:19] i jumped from boa to lighttpd myself [14:19] That's what she said!! [14:19] Same reason they do their own everything - to keep full control over it [14:26] openbsd made a httpd? [14:26] yeh based on relayd it seems. [14:26] So more pf.conf-style syntax! [14:26] looks like it's pretty basic [14:26] they also made their own smtpd [14:26] i like relayd. [14:26] httpd is extremely basic at this point [14:26] all i want/need is static file serving from a dir [14:27] OpenSMTPD is pretty great [14:27] sendmailis prettty bad [14:27] opensmtpd is awesome, i wish there debian/ubuntu packages for it [14:27] its in sid but thats about it [14:28] there needs to be linux kernel with openbsd userland :) [14:29] that exists [14:29] it's called windows [14:29] :) [14:32] what's the "in" orchestration tool nowadays [14:32] puppet? ansible? [14:32] it seems to change weekly [14:33] puppet and chef are the big "in" ones from what I can see [14:33] But there's still a lot to be said about using the right tool for the job [14:33] such as ansible in my case [14:36] ansible <3 [14:39] ansible++ [14:42] ansible++ [14:42] ansible has some interesting advantages [14:43] we interviewed them for floss [14:43] along with puppet, chef, cfengine, saltstack... :) [14:44] I 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:45] so the nerd portion is ansible [14:45] i don't want massive overhead, custom daemons, etc [15:16] *** erratic has quit IRC (Ping timeout: 258 seconds) [15:30] *** erratic has joined #arpnetworks [15:34] *** mus1cb0x has joined #arpnetworks [15:42] *** mus1cb0x has left "WeeChat 0.4.2" [16:13] hazardous: reading the scrollback, what was that shared linux host you found that let you run your own web server? [17:18] This looks like a really cool position: https://ams-ix.net/about/careers--2/project-stagiair-noc [18:15] you going to apply mnathani ? [18:16] mercutio: if only I met the requirements [18:16] :-) [18:16] i don't think it had many requirements? [18:16] it sounded like it'd be a bit boring though [18:16] Following this project, the internee will follow/collaborate with [18:17] AMS-IX network engineers to work on [18:17] it's bsaically just a testing/scripting job from what i can see [18:19] I suppose they would have some basic on the job training [18:19] it's also probably in amsterdam [18:20] but yeah what they're doing sounds interesting [19:19] i'm trying to add high dpi support to smokeping [19:19] i got the overview looking better.. [19:20] but smokeping isn't saying the size for normal images when you go to the page :( so i can't just half it. [19:22] > isn't saying the size for normal images [19:22] isn't saying it where? [19:22] in the html [19:22] oh [19:22] it's just referencing the made image [19:22] apparently the way to make high dpi work easiest, is you just define the size as half of the actual image size. [19:22] and high dpi displays will show all the detial. [19:22] got it [19:23] you could mess with the image generation I guess [19:23] That's what she said!! [19:23] is it really? [19:23] BryceBot: no [19:23] Oh, okay... I'm sorry. 'you could mess with the image generation I guess' [19:23] i am doubling the rrdtool created image size [19:23] and want to touch smokeping as little as possible. [19:24] That's what she said!! [19:24] BryceBot: no [19:24] Oh, okay... I'm sorry. 'and want to touch smokeping as little as possible.' [19:24] does smokeping just invoke the rrdtool command with some args? [19:24] i think so [19:25] # HIGH DPI [19:25] $xs=$xs/2; [19:25] $ys=$ys/2; [19:25] that in the right place fixes the overview. [19:25] That's what she said!! [19:25] with just doubling the size in the config. [19:25] BryceBot: no [19:25] Oh, okay... I'm sorry. 'that in the right place fixes the overview.' [19:26] because the overview defines the size explicitly in the html? [19:27] it's perl generated html [19:27] and overview does yes. [19:27] but detail doesn't. [19:27] i could try and understand the code more.. [19:33] *** sga0 has quit IRC (Ping timeout: 245 seconds) [19:35] mercutio: I'm editing .pm files in /usr/share/perl5/Smokeping [19:35] but nothing seems to happen [19:35] got it [19:35] what did you do? [19:35] you have to restart fcgiwrap [19:36] i found that $xs{''} is used somewhere else [19:36] and added in width and height with that [19:36] i haven't done much perl [19:36] cool [19:36] what's the difference between $xs and $xs{''} [19:36] i think the smokeping code is messy :) [19:37] http://pastebin.com/tPWXf0an [19:37] curly braces are used to access hash tables? [19:38] * acf_ doesn't know perl either [19:38] http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Wider.google [19:38] that's got it running on it [19:38] now i just need the text size bigger... [19:38] That's what she said!! [19:38] looks super tiny on my monitor :P [19:39] it would be cool if rrdtool rendered svg instead of raster [19:39] the text or graph? [19:39] i think rrdtool can [19:39] i just wanted to start with something [19:39] well, all of it [19:40] you mean the graph is small or the text is small? [19:40] the text mostly [19:40] yeah the text is small for me too [19:40] on my monitor, it's a bit blurry [19:40] the text on the left is a little small, the text in the image is tiny [19:40] probably because of the scaling [19:40] i'm at 1440p [19:40] but yeah the text size needs to be bumped up [19:40] That's what she said!! [19:41] I'm at 1024x768 atm [19:41] do you use 100% zoom? [19:41] oh [19:41] yea [19:41] ouch at 1024x768 acf_ [19:41] so yeah high dpi won't help you at all [19:41] That's what she said!! [19:41] nope :P [19:41] still it should work without high dpi too :) [19:42] it'll still be blurry a little probably [19:42] I just moved down to 1 1080p display, from 2x 1280x1024 + 1x 1080p [19:42] i have 4k+1440p [19:43] Windows or *Nix? [19:43] 1440p on windows and 4k on linux [19:43] chrome sucks on linux at 4k though [19:43] text looks amazing though :) [19:43] consoles are so ... nice... :) [19:43] white banners on right and left? [19:43] huh? [19:43] how many inches on the 4k display? [19:43] 28" [19:44] vs 27" for 1440p [19:44] it hardly looks any bigger tbh [19:44] they came down in cost a lot [19:44] the white regions when you make the browser full screen [19:44] i'm using radeon 7750 for video [19:44] oh i mean scrolling is slow [19:44] and i haven't been able to make url bar big yet [19:45] actually scrolling was slow on 1440p too [19:45] it just got worse [19:45] the video card should be fine... [19:45] i think it's sucky open source drivers. [19:47] I wonder if I just change all the .png s to .svg in smokeping... [19:47] arrg [19:48] so it seems like certain edits to Graphs.pm aren't applying [19:48] I change .png to .svg everywhere, but the page still renders with .png [19:48] but if I put some garbage at the top of the file, it correctly fails to load [19:58] it worked! [19:58] changing all png and PNG to svg and SVG in my Smokeping.pl works [19:58] it displays a bit big though... [19:59] adding width="$xs{''}" height="$ys{''} in the right place fixes the size... [20:00] example: http://kremvax.acfsys.net/smokeping.cgi?target=Remote.googledns [20:00] mercutio: how does that look on your high-dpi monitor? [20:17] the text looks a bit funny [20:17] i think the font is just crap [20:18] umm rrdtool needs a parameter to generate svg [20:18] oh it is svg [20:18] does it autodetect? [20:19] i should try on my 4k [20:19] erk [20:19] can this font be changed, it's really annoying [20:19] mercutio: you try the proprietary driver? [20:19] it looks fine [20:20] mnathani: nope [20:20] i really don't want to use binary video driver. [20:20] i suppose svg is probably better in general [20:21] mnathani: just read scrollback; webfaction.com [20:21] my pngs are smaller than your svg [20:22] by 40k vs 137k [20:22] i wonder what it's like if making the size even bigger [20:22] > < mercutio> does it autodetect? [20:22] '--imgformat','SVG', [20:24] heh i can't read the text now [20:25] hazardous: looks really good so far. I am surprised I have never heard of them before [20:31] yea, can't figure out how to change the font [20:31] tried adding --font to the options, didn't work afaict [20:31] http://202.49.71.24:24/smokeping/smokeping.fcgi?displaymode=n;start=2014-11-20%2014:28;end=now;target=Curl.garlic [20:32] this to me looks kind of how i want it [20:32] That's what she said!! [20:32] now sure how it looks for other people [20:32] but yeah need to ramp up text size [20:32] That's what she said!! [20:32] i want to change fonts too, i have this annoying 0 [20:32] it looks like there's a little eye poking out in the middle to the right slightly [20:32] yea [20:32] where does it get the fonts? [20:32] I'm guessing not X11... [20:32] i have no idea [20:34] ok so --font does work [20:34] at least for changing the size [20:34] but I don't know what other typefaces to give it besides monospace [20:34] what's eps? [20:34] enhanced post script [20:34] it's a vector format [20:34] do browsers support it? [20:34] I think chromium does [20:35] *encapsulated post script [20:35] i hate it how they double all these things up [20:35] well more than double [20:35] so there's more than one place to set font [20:35] only two? [20:35] That's what she said!! [20:35] that I could find [20:35] look for --imageformat [20:35] * --imgformat [20:36] I added [20:36] '--font','DEFAULT:0:monospace', [20:36] mercutio: this is how it looks for me: http://i.imgur.com/YG5DTMX.png [20:36] i'm looking for --rigid [20:36] oh it is only double for that one [20:36] wow the text on the left looks terrible [20:37] that's on osx in chrome [20:37] ERROR: unknown option '--font DEFAULT:28:Times' [20:37] oh [20:37] "RRDtool uses Pango for its font handling"... cool [20:38] font rendering is better in safari but i don't really use safari ever [20:38] don't ever use safari* [20:38] damnit now it doesn't fit [20:38] oh nice Times worked [20:38] yeah it wokred [20:38] http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Wider.gmail [20:38] but it all wraps ! [20:39] and it's all blurry [20:39] not even blurry it's low res [20:39] blur probably from dithering? [20:39] maybe i should stop halving the size [20:40] that's probably causing it [20:41] can't the text scale? [20:41] http://202.49.71.24:24/smokeping/images/Wider/sip99_last_10800.svg [20:41] even that looks terrible [20:41] woah [20:41] it's uhh yeah [20:41] I think you're using a raster font.. [20:42] that's what i meant [20:42] are you not? [20:42] let me check... [20:42] i should install the microsoft fonts? [20:42] with Times: http://kremvax.acfsys.net/smokeping/images/Remote/googledns_last_10800.svg [20:42] Helvetica works too [20:43] this is with Debian [20:43] I don't think I installed anything special.. [20:43] oh yours is way better [20:43] this is on server rather than desktop [20:44] so probably has less fonts installed [20:44] same here [20:44] no X11 on that box [20:44] oh [20:44] i'm downloading the microsoft ones [20:44] your one looks fine [20:45] does everything support svg these days? [20:45] I think so [20:45] find /usr/ | grep -i times [20:45] turns up nothing [20:45] http://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Native_browser_support [20:46] Scalable 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] IE9 + suppors SVG [20:46] i don't care about ie i suppose :) [20:46] everything else has supported svg for a long time [20:46] ok [20:46] what version of windows did ie9 come in with? [20:47] released March 14, 2011 [20:47] /usr/share/fonts/TTF/times.ttf [20:47] supported on Vista and above [20:47] gah it still looks terrible [20:48] haha [20:48] try sans serif? [20:48] or serif? [20:48] maybe i have to do something to register it? [20:48] o/~ I shot the serif ... o/~ [20:48] RandalSchwartz: aarrrggghhhh [20:48] hahahaha [20:48] fontconfig? [20:49] I can't find Times or Helvetica anywhere... [20:49] fc-list | grep -i times [20:49] shows nothing [20:50] maybe it's using DejaVuSerif instead? [20:50] # fc-list | grep -i times | wc -l [20:50] 52 [20:50] # fc-list | grep -i dejavuserif | wc -l [20:50] 8 [20:51] how do i tell what it's calling rrdgraph with hmm [20:51] DEFAULT:0:DejaVuSerif [20:51] appears to show the same output as DEFAULT:0:Times [20:51] so it's probably just using the DejaVu fonts [20:52] oh it's calling the module [20:53] it definitely changes something [20:53] http://202.49.71.24:24/smokeping/images/__navcache/141645903735734_1416459037_1416448200.svg [20:53] i'm only setting title [20:53] and only the title is ugly :) [20:54] yeah it is [20:54] lol [20:54] the rest looks ok though [20:54] the other stuff looks like it's still monospace (Courier or whatever) [20:54] yeah [20:54] oh consolas looks better [20:54] looks like the default smokeping typeface [20:54] consolas is my fav fixed width font [20:54] i use it in putty on windows [20:54] ah nice [20:55] http://202.49.71.24:24/smokeping/images/__navcache/141645913735819_1416459137_1416448320.svg [20:55] too big but looks clean [20:55] a bit big, but it looks more sane [20:56] http://202.49.71.24:24/smokeping/smokeping.fcgi?displaymode=n;start=2014-11-20%2014:53;end=now;target=meh.sydmeh [20:56] ok that's starting to look better [20:56] yeah, that looks good [20:56] little big still but much better all around [20:56] i want the text for overview a bit smaller though [20:57] some things broke :P [20:57] http://oss.oetiker.ch/smokeping/counter.cgi/2.006010 [20:57] i put it down a step, now it looks too small [20:57] http://202.49.71.24:24/smokeping/images/smokeping.svg [20:57] rather [20:57] it still looks super big on my screen [20:57] oh? [20:58] (the 1024x768 one) [20:58] yeah, the last time you linked it the text at the bottom was bigger than the title [20:58] it wasn't overlapping like it was before though, just big [20:59] http://202.49.71.24:24/myscreen.png [20:59] i suppose it is kind of big [20:59] ah. looks nice on that screen [21:00] yeah [21:00] my macbook is pre-retina, so it's got a pretty low res display [21:00] i'm using cheap korean monitor [21:00] qnix [21:00] so 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] 1440p is actually quite a nice resolution [21:01] it works ok in winodws too [21:01] 4k is screwy in windows [21:01] are the Windows icons vector or at least available in many sizes? [21:01] but yeah the cool thing about svg is that it can scale i suppose [21:01] what windows icons? [21:01] i don't think they've vector [21:01] like the taskbar ones, etc.. [21:02] they look rpetty blocky [21:02] I can see it would be difficult to support 1024x768 and 4k at the same time [21:02] if you're just using a single scale of raster images [21:02] it would be cool if they had a system where you could change the dpi without changing the visible size [21:02] well 1280x720 and 2560x1440 is just x2 [21:02] but smokeping isn't really good for 1024 across [21:02] as with 1024 you don't want to show a side bar [21:06] i should try on my phone [21:06] Android? [21:08] yeah [21:08] choosing the site on the left sucks [21:08] gah [21:08] it keeps crashing [21:09] my phone is 720p [21:09] crashing.. by trying to render SVG? [21:10] the image itself is fine [21:10] it's the other page it seems it screw up on [21:10] worked okay for me in chrome on android [21:10] when there's heaps of them [21:10] the overview page with heaps of them [21:10] even just going to the curl page is slow [21:11] it takes a long time to render the svg on the server? [21:11] gah it crashed again [21:11] the browser is the thing crashing? [21:11] chrome 39 [21:11] the browser is crashing on android [21:11] chrome 39 is what i'm using on desktop too [21:12] svg on the server is fine speed wise [21:12] it's the phone that's slow [21:12] that server is in new zealand, so may be a bit slower for you guys [21:12] took 10 seconds or so to display the curl page on my phone [21:12] didn't crash or anything [21:12] curl page showed ok [21:12] it was other that crashed [21:12] oh, let me try that [21:12] then i clicked on the top curl one and it crashed again [21:13] my phone only has 1gb of ram [21:13] i dunno if that's why [21:13] but no other chrome windows open [21:13] it's taking a while to show m all the graphs - i have a few missing [21:13] and yeh 10 seconds kind of sucks [21:14] some are blank in other [21:14] i haven't cleaned up this server yet :) [21:14] i cleaned some of the others up abit [21:14] 4 seconds on my macbook [21:14] 10 on the phone [21:14] which specific page? [21:14] "other" [21:14] oh it does load a little slow [21:14] just got the "aw snap" on my phone for "other" [21:14] haha [21:15] m0unds: yeh that's what was happening to me [21:15] and it's what the completion jumped to first [21:15] it loaded most of them the first time, with 3 or so missing [21:15] then when i reloaded, i got "aw snap" [21:15] android is so stable [21:15] sometimes [21:15] haha [21:15] there's only one fcgiwrap socket [21:15] and it's i3 cpu [21:15] ah, gotcha [21:15] so it should have more than one [21:16] well if it's going to be slow [21:16] it does seem svg does generate slower than ping [21:16] png [21:16] or it's just bigger, so there is more transfer time? [21:16] my phone is swapping to flash on "other" :P [21:16] mind you it's also bigger file size [21:17] heh [21:17] hahaha [21:17] i wonder if it's just svg needs tuning in rrdtool [21:18] it does look nicer, but i want to change my step time down now :) [21:18] mercutio: do you have gzip compression enabled on your http? [21:18] that would probably help a lot [21:18] i tried on and off before [21:18] a diff day [21:19] so maybe it's off [21:19] png is binary, svg is xml [21:19] it was always on for /smokeping [21:19] it's smokeping.fcgi i was turnig it off/on [21:19] oh [21:19] ah, ok [21:19] then it's not working for some reason [21:19] cos i tried curl -O before [21:21] grr [21:21] it's huge [21:21] wow [21:21] it's 240k to 40k just running gzip on it [21:21] why it's nginx compressing it [21:22] oh i need to define it for that mime type i tink [21:23] done [21:23] 50k rather than 40k [21:23] but so be it [21:23] and yeah mime type [21:24] see any performance difference? [21:24] no [21:24] curl --compressed -v -O 0.00s user 0.00s system 5% cpu 0.058 total [21:24] curl --compressed -v -O 0.00s user 0.00s system 17% cpu 0.019 total [21:24] loads in ~2 sec for me [21:24] that was non compressed first one [21:24] curl --compressed -v -O 0.00s user 0.00s system 2% cpu 0.133 total [21:24] oh [21:24] the 133 msec vs 58 msec [21:25] the 19 msec was cached [21:25] that would make sense [21:25] it still seems slow :/ [21:25] yea [21:25] i have 1 minute expiry set [21:25] cos it updates every minute [21:26] i think it is a little faster [21:26] but yeah if i setup the cgi to run multiple at once it'd make it seem smoother i imagine [21:28] actually i don't think it'd make any difference [21:28] i think the cgi creates the images [21:28] it does [21:28] so the server would have to do it in parallel [21:29] i wonder if there's an easy way to do that ... [21:29] *** sga0 has joined #arpnetworks [21:29] like async create graphs on various threads, wait for completion [21:29] probably not without changing lots of code [21:29] yeah i don't want to touch lots of code :) [21:29] the code looked scary [21:29] i'm thankful for getting this far! [21:30] yea. it's been going rather well [21:30] i wonder if bryce is around [21:31] he's running smokeping too [21:31] brycec: ^ [21:31] I think RandalSchwartz is really big on perl.. [21:31] oh you're bryce? [21:31] just calling him [21:31] oh right [21:32] i think the mobile layout could be improved too [21:32] actually i'm going to try on my tablet [21:32] err on my crap tablet [21:32] there is a mobile layout? [21:33] no [21:33] that's the problem [21:33] it's really annoying to select hosts on the left [21:33] "other" still ends up hanging on my phone [21:33] lol yea [21:33] yeah i think phones have to switch back to png :) [21:33] the smokeping web interface could really do with some improvements.. [21:34] I wonder how hard it would be to rewrite that part in golang or something [21:34] yeah i was thinking of writing my own web frotn end [21:34] but it seems that the web front end is tied heavy into the backend [21:34] that's what it looks like [21:34] it was one of those things that was coming to me today [21:34] the other thing i want to do is quick snmp monitoring of network interfaces with ultra-quick updates [21:34] like show on a web page bandwidth per second or such [21:35] Cacti? [21:35] oh without graphs you mean? [21:35] cacti is per minute [21:35] and similar with ping too [21:35] something you can go to real time to measure performance [21:35] as well as doing it on command line [21:36] so it'd do the actual checks with backend [21:36] it would be cool to aggregate all that information (SNMP, SmokePing, etc...) [21:36] yeah [21:36] also, this: http://stats.sunet.se/stat-q/load-map/optosunet-core,,traffic,peak [21:36] super cool imo [21:36] chrome is spastic on my tablet [21:36] i use cacti for local stuff (snmp on my juniper srx and managed switch) [21:36] and it's not full screen [21:37] m0unds: you have a juniper srx? [21:37] yeah [21:37] I was thinking about getting one of those [21:37] what model? [21:37] i have a SRX210HE [21:37] what kind of forwarding performance do you get? [21:37] it's a nexus 7 maybe they tihnk i'm meant to be running android 5 or something [21:38] i haven't tested it [21:38] it's rated for 800mbit/sec imix iirc [21:38] not bad for the price tag [21:38] cpu utilization is a whopping 8% maxing out my 50mbit cable connection, haha [21:38] yup [21:38] great for learning junos too [21:39] has all the features of the big units as well as layer 3 switching and stuff [21:39] junos for all occasions [21:40] i graph cpu utilization, flow sessions, memory usage, cf storage, temperature and my WAN bits/sec [21:41] is there a good way to get the amount of data transferred over a given interval with Cacti? [21:41] (on a specific interface) [21:41] my "Total In" and "Total Out" numbers are always off.. [21:41] ah [21:42] nexus 7 2012 is being very slow sohwing other in "browser" [21:42] mine's pretty close, it matches what i get when i query via ssh [21:42] with svg or png? [21:42] svg [21:42] hm, yea [21:42] oh it loaded finally [21:42] :P [21:42] haha [21:43] m0unds: the thing that disturbed me [21:43] it distorts the graphs heaps when scrolling too [21:43] looks a bit funky [21:43] is that the "Total In" and "Total Out" numbers for 1 week were larger than the numbers for 1 month [21:43] i bet it's a lot faster on my other tablet [21:44] I guess svg s are cpu-intensive to render [21:44] especially on mobile platforms.. [21:44] yeah [21:44] nexus 7 has a crap cpu [21:44] ...whaaaat? [21:44] actually i don't know if it's /that/ bad [21:44] that's weird [21:44] it's 2012 model [21:44] is the time right on the host and everything? [21:44] what do you mean? [21:45] catci doesn't care about time [21:45] it cares about uptime [21:45] I saw that when I first started using Cacti [21:45] I had a lot of data transferred in the last week or so [21:45] and none for the rest of the month [21:45] did you reboot the router? [21:45] don't think so.. [21:45] That's what she said!! [21:45] did it wrap around? [21:46] wrap around? [21:47] for snmp counters [21:47] maybe, I'm not sure [21:47] just found another example [21:47] "Total In: 184.35 GB" for weekly [21:48] "Total In: 184.3 GB" for monthly [21:48] this one wasn't that bad [21:48] the volume of the other one was in MB [21:48] and the numbers were off by at least several MB [21:48] is this a new install? [21:48] new as of a long time ago [21:48] ah [21:48] Version 0.8.8b [21:49] (shipped with Debian) [21:49] was just curious if maybe it was averaging over a month w/only a months' worth of data or something goofy [21:49] i don't even know what version i'm on [21:49] probably it is doing something like that [21:49] it says in the console when you log in [21:49] in the top right [21:49] yeah, logging now [21:49] logging in [21:50] same version here, ubuntu 14.04 [21:50] added any new graphs / data sources recently? [21:50] nope, deleted some lately (ipv6 tunnel) [21:50] haven't added any though [21:53] http://unixcube.org/who/acf/tmp/graph_image-0.png [21:53] http://unixcube.org/who/acf/tmp/graph_image-1.png [21:53] (had to censor these) [21:53] note the "Total In [21:53] *way* bigger on the weekly one [21:57] huh [21:57] weird [21:59] oh cool, spotify got rights to some of the boards of canada b-side stuff they lost a while back [22:07] it does seem weird [22:07] can you use sflow acf? [22:08] i was distracting getting rid of the stupid borders with smokeping [22:08] well rrdtool [22:08] you have the silly borders too :) [22:08] so is it actually spiking like that? [22:10] yea, the spikes are real [22:11] which silly borders? [22:12] the gray [22:12] light gray and dark gray [22:12] there's a line on left hand side and top and bottom and right [22:12] and the background colour [22:12] of the text etc [22:12] i set all of them to FFFFFF [22:13] BACK, CANVAS, SHADEA, SHADEB [22:13] http://202.49.71.24:24/smokeping/smokeping.fcgi?target=Curl [22:13] so it shows like that now [22:13] i kind of want to take the rrdtool text out as well [22:13] oh those grey borders [22:13] and fix the logo [22:13] yea for that you just need to substitute png back in [22:14] what? [22:14] > and fix the logo [22:14] oh right yeh [22:14] the logo is a png [22:16] apparently you have to hack the source te romev the TOBI thingy [22:17] apparently the author is cool with people doing that [22:19] I wonder if you can reference it specifically with --font [22:19] and set the font size to zero [22:19] or the color to transparent [22:19] or something [22:19] i'm just going to hack the source [22:21] there's a new version that just came out [22:21] but hadn't been a new version in two years [22:21] doesn't seem to have changed mcuh though [22:24] hmm other works fine on my good tablet [22:24] and it seems fast too [22:28] any svg generation performance change with the new version per chance? [22:28] didn't look like it [22:28] was hoping to be haha [22:28] http://oss.oetiker.ch/rrdtool/pub/CHANGES [22:28] but it may mean there's a new version again soon [23:00] i didn't realise rrdtool and smokeping were written by the same guy