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