/srv/irclogs.ubuntu.com/2015/07/19/#ubuntu-uk.txt

diddledanso who's been playing with wily?00:06
diddledanshauno: how dare you assume I'm being n0rty!00:07
diddledanshauno: so I might have been but that's besides the point..00:07
shaunohey, leave me out of this00:07
mapitohey05:10
mapitonone of the night owls around hm06:04
MartijnVdShmm?06:31
MartijnVdSnight? at 8:30?06:32
MooDoomorning all07:31
MartijnVdS\o07:42
=== zmoylan-1i is now known as zmoylan-pi
brobostigonmorning boys and girls.09:15
knightwisemorning brobostigon09:53
brobostigonmorning knightwise09:55
knightwisehow you doin brobostigon10:14
brobostigonnot bad really, abit mixed, and you?10:14
MooDoomorning brobostigon knightwise MartijnVdS10:15
brobostigonmorning MooDoo10:16
MooDoohow are you brobostigon10:33
MooDoo?10:33
brobostigonsee above, :)10:38
MooDoooh aye :D10:39
brobostigon:)10:39
popeyhmm10:40
popeydug an asus tf101 out of a drawer and re-flashed android on it10:41
popeybattery is completely dead, won't hold a charge at all10:41
popeydies as soon as you pull the charger cable out :(10:41
MartijnVdS:(10:43
popeybought a replacement proprietary charging cable for it because I wrongly thought that was the issue10:44
popeyhappy i managed to re-flash it to stock android though, it was running a version of Ubuntu touch from 2012 :)10:44
ali1234can you access the battery charge controller?10:44
popeydunno10:45
popeyI could take it apart10:45
ali1234just put 3.6v directly across the battery terminals, skipping the charge controller10:45
popeyyou can buy replacement batteries on ebay, and there seem to be a lot of guides to replacing it, as it's a common problem10:45
ali1234this will probably fix it10:45
popeyinteresting10:45
ali1234just do it for like 1 second10:45
ali1234while it is also connected to the charger10:45
ali1234this will reset the controller chip, then it will work10:45
popeythanks. will give that a try.10:46
ali1234normally on laptops you can;'t do this without ripping the battery open10:46
ali1234and then it won;t go back in the laptop10:46
ali1234looks like the battery is semi-sealed still10:47
daftykinsdiddledan: tested out the xbox one windows 10 streaming yesterday :O https://www.dropbox.com/s/t8kng4jeuu3i5rl/VID_20150718_201513.mp4?dl=014:26
directhexdaftykins: batman, playable on pc? :o17:05
diddledandaftykins: sweet17:32
knightwisehey peeps17:35
knightwiseanyone know anything about nagios  ?17:36
diddledanthis is stupid: http://www.bbc.co.uk/newsbeat/article/33566933/ripping-music-and-films-illegal-again-after-high-court-overturns-new-law17:36
diddledanknightwise: I know a little17:37
brobostigonthis 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
knightwisehey diddledan , do you know where I need to set things up to send out email notifications ?17:38
knightwisei changed the commands.cfg in /etc/nagios3 to use sendemail instead of /bin/mail17:39
knightwisebut when I look in my nagios report he points towards /usr/bin/print17:39
knightwiseso i'm not sure where to replace the send mail command line17:40
diddledanknightwise: 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 thingy17:40
knightwiseyep , ive got that setup17:42
* brobostigon mumble rants.17:42
knightwisethe only thing i think is the matter is that nagios is using /bin/mail instead of sendemail17:42
knightwisemy isp does not allow firing off emails via port 25 and requires me to use an external smtp server17:42
knightwise 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
knightwiseso if i read it correctly i need to install ....maiL ?17:45
penguin42knightwise: You need something in there - but I think there are lots of choices to use for mail17:45
diddledanknightwise: that doesn't say it failed17:47
knightwisehmm.. "make sure the binary you are trying to execute exsists"17:48
diddledanwhere does it say that?17:48
knightwiseAttempting 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" resu17:49
knightwiseat teh bottom17:50
MartijnVdSresu ?17:50
diddledanI no see it17:50
shaunoI think you're hitting the max line length, you may want to pastebin instead17:50
knightwiseholdon17:50
shaunoalso, mail is /usr/bin/mail on my debian box, you might want to make sure /bin/mail is correct17:51
knightwiseAttempting 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" resu17:51
knightwiseAttempting 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" resu17:51
knightwisesorry17:51
knightwisehttp://paste.debian.net/283909/17:51
knightwisethat is the link to the pastebin17:51
knightwiseshauno: 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:54
shaunoit can do .. I think most use mailx for mail these days?  that lets you set smtp server, auth, etc in ~/.mailrc17:57
diddledanthe alternatives system should use whatever you decide17:58
knightwiseI've looked at sendemail too , that also seems to work great. But then i'll need to change the complete "action" line in nagios17:58
diddledanso you can install a mail server locally if you want to not use mailx17:58
knightwisediddledan: thats just it. I think my isp blocks outgoing mailservers if its not piped through their smtp server17:59
knightwiseI think17:59
MartijnVdSthat's a common thing17:59
knightwisebut the error i get is that "the script or binary u are trying to use exists"17:59
MartijnVdSbut you can teach /usr/bin/mail to use a smarthost17:59
knightwiseok , but how do i test that I actually have /usr/bin/mail  ?17:59
diddledanknightwise: so does the binary exist?18:00
shaunodid you check if you should be using /bin/mail or /usr/bin/mail ?18:00
shaunoyour command uses the former, my system only provides the later18:00
knightwiseyep , its there18:00
diddledanknightwise: there's two programs used in the command: printf and mail18:00
diddledanso do both exist18:00
knightwisecorrect18:00
knightwisebut i don't think i"ve run the setup wizzard to configure mail18:01
MartijnVdSmaybe the thing runs chrooted?18:01
knightwiseno idea actually18:01
shaunoit's just using the wrong path, but I'm talking to a wall  lol18:02
MartijnVdSknightwise: double-check (and triple-check) those paths.18:02
knightwiseok18:02
MartijnVdSexit code 127 is "command not found" so EITHER /bin/mail OR printf isnt found18:03
shaunoit just looks like the difference between /bin and /usr/bin to me18:03
knightwiseah ! correct18:04
knightwiseits pointing to /bin/mail instead of /usr/bin/mail18:04
knightwiseok18:04
shaunoonce you have that set you can worry about either wrangling sendmail, or using something like ssmtp/msmtp that provide local relays to smarthosts18:05
knightwisecan I make a link that points /bin/mail to /usr/bin/mail ?18:05
diddledanyou shouldn't need to18:05
diddledanjust change nagios config18:05
knightwiseok , looking for that now18:05
diddledanthere's two commands you need to alter: notify-host-by-email and notify-service-by-email (unless my nagios config is very different)18:06
knightwiseyep , those are in the commands.cfg .. right ?18:07
diddledanyup18:07
knightwiseok , i'm gonna dive into this and see what comes out18:08
foobarryhe'll be back in a week.18:45
foobarryHOW DO I STOP THESE BLASTED NAGIOS EMAILS!18:46
diddledanlol18:47
zmoylan-piddos from the cloud? it's the only way to be sure? :-p18:47
diddledanzmoylan-pi: use stolen credit cards to launch thousands of vms in amazon's aws and use those to ddos amazon18:55
diddledaninternal ddos ftw18:55
diddledan"not to be taken internally"18:56
diddledandon't you love that on some meds18:56
shaunomost of what I've heard with that isn't stolen cards anymore.  it's people accidentally committing their keys to github18:56
penguin42diddledan: That's obviously impossible; if they ever run out of capacity they just order more hardware off themselves18:59
penguin42diddledan: and they've probably got themselves a prime subscription so it arrives quickly18:59
diddledanlol18:59
zmoylan-piand it's all running on some ancient vax in someones bedroom that they bought off ebay for a quid... :-)19:05
diddledannot a PDP11?19:05
penguin42nah they upgraded when they got big19:06
diddledan(that's the only really ancient computer name I know of)19:06
zmoylan-pii learned to program on a pdp 1119:06
diddledan\o/19:06
zmoylan-piour technical college still didn't have faith in these new fangled pcs...19:06
zmoylan-pii learned to type on a commodore pet19:07
diddledanI think I was in diapers :-p19:07
diddledanI cut my teeth on the family AMSTRAD PC1512DD19:07
diddledanSD**19:07
zmoylan-pimy home computer was a zx spectrum +2.  and proud of it!!19:08
diddledanwe started-off right by getting a pukka x86 :-p19:08
zmoylan-pia speccie was about 1/10 the price of a pc then19:08
diddledanaye19:08
* brobostigon haz his new birthday toy charging, :)19:12
diddledanbrobostigon: what did you get?19:12
zmoylan-picattleprod?19:12
diddledanooh19:13
diddledanfun19:13
brobostigondiddledan: my gf got me the pebble steel.19:13
diddledan(ref: bottom with rick mayal)19:13
diddledannice19:13
brobostigonit looks the hotness.19:14
brobostigonshe offered, i accepted, :)19:19
diddledanknightwise: how you getting on?20:35
* brobostigon is a lucky man, he thinks.20:41
diddledanbrobostigon: well done :-p20:47
diddledanbrobostigon: not only do you have a pebble, but you even have a gf :-p20:47
diddledanI've not actually seen what those new pebbles are like - I only recall the original model20:48
brobostigondiddledan: it is the steel version of the original model, not the new time steel, it is simply too expensive.20:49
diddledanaah20:49
brobostigonthe new basic pebble time is about £159, include var and import tax onto that.20:50
brobostigonvat*20:50
diddledanyeah, that's the base price for most of the current-gen wearables I think20:54
diddledanexcepting the apple thingy ofc20:55
brobostigonso 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:56
brobostigonand something that looks more like a normal watch, like knightwise's moto 360.20:57
ali1234my brother bought a neptune pine20:58
shaunomine's growing on me.  but I have noticed it completely destroys my phone's battery life if I do anything too complicated20:58
ali1234it's hilarious20:59
diddledanali1234: as in a pine-tree from neptune?20:59
ali1234http://www.engadget.com/2014/09/07/watches-are-now-phones-crazy-times/20:59
diddledanerr21:00
brobostigonit helps bettery life, now that they are using BT-LE, instead of straight bt.21:00
diddledanali1234: that looks terrible21:02
ali1234it is21:02
diddledanbut as you say, hilarious21:02
ali1234if you want a really small phone it's quite good21:03
diddledanlol @ pluggin your headphones into it21:03
diddledanI want to improve microsoft's hololens by implanting the tech into my eyes21:04
diddledanor at the least into contact-lenses21:04
diddledanit's interesting to consider that as a future path when you look at some 90s tv shows that had such a thing21:05
diddledanor geordi laforge's visor and later eyes21:05
brobostigon thats already being worked on, as i understand it.21:06
diddledanbrobostigon: \o/21:06
diddledanI'll buy one!21:06
brobostigon:)21:06
diddledan(or two, depending on my current eyesight at the time of purchase)21:06
diddledanif both eyes still work it would probably be best to get one for each21:07
diddledanan interesting tv show currently running has some interesting ideas for near-future tech - it's called continuum21:08
diddledanI like the story too21:08
brobostigona futurologist would be a good job, spend all day thinking about these things.21:08
diddledanlol21:08
diddledanfuturology as a job sounds like you just state the obvious once-a-year and then go about enjoying retirement the rest of the year21:09
brobostigongood point.21:09
diddledanhttp://sourceforge.net/blog/sourceforge-infrastructure-and-service-restoration/21:35
penguin42yes, that's fun21:53
zmoylan-pii 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 201022:09
diddledannice22:09
diddledanI've got one of those :-p22:10
diddledanonly 5 years late22:10
zmoylan-piwell the fossil pda watch was available years ago22:10
zmoylan-piand the timex smart watch in 90s22:11
ali1234brobostigon: there's plenty of money in that if you are any good22:16
brobostigonali1234: :)22:17
ali1234that wasn't a joke btw22:17
ali1234brobostigon: https://www.youtube.com/watch?v=dARCiWjASBI22:28
diddledanali the guy from the 50s mark sounds like mos22:40
diddledanali1234: ^^22:40
ali1234mos?22:40
diddledanthe it crowd22:40
ali1234lol22:40
diddledanmakes it somewhat humorous to watch when you have him in your mind22:41
ali1234i don't see it tbh22:42
ali1234or hear it22:42
ali1234maybe a bit :)22:42
diddledanshould get richard ayode to do a futurologist video under the guise of mos :-p22:43
ali1234i'll pass it on :)22:45
diddledanI tweeted Richard asking for a send-up :-p22:47
ali1234lol you actually did as well22:49
diddledanteehee22:49
ali1234it's moss btw22:51
diddledanis it22:52
diddledanoh well22:52
diddledantwitter: fewer characters ftw :-p22:52
ali1234kinda 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 once22:56
diddledanprolly. my memory sucks :-D22:57
ali1234http://www.bbc.co.uk/news/uk-england-london-3358512923:03
ali1234i've actually seen shoreditch - it's truly horrible23:03
diddledanisn't "hipster" a slur?23:04
ali1234yes, that's why it's funny23:04
diddledanlike "luckily no chavs were injured"23:04
diddledanoddness. pc just randomly turned off23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!