1,375 reputation
720
bio website blog.jasonantman.com
location New Jersey
age 27
visits member for 5 years, 4 months
seen Oct 10 at 12:06

Systems engineer at CMGdigital, monitoring/automation nut, Linux and Android user, husband, ceaseless tinkerer.


Oct
5
comment libvirt (KVM) inventory application?
Hmm... ok, thanks, I'll check it out. Still a bit worried about anything that has write/control access to these VMs though... and yes, wonderful FAQ...
Oct
5
comment libvirt (KVM) inventory application?
@MichaelHampton point taken. What I really want is something to effectively use as a central caching layer that polls all of our libvirt instances, stores state, and then I can query this one API and say "what host is foo.example.com running on, and what's its state". Or even better, that a puppet/facter fact can query for "what physical host am I running on"...
Oct
5
comment libvirt (KVM) inventory application?
oVirt is much more likely than RHEV... but still, concerns over 1) making sure it wouldn't mess with current configs, and how it will play with current standalone VMs, and 2) implementation timeline
Oct
4
comment libvirt (KVM) inventory application?
Sorry I guess I forgot some requirements. Question updated. virt-manager is OK, but not for a distributed team of people, and not when all of the VM hosts are headless. It also doesn't expose an API that I can programmatically query at arbitrary times.
Oct
3
comment kvm/qemu via libvirt on CentOS - pass string or key/value or file to guest
No, while we don't do migrations very often right now, I'd like it to actually know where it's running this instant.
Sep
3
comment kvm/qemu via libvirt on CentOS - pass string or key/value or file to guest
Thanks for the advice... though I probably won't get to do any more testing until this weekend. I understand the "VMs shouldnt be aware of their VM-ness", but I don't see how that's a plus from a management standpoint. I've got X-hundred VMs, it's useful for them to know where they're running, especially when I'm doing things like having puppet generate my monitoring configs, and I want the VM to know what physical host it's dependent on (at this instant).
Sep
2
comment kvm/qemu via libvirt on CentOS - pass string or key/value or file to guest
1) Unfortunately, yeah. It seems like that's the only logical solution. Sucks if all I want to pass in is one string. 2) We do use puppet. What the end result that I want is a vm_host fact on a guest that says what host it's running on. There are ways to do this the other way around, but they're all pretty ugly. 3) Yeah... looks like nobody is actually doing anything with vmchannel yet. Well thanks for the feedback/ideas...
Jan
11
comment How do you install Node.JS on CentOS?
As of December 2012, nodejs-0.9.5 is in the Fedora Rawhide and Fedora 18 testing official repositories. You should be able to download the SRPM from them and rpm --rebuild it on centos or redhat with minimal effort. I hope it will make it to EPEL soon.
Dec
17
comment Should I quit using Ifconfig?
meh. There's enough scripts and other tools around that are built over ifconfig, that I don't feel the need to switch until it disappears...
Oct
22
comment how to use check_graphite plugin for nagios & graphite integration?
Just as a test, you may want to download the latest version of the script and try that...
Oct
22
comment how to use check_graphite plugin for nagios & graphite integration?
Exo, the script you pasted above appears to be the check plugin available at: github.com/datacratic/check_graphite but you have removed the copyright notice at the top, which is REQUIRED under the terms of the license. Please edit and comply with the law.
Aug
29
comment How do you install Node.JS on CentOS?
While this is technically correct, for any sort of maintainability or repeatability, it is HIGHLY recommended to manage packages via RPM (or whatever your distro's packaging is) rather than manually building and installing from source on every machine where it's needed. A number of the answers below link to pre-built packages.
Jun
10
comment central apache log analysis of many hosts
Actually I really like the simplicity of this approach, and there's some really good ideas here. The only problems for my use case are that 1) development, and a number of other groups, have extensive scripting based on daily-rotated log files, so I'd just need to log to 2 places simultaneously. The other issue, with grep, is that we want to use this to catch DoS, misbehaving web crawlers, backend failures (503), etc. in realtime, so grep doesn't scale for our needs. But very good ideas, thanks!
Jun
9
comment central apache log analysis of many hosts
Sounds very interesting. How do you feed syslog data into Nagios and Ganglia (specifically Ganglia that I'm interested in)?
Jun
9
comment central apache log analysis of many hosts
I've tried this approach before. The problem with relational databases is that when logging 20,000,000+ lines/day, even if the RDBMS can keep up with the write rate, purges (aside from partitioning on date and regenerating the table/partitioning every year) end up with an endless backlog.
Jun
9
comment central apache log analysis of many hosts
Also, in terms of scale (leaning towards solutions based on MongoDB, HBase, etc. especially for capped collections), my test/evaluation will be based on 8 hosts (out of ~60 total) that generate approx. 4.5GB/15M lines of Apache logs per day. For the real time analysis I can get away with ~1 day of raw data and periodic roll-ups beyond that, but I'd really like to be able to keep 1 week of logs...
Jun
9
comment central apache log analysis of many hosts
I appreciate all of the responses about rsyslog, and it's wonderful software - I've even helped Rainer find a bug or two in it. But I'm looking for something that allows quick (i.e. doesn't store logs as plain text) searching and analysis on logs. I want to know things like acceleration of rate of 404s/minute across 30 web servers, or how many unique user-agents hit my sites in the last 2 mintues.
Jun
9
comment central apache log analysis of many hosts
Aside from not being open source, and probably not being able to do the generalized analysis I asked about (it's a commercial product - where's the Nagios plugin to alert on what I want), it's at least $4,300. That's pretty expensive for no budget...
Jun
9
comment central apache log analysis of many hosts
Sorry, let me clarify that I'm looking for options that are both fully Open Source by license (OSI-approved) and are not purchased products (free as in beer).
Jan
30
comment Performance monitoring from guest OS
VMWare ESX host performance counters are exposed to Windows guests through Performance Monitor (via VMWare Tools), and are exposed to Linux guests in the VMWare Tools API, though I don't know of any software to monitor it.