« first day (1115 days earlier)      last day (3866 days later) » 

12:17 AM
@MichaelHampton Please update us when Google implements that functionality. Often times, on Windows platforms, an HRESULT is returned as exit status which, when cast to int, overflows and presents it self as a negative number.
 
12:30 AM
@jscott Click the star and you'll be notified of any new answers. :)
 
Jessica S' reply from December 2012 was heartening, until I noticed the "This topic is no longer open for new replies due to inactivity. If you'd like to post a message, please search for a more recent topic above or post a new question." banner.
 
Sounds like you want to become a sysadmin in a hurry. This isn't as close to picking up a new language as it is to starting over at Hello World. At this point this is really both a request for a product recommendation and overly broad. Consider TomTom's answer, and also consider hiring a sysadmin. — Michael Hampton 35 mins ago
@jscott Yeah, I also saw that. Fucking stupid forums.
 
That might be the first time I've read the words "Consider TomTom's answer".
 
@jscott Sane people convert to hex first
 
12:48 AM
@FalconMomot Certainly, if executing said applications from the command line (or as a service) provided this option. :)
 
if you have to, you type the number into a calculator program and convert it.
 
@MichaelHampton This is stupid, no?
 
there is no excuse at all for copying out the number cast to int and trying to google that.
 
@ewwhite Kind of. If he really needs 10Gbps, he'll already have data to work with, such as large numbers of users requesting large files...
 
@MichaelHampton I don't understand what he's trying to prove. I'd recommend a test file and wget, but yeah, it's a little off.
almost, "I want to prove that the connection is really 10Gbps"
 
12:50 AM
@ewwhite You'd need a humongous test file and a very short network path.
And to seriously jack up the TCP window size.
 
Yeah, that was something I had to learn on my own...
I'd have these 1Gb and 10Gb lines between Chicago and NY... and users wanting to scp things across them...
 
@ewwhite And of course they ran sloooooooow.
 
"why are we getting 1MB/sec transfer speeds?!?"
 
Bandwidth-Delay Product.
 
same thing at work now... we're 10GbE between locations... and people are trying to copy virtual machines from NY to SF...
using scp...
 
12:55 AM
Set the window size to a few megabytes?
 
Oh, I know... just happened to observe it in action.
 
That reminds me, I need to puppetize that.
 
good thing to puppetize.
I want to puppetize the calculation of load threshold for the Monit config files I distribute to systems.
 
@FalconMomot The problem being countless others have already copy/pasted the error message/code, verbatim, into their forum of choice.
 
e.g. a server with 2 CPUs should have a different threshold than one with 16 CPUs.
 
12:58 AM
@jscott In my experience, if you see it in decimal, you're not going to see a useful reply very often :P
because in the MSDN where they are described, they are cast to 16 bit unsigned shorts, and written in hex as well as decimal
 
And sometimes, the number truly is, against all expectations, a negative number.
 
when I was supporting some software a while ago, I really had two tricks that made me useful on the team...
source review, and translating / looking up windows error codes.
turned some very bad days into "hmm, you fell off this case block - let me beat the dev with a bat and get a patch for you" and "oh, that one means your disk is full"
 
@MichaelHampton You may be one of the only other SFers I know which run Zenoss.
 
@jscott Actually I scrapped it and went to Zabbix.
 
No OpenNMS love.
 
1:01 AM
@ewwhite I like simple things.
 
it's really amazing how few flags there are on this site
 
@MichaelHampton Is Zabbix much better? We have Zenoss as the former Network Admin (now Director) liked Zenoss. I've half-assed a ZenPack or two, but I find it very fragile and quite a bit to manage.
 
@jscott As I just mentioned, I like simple things. My main problem with Zenoss was indeed the ZenPacks. The ones I could find were often old and unmaintained and didn't work with 4.x at all, and I couldn't go to 3.x for various reasons. (Like IPv6.) It also seemed like the community around Zenoss had kind of dried up and shriveled away.
 
What is the monitoring solution with the most momentum these days?
or is everyone rolling their own?
 
