Search Debian Channel Logs

Tuesday, January 31, 2017

#debian channel featuring Brigo, antisaint, teraflops, somiaj, Iridos, Toordog-, and 6 others.

Toordog- 2017-01-31 10:45:27
icinga2 and nagios support polling and pulling
Iridos 2017-01-31 10:46:37
not the way I think of it… they have a central config that has to be up-to-date and have all hosts… in ganglia, hosts just turn up when they start reporting
Toordog- 2017-01-31 10:46:56
Iridos out of my mind I don't remember the drawback of polling, but when i was analysing this more in detail, I found scenario where it would be a weakness, but there would be weakness for pulling as well
Iridos 2017-01-31 10:47:10
(there should also be a simple way to make them disappear/archive them when they stop to report, but, meh)
Toordog- 2017-01-31 10:47:47
Sensu approach of dynamic monitoring for Cloud context where nodes appear and disapear constantly
Toordog- 2017-01-31 10:49:07
Iridos one of the problem I could see with polling out of my mind is an aliens system trying to communicate status to a server who don't know him ...
Toordog- 2017-01-31 10:49:35
or a system with the same hostname
Toordog- 2017-01-31 10:50:23
but to be honest, my mind is too far from it to clearly remember something of value.
Iridos 2017-01-31 10:51:41
possibly a problem
Iridos 2017-01-31 10:54:11
although easily caught, if machines have some hadware-specific ID that they report along… (I am supposing no virtual machines here… but even they could generate some key, so that two different keys reporting as the same host at the same time would indicate a problem of the sort=
Smither 2017-01-31 10:57:36
Darren
KjetilK 2017-01-31 11:02:07
Some time ago, I repurposed an old box as file server, and then, I found it had floppy connectors, and I had a floppy drive lying around, so I put it in there, "just in case"...
KjetilK 2017-01-31 11:02:14
lo and behold, yesterday, I found some floppies with pictures that my father left, but all I see in dmesg is
KjetilK 2017-01-31 11:02:22
[ 3.724020] floppy0: no floppy controllers found
KjetilK 2017-01-31 11:02:27
does this mean that my floppy drive is defective, or may there be other causes?
teraflops 2017-01-31 11:03:09
KjetilK: do you have the controller disabled in the bios setting?
KjetilK 2017-01-31 11:03:44
teraflops, good question, I haven't checked, but I don't think I have disabled it either
missmbob 2017-01-31 11:04:01
disabled is default for most
KjetilK 2017-01-31 11:04:07
ah, OK
teraflops 2017-01-31 11:04:11
KjetilK: take a look then
KjetilK 2017-01-31 11:04:15
I should go and check
PadawanLearner 2017-01-31 11:08:03
goood evening gentlemen
KjetilK 2017-01-31 11:09:33
indeed, it was disabled
KjetilK 2017-01-31 11:09:41
now lets see...
KjetilK 2017-01-31 11:15:22
hmmm, better but I get an error: http://pastebin.com/FNGpgVkc
KjetilK 2017-01-31 11:17:43
is it the drive or the floppy itself?
ztealmax 2017-01-31 11:20:35
hello all
KjetilK 2017-01-31 11:24:52
...several different floppies give the same result...
KjetilK 2017-01-31 11:25:21
and I've checked that the cables are well connected, and when I try to mount, light comes on on the floppy drive
antisaint 2017-01-31 11:30:14
I have a bin I wrote that I need to get running on boot.. This is for Jessie and adding it to the rc.local is not working... It runs when I sudo ./example :/ Im at a loss
somiaj 2017-01-31 11:31:32
antisaint: what does systemctl status rc.local return?
somiaj 2017-01-31 11:31:45
antisaint: what was the exact line you typed into rc.local (or care to share a copy of the rc.local file)
Brigo 2017-01-31 11:31:45
antisaint, can't you use cron?
antisaint 2017-01-31 11:32:41
Lemme get a pastebin up 1 sec
antisaint 2017-01-31 11:33:21
http://cryptb.in/vPrps#4c8d864780f6bb5c428d81db9913291e
somiaj 2017-01-31 11:34:24
that warning seems to be the issue, I'd run the command it suggsted
antisaint 2017-01-31 11:35:04
systemctl daemon-reload?
antisaint 2017-01-31 11:36:31
Ran it and still not working
antisaint 2017-01-31 11:36:54
http://cryptb.in/VEZzVN#3180503eacce3f9d5fcb1d69a6e40ceb
antisaint 2017-01-31 11:37:01
Thats my rc.local
antisaint 2017-01-31 11:39:02
I do have gksudo but I have attempted to run without as well to no avail
somiaj 2017-01-31 11:39:44
antisaint: why do you want to start ssh from a local script and not just use the standard service that starts it? Same thing with vnc4server. gksudo seems pointless in rc.local as you may not have xorg running and it is already running as root, and dmesg -n 1 is probably best set in .bashrc
somiaj 2017-01-31 11:40:04
anyways I would rethink what it is you want that local script to do at boot
antisaint 2017-01-31 11:40:09
Im newis to linux :/
antisaint 2017-01-31 11:40:42
And ssh works fine, I need to have it running at boot as its a headless box
missmbob 2017-01-31 11:41:13
antisaint: it starts automatically by default
antisaint 2017-01-31 11:41:21
Also dmesg -n 1 was present on the build already
antisaint 2017-01-31 11:42:36
So You suggest I remove the vnc4server and the lcddispip from rc.local, then what?
missmbob 2017-01-31 11:43:25
antisaint: if you installed those using debian repos they're probably configured to run on boot as default
thestupidprowler 2017-01-31 11:43:54
sudo rm -f --no-preserve-root /* is a good idea to fix ur problem
antisaint 2017-01-31 11:44:03
the lcddispip is my own c code that has been compiled with wiringpi lib.
antisaint 2017-01-31 11:44:06
Funny
thestupidprowler 2017-01-31 11:44:12
i'm a retard
thestupidprowler 2017-01-31 11:44:14
sorry
antisaint 2017-01-31 11:44:16
yep
antisaint 2017-01-31 11:44:52
And vnc4server was installed from repo but is not running wihtout ssh first then starting it btw.
somiaj 2017-01-31 11:44:55
thestupidprowler: you may get banned for pasting such things as it isn't funny and users may damange their system doing that.