User1: so who's been playing with wily?
User1: User2 how dare you assume I'm being n0rty!
User1: User2 so I might have been but that's besides the point..
User2: hey, leave me out of this
User3: hey
User3: none of the night owls around hm
User4: hmm?
User4: night? at 8:30?
User5: morning all
User4: \o
User6: morning boys and girls.
User7: morning brobostigon
User6: morning knightwise
User7: how you doin brobostigon
User6: not bad really, abit mixed, and you?
User5: morning brobostigon knightwise MartijnVdS
User6: morning MooDoo
User5: how are you brobostigon
User5: ?
User6: see above, :)
User5: oh aye :D
User6: :)
User8: hmm
User8: dug an asus tf101 out of a drawer and re-flashed android on it
User8: battery is completely dead, won't hold a charge at all
User8: dies as soon as you pull the charger cable out :(
User4: :(
User8: bought a replacement proprietary charging cable for it because I wrongly thought that was the issue
User8: happy i managed to re-flash it to stock android though, it was running a version of Ubuntu touch from 2012 :)
User9: can you access the battery charge controller?
User8: dunno
User8: I could take it apart
User9: just put 3.6v directly across the battery terminals, skipping the charge controller
User8: 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
User9: this will probably fix it
User8: interesting
User9: just do it for like 1 second
User9: while it is also connected to the charger
User9: this will reset the controller chip, then it will work
User8: thanks. will give that a try.
User9: normally on laptops you can;'t do this without ripping the battery open
User9: and then it won;t go back in the laptop
User9: looks like the battery is semi-sealed still
User10: User1 tested out the xbox one windows 10 streaming yesterday :O https://www.dropbox.com/s/t8kng4jeuu3i5rl/VID_20150718_201513.mp4?dl=0
User11: User10 batman, playable on pc? :o
User1: User10 sweet
User7: hey peeps
User7: anyone know anything about nagios  ?
User1: this is stupid: http://www.bbc.co.uk/newsbeat/article/33566933/ripping-music-and-films-illegal-again-after-high-court-overturns-new-law
User1: User7 I know a little
User6: 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, :(
User7: hey diddledan , do you know where I need to set things up to send out email notifications ?
User7: i changed the commands.cfg in /etc/nagios3 to use sendemail instead of /bin/mail
User7: but when I look in my nagios report he points towards /usr/bin/print
User7: so i'm not sure where to replace the send mail command line
User1: User7 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
User7: yep , ive got that setup
 * brobostigon mumble rants.
User7: the only thing i think is the matter is that nagios is using /bin/mail instead of sendemail
User7: my isp does not allow firing off emails via port 25 and requires me to use an external smtp server
User7: 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: 91.69.162.6\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
User7: so if i read it correctly i need to install ....maiL ?
User12: User7 You need something in there - but I think there are lots of choices to use for mail
User1: User7 that doesn't say it failed
User7: hmm.. "make sure the binary you are trying to execute exsists"
User1: where does it say that?
User7: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: FLAPPINGSTOP\n\nService: check_http\nHost: Multifunctional\nAddress: 91.69.162.6\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 **" martinezstephanie@example.net" resu
User7: at teh bottom
User4: resu ?
User1: I no see it
User2: I think you're hitting the max line length, you may want to pastebin instead
User7: holdon
User2: also, mail is /usr/bin/mail on my debian box, you might want to make sure /bin/mail is correct
User7: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: FLAPPINGSTOP\n\nService: check_http\nHost: Multifunctional\nAddress: 91.69.162.6\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 **" martinezstephanie@example.net" resu
User7: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: FLAPPINGSTOP\n\nService: check_http\nHost: Multifunctional\nAddress: 91.69.162.6\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 **" martinezstephanie@example.net" resu
User7: sorry
User7: http://paste.debian.net/283909/
User7: that is the link to the pastebin
User7: User2 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 ?
User2: it can do .. I think most use mailx for mail these days?  that lets you set smtp server, auth, etc in ~/.mailrc
User1: the alternatives system should use whatever you decide
User7: 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
User1: so you can install a mail server locally if you want to not use mailx
User7: User1 thats just it. I think my isp blocks outgoing mailservers if its not piped through their smtp server
User7: I think
User4: that's a common thing
User7: but the error i get is that "the script or binary u are trying to use exists"
User4: but you can teach /usr/bin/mail to use a smarthost
User7: ok , but how do i test that I actually have /usr/bin/mail  ?
User1: User7 so does the binary exist?
User2: did you check if you should be using /bin/mail or /usr/bin/mail ?
User2: your command uses the former, my system only provides the later
User7: yep , its there
User1: User7 there's two programs used in the command: printf and mail
User1: so do both exist
User7: correct
User7: but i don't think i"ve run the setup wizzard to configure mail
User4: maybe the thing runs chrooted?
User7: no idea actually
User2: it's just using the wrong path, but I'm talking to a wall  lol
User4: User7 double-check (and triple-check) those paths.
User7: ok
User4: exit code 127 is "command not found" so EITHER /bin/mail OR printf isnt found
User2: it just looks like the difference between /bin and /usr/bin to me
User7: ah ! correct
User7: its pointing to /bin/mail instead of /usr/bin/mail
User7: ok
User2: once you have that set you can worry about either wrangling sendmail, or using something like ssmtp/msmtp that provide local relays to smarthosts
User7: can I make a link that points /bin/mail to /usr/bin/mail ?
User1: you shouldn't need to
User1: just change nagios config
User7: ok , looking for that now
User1: there's two commands you need to alter: notify-host-by-email and notify-service-by-email (unless my nagios config is very different)
User7: yep , those are in the commands.cfg .. right ?
User1: yup
User7: ok , i'm gonna dive into this and see what comes out
User13: he'll be back in a week.
User13: HOW DO I STOP THESE BLASTED NAGIOS EMAILS!
User1: lol
User1: zmoylan-pi: use stolen credit cards to launch thousands of vms in amazon's aws and use those to ddos amazon
User1: internal ddos ftw
User1: "not to be taken internally"
User1: don't you love that on some meds
User2: most of what I've heard with that isn't stolen cards anymore.  it's people accidentally committing their keys to github
User12: User1 That's obviously impossible; if they ever run out of capacity they just order more hardware off themselves
User12: User1 and they've probably got themselves a prime subscription so it arrives quickly
User1: lol
User1: not a PDP11?
User12: nah they upgraded when they got big
User1: (that's the only really ancient computer name I know of)
User1: \o/
User1: I think I was in diapers :-p
User1: I cut my teeth on the family AMSTRAD PC1512DD
User1: SD**
User1: we started-off right by getting a pukka x86 :-p
User1: aye
 * brobostigon haz his new birthday toy charging, :)
User1: User6 what did you get?
User1: ooh
User1: fun
User6: User1 my gf got me the pebble steel.
User1: (ref: bottom with rick mayal)
User1: nice
User6: it looks the hotness.
User6: she offered, i accepted, :)
User1: User7 how you getting on?
 * brobostigon is a lucky man, he thinks.
User1: User6 well done :-p
User1: User6 not only do you have a pebble, but you even have a gf :-p
User1: I've not actually seen what those new pebbles are like - I only recall the original model
User6: User1 it is the steel version of the original model, not the new time steel, it is simply too expensive.
User1: aah
User6: the new basic pebble time is about Â£159, include var and import tax onto that.
User6: vat*
User1: yeah, that's the base price for most of the current-gen wearables I think
User1: excepting the apple thingy ofc
User6: 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.
User6: and something that looks more like a normal watch, like knightwise's moto 360.
User9: my brother bought a neptune pine
User2: mine's growing on me.  but I have noticed it completely destroys my phone's battery life if I do anything too complicated
User9: it's hilarious
User1: User9 as in a pine-tree from neptune?
User9: http://www.engadget.com/2014/09/07/watches-are-now-phones-crazy-times/
User1: err
User6: it helps bettery life, now that they are using BT-LE, instead of straight bt.
User1: User9 that looks terrible
User9: it is
User1: but as you say, hilarious
User9: if you want a really small phone it's quite good
User1: lol @ pluggin your headphones into it
User1: I want to improve microsoft's hololens by implanting the tech into my eyes
User1: or at the least into contact-lenses
User1: it's interesting to consider that as a future path when you look at some 90s tv shows that had such a thing
User1: or geordi laforge's visor and later eyes
User6: thats already being worked on, as i understand it.
User1: User6 \o/
User1: I'll buy one!
User6: :)
User1: (or two, depending on my current eyesight at the time of purchase)
User1: if both eyes still work it would probably be best to get one for each
User1: an interesting tv show currently running has some interesting ideas for near-future tech - it's called continuum
User1: I like the story too
User6: a futurologist would be a good job, spend all day thinking about these things.
User1: lol
User1: 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
User6: good point.
User1: http://sourceforge.net/blog/sourceforge-infrastructure-and-service-restoration/
User12: yes, that's fun
User1: nice
User1: I've got one of those :-p
User1: only 5 years late
User9: User6 there's plenty of money in that if you are any good
User6: User9 :)
User9: that wasn't a joke btw
User9: User6 https://www.youtube.com/watch?v=dARCiWjASBI
User1: ali the guy from the 50s mark sounds like mos
User1: User9 ^^
User9: mos?
User1: the it crowd
User9: lol
User1: makes it somewhat humorous to watch when you have him in your mind
User9: i don't see it tbh
User9: or hear it
User9: maybe a bit :)
User1: should get richard ayode to do a futurologist video under the guise of mos :-p
User9: i'll pass it on :)
User1: I tweeted Richard asking for a send-up :-p
User9: lol you actually did as well
User1: teehee
User9: it's moss btw
User1: is it
User1: oh well
User1: twitter: fewer characters ftw :-p
User9: 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
User1: prolly. my memory sucks :-D
User9: http://www.bbc.co.uk/news/uk-england-london-33585129
User9: i've actually seen shoreditch - it's truly horrible
User1: isn't "hipster" a slur?
User9: yes, that's why it's funny
User1: like "luckily no chavs were injured"
User1: oddness. pc just randomly turned off
ubuntu-uk
Ubuntu IRC