@ewwhite Nagios, of course. Then again it's had over a decade of momentum...
Hell, half the monitoring solutions out there are forks of Nagios or frontends to Nagios.
 
1:04 AM
Oh wow, Nagios, I keep reviewing other options every time I try to scope getting Nagios off the ground.
 
I've only had Nagios in one environment... and maybe for ~30 hosts.
 
@MarkHenderson also uses Zabbix, I think.
 
it crashed a trading environment hard and I swore off of it.
 
I got sick of looking at Perl.
 
@MichaelHampton I do
We use Zabbix quite extensively, although I only use 2-3 features of it extensively
 
1:11 AM
@MarkHenderson Agentless, right?
 
@ewwhite Actually I prefer agent-bsed
But yes it can do agentless
Depending on what you want to monitor
 
Zabbix does speak SNMP but I find it much nicer to pull custom data with the agent
 
@MichaelHampton It speaks IPMI too, but early versions could not read discreet data; although that's been fixed in later versions
 
@MarkHenderson I have a 2.0 server and a mix of 2.0 and 1.8 agents
 
So I monitor mundane things like PSU wattage consumption via the IPMI
@MichaelHampton Same, I haven't had any issues with using the 1.8 agents on v2
 
1:14 AM
Well, I think the diminishing discussion about monitoring systems is because people seem to care about application availability rather than discrete host information.
 
@MarkHenderson I have one issue, I can't get load average out of the 1.8 agents. It apparently was implemented in 2.0
@ewwhite That's where having an agent that can query the application and get detailed metrics comes in really handy.
 
@ewwhite I care about both; depending on what service you are monitoring you can do plenty of agentless things.
I've written scripts to monitor the status of DFS namespaces, along with which DFS node certain servers are using (as sometimes they switch to a node that's on the other end of a VPN)
 
Hell, I have 14 different graphs just for memcached.
 
interesting
 
This is the sort of stuff I couldn't figure out how to do with OpenNMS.
 
1:27 AM
All this talk, you guys will have me testing Zabbix tomorrow morning.
 
@jscott I was really really skeptical of it; I first adpoted it 4 years ago against all the advice that I use Nagios
I tried Nagios and rage quitted it after about 3 days of getting nowhere
 
@MarkHenderson Hell, I ragequit Nagios after less than a day! Every time!
 
Within 8 hours of installing Zabbix I had every critical point monitored
@MichaelHampton I gave it a good chance because that's what everyone uses, and if everyone else uses it, maybe I'm just really really dumb
 
@MarkHenderson Yeah, everyone uses it, so there must be something there, right? Turns out it's just that it was the first of its kind and has been around forever.
 
@MarkHenderson I could say the same with Zenoss, but that doesn't mean I want to stick with it.
 
1:30 AM
I'm sure once Nagios is bootstrapped and running it's great. It's just getting there...
@jscott Haha well the only times I've wanted to ragequit Zabbix is with SNMP traps
 
@jscott I actually stuck with Zenoss for a while. But the amount of work I had to put into it was TOO DAMN HIGH
 
Am I wrong? Is there not a auto-discover (in Zenoss term "modeling") mode of Nagios?
 
@jscott I think it's only in the paid version.
 
@MichaelHampton Amen brother, I've learned too much of Python because of Zenoss, I want out.
 
I also tried THAT (Nagios XI). Ragequit that too
 
1:32 AM
So, you've all sold me. Fire up a Zabbix VM in the morning. I do appreciate the input.
 
How about awk?
@jscott I think you'll be surprised. You can pretty much write anything you want. For instance here's an agent config for MySQL.
# For all the following commands HOME should be set to the directory that has .my.cnf file with password information.

# Flexible parameter to grab global variables. On the frontend side, use keys like mysql.status[Com_insert].
# Key syntax is mysql.status[variable].
UserParameter=mysql.status[*],echo "show global status where Variable_name='$1';" | HOME=/var/lib/zabbix mysql -N | awk '{print $$2}'

# Flexible parameter to determine database or table size. On the frontend side, use keys like mysql.size[zabbix,history,data].
 
Three lines to config it? That seems sane-ish.
 
