[00:06] so who's been playing with wily? [00:07] shauno: how dare you assume I'm being n0rty! [00:07] shauno: so I might have been but that's besides the point.. [00:07] hey, leave me out of this [05:10] hey [06:04] none of the night owls around hm [06:31] hmm? [06:32] night? at 8:30? [07:31] morning all [07:42] \o === zmoylan-1i is now known as zmoylan-pi [09:15] morning boys and girls. [09:53] morning brobostigon [09:55] morning knightwise [10:14] how you doin brobostigon [10:14] not bad really, abit mixed, and you? [10:15] morning brobostigon knightwise MartijnVdS [10:16] morning MooDoo [10:33] how are you brobostigon [10:33] ? [10:38] see above, :) [10:39] oh aye :D [10:39] :) [10:40] hmm [10:41] dug an asus tf101 out of a drawer and re-flashed android on it [10:41] battery is completely dead, won't hold a charge at all [10:41] dies as soon as you pull the charger cable out :( [10:43] :( [10:44] bought a replacement proprietary charging cable for it because I wrongly thought that was the issue [10:44] happy i managed to re-flash it to stock android though, it was running a version of Ubuntu touch from 2012 :) [10:44] can you access the battery charge controller? [10:45] dunno [10:45] I could take it apart [10:45] just put 3.6v directly across the battery terminals, skipping the charge controller [10:45] you can buy replacement batteries on ebay, and there seem to be a lot of guides to replacing it, as it's a common problem [10:45] this will probably fix it [10:45] interesting [10:45] just do it for like 1 second [10:45] while it is also connected to the charger [10:45] this will reset the controller chip, then it will work [10:46] thanks. will give that a try. [10:46] normally on laptops you can;'t do this without ripping the battery open [10:46] and then it won;t go back in the laptop [10:47] looks like the battery is semi-sealed still [14:26] diddledan: tested out the xbox one windows 10 streaming yesterday :O https://www.dropbox.com/s/t8kng4jeuu3i5rl/VID_20150718_201513.mp4?dl=0 [17:05] daftykins: batman, playable on pc? :o [17:32] daftykins: sweet [17:35] hey peeps [17:36] anyone know anything about nagios ? [17:36] this is stupid: http://www.bbc.co.uk/newsbeat/article/33566933/ripping-music-and-films-illegal-again-after-high-court-overturns-new-law [17:37] knightwise: I know a little [17:38] this is not conducive to sanity, amazon delivering my birthday present on a sunday, leaving it at my neaghbours this morning, and they arent home yet, :( [17:38] hey diddledan , do you know where I need to set things up to send out email notifications ? [17:39] i changed the commands.cfg in /etc/nagios3 to use sendemail instead of /bin/mail [17:39] but when I look in my nagios report he points towards /usr/bin/print [17:40] so i'm not sure where to replace the send mail command line [17:40] knightwise: I believe you need to set a service definition to "notify x, y, z" where x y and z are user references. you can do this in each service or you can do it in something that each service depends on, such as the template thingy [17:42] yep , ive got that setup [17:42] * brobostigon mumble rants. [17:42] the only thing i think is the matter is that nagios is using /bin/mail instead of sendemail [17:42] my isp does not allow firing off emails via port 25 and requires me to use an external smtp server [17:45] this is the error i am seeing Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: FLAPPINGSTOP\n\nService: check_http\nHost: Multifunctional\nAddress: 172.16.50.2\nState: OK\n\nDate/Time: Sun Jul 19 17:39:53 UTC 2015\n\nAdditional Info:\n\nHTTP OK: HTTP/1.1 200 OK - 661 bytes in 0.064 second response time\n" | /bin/mail -s "** FLAPPINGSTOP Service Alert: Multifunctional/check_http is OK [17:45] so if i read it correctly i need to install ....maiL ? [17:45] knightwise: You need something in there - but I think there are lots of choices to use for mail [17:47] knightwise: that doesn't say it failed [17:48] hmm.. "make sure the binary you are trying to execute exsists" [17:48] where does it say that? [17:49] Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: FLAPPINGSTOP\n\nService: check_http\nHost: Multifunctional\nAddress: 172.16.50.2\nState: OK\n\nDate/Time: Sun Jul 19 17:39:53 UTC 2015\n\nAdditional Info:\n\nHTTP OK: HTTP/1.1 200 OK - 661 bytes in 0.064 second response time\n" | /bin/mail -s "** FLAPPINGSTOP Service Alert: Multifunctional/check_http is OK **" feedback@knightwise.com" resu [17:50] at teh bottom [17:50] resu ? [17:50] I no see it [17:50] I think you're hitting the max line length, you may want to pastebin instead [17:50] holdon [17:51] also, mail is /usr/bin/mail on my debian box, you might want to make sure /bin/mail is correct [17:51] Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: FLAPPINGSTOP\n\nService: check_http\nHost: Multifunctional\nAddress: 172.16.50.2\nState: OK\n\nDate/Time: Sun Jul 19 17:39:53 UTC 2015\n\nAdditional Info:\n\nHTTP OK: HTTP/1.1 200 OK - 661 bytes in 0.064 second response time\n" | /bin/mail -s "** FLAPPINGSTOP Service Alert: Multifunctional/check_http is OK **" feedback@knightwise.com" resu [17:51] Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: FLAPPINGSTOP\n\nService: check_http\nHost: Multifunctional\nAddress: 172.16.50.2\nState: OK\n\nDate/Time: Sun Jul 19 17:39:53 UTC 2015\n\nAdditional Info:\n\nHTTP OK: HTTP/1.1 200 OK - 661 bytes in 0.064 second response time\n" | /bin/mail -s "** FLAPPINGSTOP Service Alert: Multifunctional/check_http is OK **" feedback@knightwise.com" resu [17:51] sorry [17:51] http://paste.debian.net/283909/ [17:51] that is the link to the pastebin [17:54] shauno: i'm not sure /usr/bin/mail is gonna work in my case . I need to pipe it through an external smtp server .. does that work ? [17:57] it can do .. I think most use mailx for mail these days? that lets you set smtp server, auth, etc in ~/.mailrc [17:58] the alternatives system should use whatever you decide [17:58] I've looked at sendemail too , that also seems to work great. But then i'll need to change the complete "action" line in nagios [17:58] so you can install a mail server locally if you want to not use mailx [17:59] diddledan: thats just it. I think my isp blocks outgoing mailservers if its not piped through their smtp server [17:59] I think [17:59] that's a common thing [17:59] but the error i get is that "the script or binary u are trying to use exists" [17:59] but you can teach /usr/bin/mail to use a smarthost [17:59] ok , but how do i test that I actually have /usr/bin/mail ? [18:00] knightwise: so does the binary exist? [18:00] did you check if you should be using /bin/mail or /usr/bin/mail ? [18:00] your command uses the former, my system only provides the later [18:00] yep , its there [18:00] knightwise: there's two programs used in the command: printf and mail [18:00] so do both exist [18:00] correct [18:01] but i don't think i"ve run the setup wizzard to configure mail [18:01] maybe the thing runs chrooted? [18:01] no idea actually [18:02] it's just using the wrong path, but I'm talking to a wall lol [18:02] knightwise: double-check (and triple-check) those paths. [18:02] ok [18:03] exit code 127 is "command not found" so EITHER /bin/mail OR printf isnt found [18:03] it just looks like the difference between /bin and /usr/bin to me [18:04] ah ! correct [18:04] its pointing to /bin/mail instead of /usr/bin/mail [18:04] ok [18:05] once you have that set you can worry about either wrangling sendmail, or using something like ssmtp/msmtp that provide local relays to smarthosts [18:05] can I make a link that points /bin/mail to /usr/bin/mail ? [18:05] you shouldn't need to [18:05] just change nagios config [18:05] ok , looking for that now [18:06] there's two commands you need to alter: notify-host-by-email and notify-service-by-email (unless my nagios config is very different) [18:07] yep , those are in the commands.cfg .. right ? [18:07] yup [18:08] ok , i'm gonna dive into this and see what comes out [18:45] he'll be back in a week. [18:46] HOW DO I STOP THESE BLASTED NAGIOS EMAILS! [18:47] lol [18:47] ddos from the cloud? it's the only way to be sure? :-p [18:55] zmoylan-pi: use stolen credit cards to launch thousands of vms in amazon's aws and use those to ddos amazon [18:55] internal ddos ftw [18:56] "not to be taken internally" [18:56] don't you love that on some meds [18:56] most of what I've heard with that isn't stolen cards anymore. it's people accidentally committing their keys to github [18:59] diddledan: That's obviously impossible; if they ever run out of capacity they just order more hardware off themselves [18:59] diddledan: and they've probably got themselves a prime subscription so it arrives quickly [18:59] lol [19:05] and it's all running on some ancient vax in someones bedroom that they bought off ebay for a quid... :-) [19:05] not a PDP11? [19:06] nah they upgraded when they got big [19:06] (that's the only really ancient computer name I know of) [19:06] i learned to program on a pdp 11 [19:06] \o/ [19:06] our technical college still didn't have faith in these new fangled pcs... [19:07] i learned to type on a commodore pet [19:07] I think I was in diapers :-p [19:07] I cut my teeth on the family AMSTRAD PC1512DD [19:07] SD** [19:08] my home computer was a zx spectrum +2. and proud of it!! [19:08] we started-off right by getting a pukka x86 :-p [19:08] a speccie was about 1/10 the price of a pc then [19:08] aye [19:12] * brobostigon haz his new birthday toy charging, :) [19:12] brobostigon: what did you get? [19:12] cattleprod? [19:13] ooh [19:13] fun [19:13] diddledan: my gf got me the pebble steel. [19:13] (ref: bottom with rick mayal) [19:13] nice [19:14] it looks the hotness. [19:19] she offered, i accepted, :) [20:35] knightwise: how you getting on? [20:41] * brobostigon is a lucky man, he thinks. [20:47] brobostigon: well done :-p [20:47] brobostigon: not only do you have a pebble, but you even have a gf :-p [20:48] I've not actually seen what those new pebbles are like - I only recall the original model [20:49] diddledan: it is the steel version of the original model, not the new time steel, it is simply too expensive. [20:49] aah [20:50] the new basic pebble time is about £159, include var and import tax onto that. [20:50] vat* [20:54] yeah, that's the base price for most of the current-gen wearables I think [20:55] excepting the apple thingy ofc [20:56] so its simply too much, and i am happy, with this upgrade to my original pebble, it is certainly less as certain female friends of mine have put, it less elegant. [20:57] and something that looks more like a normal watch, like knightwise's moto 360. [20:58] my brother bought a neptune pine [20:58] mine's growing on me. but I have noticed it completely destroys my phone's battery life if I do anything too complicated [20:59] it's hilarious [20:59] ali1234: as in a pine-tree from neptune? [20:59] http://www.engadget.com/2014/09/07/watches-are-now-phones-crazy-times/ [21:00] err [21:00] it helps bettery life, now that they are using BT-LE, instead of straight bt. [21:02] ali1234: that looks terrible [21:02] it is [21:02] but as you say, hilarious [21:03] if you want a really small phone it's quite good [21:03] lol @ pluggin your headphones into it [21:04] I want to improve microsoft's hololens by implanting the tech into my eyes [21:04] or at the least into contact-lenses [21:05] it's interesting to consider that as a future path when you look at some 90s tv shows that had such a thing [21:05] or geordi laforge's visor and later eyes [21:06] thats already being worked on, as i understand it. [21:06] brobostigon: \o/ [21:06] I'll buy one! [21:06] :) [21:06] (or two, depending on my current eyesight at the time of purchase) [21:07] if both eyes still work it would probably be best to get one for each [21:08] an interesting tv show currently running has some interesting ideas for near-future tech - it's called continuum [21:08] I like the story too [21:08] a futurologist would be a good job, spend all day thinking about these things. [21:08] lol [21:09] futurology as a job sounds like you just state the obvious once-a-year and then go about enjoying retirement the rest of the year [21:09] good point. [21:35] http://sourceforge.net/blog/sourceforge-infrastructure-and-service-restoration/ [21:53] yes, that's fun [22:09] i would have described a.c.clarke as a futurologist. he refers to a metal band worn on the wrist for notifications in book version of 2010 [22:09] nice [22:10] I've got one of those :-p [22:10] only 5 years late [22:10] well the fossil pda watch was available years ago [22:11] and the timex smart watch in 90s [22:16] brobostigon: there's plenty of money in that if you are any good [22:17] ali1234: :) [22:17] that wasn't a joke btw [22:28] brobostigon: https://www.youtube.com/watch?v=dARCiWjASBI [22:40] ali the guy from the 50s mark sounds like mos [22:40] ali1234: ^^ [22:40] mos? [22:40] the it crowd [22:40] lol [22:41] makes it somewhat humorous to watch when you have him in your mind [22:42] i don't see it tbh [22:42] or hear it [22:42] maybe a bit :) [22:43] should get richard ayode to do a futurologist video under the guise of mos :-p [22:45] i'll pass it on :) [22:47] I tweeted Richard asking for a send-up :-p [22:49] lol you actually did as well [22:49] teehee [22:51] it's moss btw [22:52] is it [22:52] oh well [22:52] twitter: fewer characters ftw :-p [22:56] kinda suprised you don't recognise ben wood tbh, if you watch a lot of the bbc's tech news you've probably seen him more than once [22:57] prolly. my memory sucks :-D [23:03] http://www.bbc.co.uk/news/uk-england-london-33585129 [23:03] i've actually seen shoreditch - it's truly horrible [23:04] isn't "hipster" a slur? [23:04] yes, that's why it's funny [23:04] like "luckily no chavs were injured" [23:59] oddness. pc just randomly turned off