@jscott To do custom checks, it's sometimes as simple as UserParameter=dfs.root,dfsutil diag viewdfspath \\enets.local\files|find /I "resolves to"
 
On the server side you stuff all the stuff you're interested in into a template (or better yet, use someone else's!)
 
That returns to Zabbix the DFS root that a server is using
Checking if Windows is activated? UserParameter=windows.activated,cscript %WINDIR%\system32\slmgr.vbs -xpr|find /c "activ"
 
1:38 AM
Cool. This should be a fun Monday.
 
@jscott The really nice thing is, if there's something you want to monitor, someone's probably already written everything you need, and you just drop it in.
 
@MichaelHampton Yeah, Boss told me that same thing about Zenoss. :)
 
@jscott Yeah, and Nagios supposedly holds the same promise. Only here, it's true :)
I've probably changed three lines in agent configs, and maybe added a couple of my own triggers for things I want my phone to blow up about.
 
^ Really, really easy to get perfmon items into Zabbix too
 
Sup bros?
 
1:46 AM
@MDMarra It's the Zabbix Hour!
 
Yuck.
I guess it's better than Nagios
 
@MDMarra What isn't better than Nagios?
 
Icinga
 
Icinga is just a damn fork of Nagios.
 
That only works sometimes
 
1:47 AM
Right.
 
@MarkHenderson Bookmarked, thanks.
 
2:22 AM
(will it crash and burn?)
 
@ewwhite The web site, or Obamacare?
 
I just realized that the backend for this was in a bad vmware situation
spent the past 90 minutes fixing it up
the website...
needs moar RAM...
so people worked over the weekend to add moar RAM...
 
@ewwhite Geezus, I bet they're glad that VMWare did away with their memory licensing model :P
 
but didn't remove the hard cluster limits... so physical RAM was doubled, but ESX cluster still had 30GB swapped out and 121GB ballooned.
I think most people don't run into this because... well, it just doesn't seem to happen to other people.
anywho, all fixed.
this particular client just asked for an additional 3TB of RAM today.
ah, good...
so simple
 
2:40 AM
I'm pretty sure that question has been asked before, but I can't seem to find it.
 
What's an additional 3TB RAM go for these days?
 
@jscott It's complex... the cluster was initially spec'd with 576GB RAM...
for the client's requirements to be a total of 4 TB now, I would have used a different class of server to accommodate that.
but I don't think they need that much RAM. There's an education problem and a engineering/sales mismatch there.
 
Worth the first minute...
 
2:57 AM
Noooooo
Where is the HD pack of Breaking Bad?!
?!
C'mon internets, don't let me down now!
Got it; fucking link was broken
 
3:22 AM
Any suggestions for a cheap low-power server I can run offsite backups to? the rest of our sites are backed up to head office, and so is head office...
and I want a solution before the HR manager gets my boss fired
 
@Andrew An all-in-one NAS like a QNAP
TS-412 or something
 
can I power it down when I'm not using it? monitor it?
 
@Andrew Monitoring it is fine, it supports all "standard" releavant SNMP OIDs
Power it down though; well sure. I think it has WOL but does not have a BMC
Seems a bit odd to power it down though; just sounds like something else to go wrong in a backup procedure
 
yeah, we're pretty much at power budget
actually, we've just started going over in the last week... hrm
 
@Andrew Then the solution is to get more power
 
3:26 AM
last 2 days
oh it's there, we just have to pay for it
ho hum, iLO here we come
and see if vSphere is logging this
damn we are cheap, and nobody cares that it continues to cost us in the long run
 
3:50 AM
@Andrew: how cheap?
I'm probably gonna get booed for this but raspberry pi + powered USB hub + external hard drives.
not particularly fast, but low power
 
@JourneymanGeek if it runs linux, sure
very enterprisey, $9000 SAN and an rpi
 
@Andrew "Enterprisey" used to mean "Over-engineered"; it seems to have morphed into synonymous with "suckage"
 
4:08 AM
Wrong principal in request, my ass!
 
@MarkHenderson this is the consequence of underengineering and pushing crap into production before it is ready in the name of business needs I guess.
 
@FalconMomot Hey you know what? That's pretty much my job description!
 
aah, to remove value.
 
"Is it ready for production" "Not really; needs more testing" "How much?" "DUnno, maybe a week?" "No. Push it out tomorrow"
 
yeah, so you can spend 2 weeks putting out fires instead.
 
4:21 AM
@FalconMomot Don't even get me started
 
I am really happy to be in a position where if I say "you'll be sorry" and they ignore me, it incurs legal liability.
 
I swear I'm going to take this Kerberos realm apart piece by piece and stuff it down somebody's throat sideways.
 
@techno - it sounds to me like you fucked up your 301 redirect then, and the infinite loop of your redirect is the actual problem. Fix that instead. — Mark Henderson 6 secs ago
Fucking people, now I remember why I stopped answering questions
 
I just got tired of the endless stream of "Spoon feed me NOW!!!!"
 
4:36 AM
@ChrisS Yeah
 
And SF is borked for me....
I'm going to bed.
 
Thats exactly what just happened. "ORITE how do I do a 301?!"
 
4:53 AM
Oh, people.
You should have posted the complete output. This question and answer make absolutely no sense together. — Michael Hampton 55 secs ago
 
FFS. That's just sad. How the hell do these people get jobs?
 
@Magellan I know, right. Also massive congratulations on your baby news
 
@MarkHenderson thank you. Very excited and slightly terrified.
 
@Magellan I remember how hard it was for me to get into this field, and it really pains me to see that I had trouble and yet those people managed.
 
@Magellan They get jobs by BSing the hiring managers?
 
5:01 AM
@MichaelHampton Apparently.
 
probably. I've never passed an interview wherein it looked like the hiring manager was BSable.
 
@Magellan Are these two going to be your first?
 
Twins? neat.
 
@MarkHenderson They'll be her first. I have an 8 and a 12 year old.
 
you should name them domain and range.
 
5:03 AM
Sep 30 00:51:17 underground rpc.svcgssd[3479]: ERROR: GSS-API: error in handle_nullreq: gss_accept_sec_context(): GSS_S_FAILURE (Unspecified GSS failure.  Minor code may provide more information) - Wrong principal in request
 
@Magellan If I had my time again I would have done twins straight up. Massive pain in the first few years, but they won't be alone, will bug you less when they're older and most importantly, I could have got a vasectomy astraight away and not had to reset the clock 3 years later
 
All right, I've been at this too long.
 
@MichaelHampton says the person who isn't writing JSON emitters in C at 2300h on a Sunday
 
@MarkHenderson Heh. I got snipped years ago. These little ones are in-vitro.
 
@FalconMomot There's a library for that, isn't there?
 
5:05 AM
Considering that I'm almost 40, that's a good thing.
 
honestly it would be more painful to import the library and integrate it with the build system (we also have a constraint that would force me to bundle it as a static include) than to just printf the shit
given that either way I'm converting nice structured output to JSON.
 
@FalconMomot Ahh, so your workplace DOES have it share of WTFs.
 
the constraint is to spare the US military the need to download (and thus vet) open source software.
 
@Andrew yeah, it does. And that would be amusing. Hell, you can even run a RH derviative on it. It does sip power
 
@Magellan Haha. Our #2 is due in April and hopefully for my 30th birthday (which will be October 2015) I will book myself in for a vasectomy
 
5:07 AM
@FalconMomot Oh, that's a whole five-sided building full of WTFs.
 
yeah... there are problems, but I wouldn't trade my problems for any other set of problems I've had.
 
Ha. Sure you don't want to fix my NFS server?
 
and also the people in that five-sided building are awesomely receptive, I find
 
So, you're gonna put us some backdoors in there, right?
 
I have a list of all the things there wasn't time to protect against, if that's what you mean, but I'm not sharing :P
 
5:16 AM
Of course not. You could end up internationally famous and stuck in Russia.
Or worse, stuck in the US.
 
I think that would be the best possible outcome of dropping 0day on the US government, yes, Snowden's fate.
also given that everyone who has worked on my software has been a security auditor I hope there aren't many vulns in it :)
 
5:39 AM
Aha! Today I learned what "kvno mismatch" means.
 
that sounds yucky.
also, all that scotch really helped me write all that JSON-shitting code
now maybe it will also help me sleep.
 
@FalconMomot It's easy to solve. It's a royal pain in the ass to figure out you have the problem in the first place.
 
lol
story of systems admin?
 
And oh, Fedora, where in hell did you hide the machine ticket cache?
 
it sounds like you are fighting with kerberos :(
 
5:53 AM
@FalconMomot Yes, that's exactly what I've been doing for the last four hours. Fortunately all is well now.
 
yay
yawn
 
Some dumbass regenerated the keytab for the nfs server. Suddenly no clients can connect. Um, that dumbass was me...
 
6:44 AM
Morning
 
5
Q: How can I search Google for a negative number?

Michael HamptonIt only rarely happens, but once or twice I've found it desirable to be able to search the web for a set of search terms that includes a negative number. Unfortunately there doesn't seem to be any obvious way to do this. Simply including the number, e.g. -9 in the search terms will cause Google ...

What does it take to get non-stupid answers?
 
@MichaelHampton At a guess, it's about as hard as searching for a negative number...
 
7:28 AM
lol
 
@MichaelHampton Huh. That's why I couldn't find a meaningful answer to a SQL Server 2008 Express install issue yesterday.
The error code started -2
 
Now if only idiots from certain Asian countries who have no fucking clue would stop trying to answer...
 
lol
ok, while its not something I would consider a proper answer..
would it work on another search engine?
 
Installed The Foreman tonight. Ran into one bug. Or maybe it was two.
ARE there any other search engines?
 
7:32 AM
@MichaelHampton There's duckduckgo.com, which I use
 
bing dosen't seem to find anything at all
 
Bing isn't a search engine, it's a Microsoft prank.
 
yandex finds 9 same as google
shrug looks like it is ;p
 
Since having the new lap top i cannot get it to print to the [x] office. I go into find now and select but it will not load into the bar to press ok. <- that's a helpdesk ticket I have.
I'm guessing she means it's not appearing in the dropdown menu on which printer to use, but wat.
 
@MichaelHampton Surprising how many people didn't bother to read the question. I was thinking to suggest putting it in quotes but you already covered that.
 
7:42 AM
@Ladadadada I mainly posted it in a bid to embarrass Google into doing something about it. :)
 
I'd love to see a way to run a regex over an existing set of results obtained the normal way.
 
0
Q: What seems wrong with this bash script?

davidlI found an initscript that for some reason insists on starting the specified application as the root user. I can't wrap my head around why it is doing this, any hints? The script runs on Redhat Enterprise Linux 5.9. #!/bin/bash # # Start/Stop apfe. # # chkconfig: - 62 38 # description: apfe #...

 
For starters, it isn't a proper init script...
 
8:00 AM
@MichaelHampton best alternative for literal searches, but the scope is more narrow than google:symbolhound.com
 
@MathiasR.Jessen Wow, I put in -9 and results for kill -9 come up. I'd definitely upvote that answer.
 
Give me a sec
 
I'll accept it later if nobody else comes up with a better idea (not likely, it seems).
 
8:16 AM
@MichaelHampton what's with the other answer to your question besides @MathiasR.Jessen's?(+1 would read again, btw, Mathias). It's like they're throwing random crap about search engines at the screen to see if anything stuck!
 
@RobM Read the user's profile. I think you'll see the problem.
 
I don't need to read someone's profile to spot a fuckwit
 
@RobM Yes, but this guy's profile is... chock full of WTF.
 
Fuck me.
It actually hurts to read that.
 
You didn't even get to the horrible abuse of SQL at the end!
 
8:24 AM
I did. That's why it hurt
there are some fools around
 
We0
8:52 AM
Hey guys
I have ubuntu and a ubuntu vm
I tried to share my web folder with my local machine but can't get it up
now I want to install samba and use it as a network drive rather
how do i do that? all guides show with Windows
 
Not a clue. Tried asking on Ask Ubuntu?
 
We0
do they have a chat?
I like the guys here at serverfault
always helpful
 

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
You might want to ask a question first though.
 
We0
thanks
 
9:28 AM
morning
 
I wonder what kind of person you have to be to set off a fire alarm at 0330.
on purpose for no apparent reason.
 
@FalconMomot A drunk one?
 
even drunk I would never do that.
 
@FalconMomot I used to work with a guy who managed to set fire to his own kitchen when drunk. Twice.
 
lol @ the person lecturing @MichaelHampton about how to use google.
@JennyD it wasn't an accidental trip; someone pulled a pull station and ran down the adjacent stairs and away.
according to witnesses, but of course nobody can find the bastard
(probably good as we'd be needing an ambulance as well as the 3 fire trucks attending)
there are a lot of things I don't like about home ownership, such as yardwork, but at least there are no communal fire alarms.
 
9:35 AM
@FalconMomot: it happened again?
 
@FalconMomot Jerk. Would it be legal to put up surveillance?
 
@JourneymanGeek It's happened in every condo I've ever lived in with a building-wide fire alarm, at least 4 times annually.
 
heh
/me has no idea if our building has a fire alarm
 
@JennyD Totally legal, and also totally useless. it's hard to identify people using that footage, especially if they are someone's guests or whatever. and the cops couldn't be less interested.
@JourneymanGeek oh, we have heat detectors, and CO2 detectors, and sprinkler flow alarms, and insuite smoke alarms linked into the main system, and insuite annunciators, sometimes 3 to a suite, with strobes, and pull stations every fucking where, and.........
 
@FalconMomot: we just have air raid sirens ;p
on every. fucking. building.
 
9:41 AM
Heh.
wow.
we do not.
also: it turns out you can go to jail for two years for pulling a fire alarm without cause.
 
(well, not every building, but enough that it feels like it)
 
I think I might put up a sign beside it or something, just to plead with the next guy who thinks it's a bright idea
 
or wire it up to 240v
 
ha
it'd be 208V, 2 phase
 
if its a real emergency, he'll get medical help anyway.
 
9:42 AM
you don't need medical help for that usually
 
not from my experience.
 
not unless you were holding one of the sprinkler pipes in the other hand anyway
 
can't underestimate stupidity
 
however it might stun the jackass for just long enough for someone to arrest him
I mean, since bondage is OK in polite society now (or maybe that's just hackers and punks), I'm sure everyone has a pair of cuffs lying around :P
 
heh
I was thinking of a mutual friend of ours who collects them
 
9:44 AM
no
just no
I would not wish that on anyone, even that guy
no.
would you want to meet that in person? just... a big heap of NOPE.
 
9:56 AM
Waking up in the morning with an urge to code... What's wrong with me!?!
(okay, maybe Puppet isn't coding...)
 
10:15 AM
weeeeee jetlag
 
Dan
@FalconMomot 208V - that's a weird supply
 
@Dan not at all.
 
Dan
@FalconMomot Apparently you're right - I don't think I've come accross it over here
 
@Dan whenever you have two-phase power and you combine the two phases instead of the neutral you get 1.73 times the voltage of either phase where they are equal if I recall
I really forget the specific reason why that is but it has to do with the phases being sine waves and not square waves.
or was that 3 phases and no neutral?
 
Dan
10:36 AM
Every day is a school day I guess :D
 
nevah stop learning!
 
Dan
Indeed
The new Google Apps Dashboard is fucking dire
I think they're losing it
 
10:55 AM
@ewwhite So, could you make up something with this regex ?
 
@Kwaio I wasn't able to...
I need to look a little deeper... there were some awful issues at work and my attention was diverted.
 
nvm. chat lags here
I think our proxy doesn't handle well the chat module
 
Dan
Finally got the Beetle off axle stands last week and managed to get a clean MOT
 
11:14 AM
one of our students managed to create a mail loop between their college account and gmail. what fun.
 
Thanks. The other answer is out of this world :P

Q: "What brakes to choose, ABS or TCB?"
A: "Cars run fast, they use combustion engines. It's important to brake. Don't forget brake fluid"
 

« first day (1115 days earlier)      last day (3866 days later) »