Pages: 1 2 3 5 7 8 9 10 11 ... 141

04/21/13

  10:52:00 pm, by The Dreamer   , 2431 words  
Categories: Software, Computer, Ubuntu, FreeBSD, CFEngine

Home server migration ran into some cacti

The home server migration that I wrote about on April 7th, hit a delay .... I started working on migrating cacti and nagios.

I probably should've started with nagios, since I don't think that would've taken as long as cacti has.

I had already been monitoring the new servers using my old cacti installation. I had pretty much decided that moving the old installation to the new servers wasn't going to straightforward.... partly because of versions, and no easy intermediary. But, I wasn't too worried about the historical data in my old cacti....

I figured that once I got things up and running, I'd just export the templates and import them into my new system and I'd be done.

But, then I hit a hitch....the squid templates I had weren't working on the new system....all I could find were old results about issues with doing SNMP to ports other than 161, and possibly due to newer versions of net-snmp....though that later turned out to be a wild goose.

Anyways...the work around was to use the proxy option in net-snmp. Though I recall having tried net-snmp before discovering bsnmpd on FreeBSD, but I gave it a shot.

Before I got to testing the proxy...I soon saw that it wasn't giving the same information as bsnmpd...specifically, for the HOST-RESOURCES-MIB and parts of UCB-SNMP-MIB. So, I decided that I could proxy net-snmp to bsnmpd and get those. But, that didn't work.....after some reading the answer was I needed to either map bsnmpd in somewhere else or exclude those areas from net-snmp.

Well, during the build of net-snmp, it did make reference to being able to set some variables in make.conf -- such as NET_SNMP_WITH_MIB_MODULE_LIST and NET_SNMP_WITHOUT_MIB_MODULE_LIST. And, by default NET_SNMP_WITH_MIB_MODULE_LIST contained "host disman/event-mib smux mibII/mta_sendmail mitII/tcpTable ucd-snmp/diskio sctp-mib if-mib"

So, I tried setting NET_SNMP_WITH_MIB_MODULE_LIST without host and ucb-snmp/diskio and tried to exclude the rest of ucb-snmp in NET_SNMP_WITHOUT_MIB_MODULE_LIST. Which got me a strange error about host being in both lists.

I delved into the Makefile, and found while the other settable NET_SNMP parameters were done as '?=' in the Makefile, the NET_SNMP_WITH_MODULE_LIST was done as '+='...with conditionals that '+=' the last two modules.

OSVERSION >= 700028 adds 'sctp-mib' and the port option MFD_REWRITES adds 'if-mib'....I had started looking at what the fix might be, but decided that all I needed to do was remove all these lines...since I'm going to have my own definition in my /etc/make.conf file.

Trying to exclude all of ucd-snmp wouldn't make things work....but I did an snmpwalk comparing bsnmpd and net-snmp, and decided that the two areas that were lacking were ucd-snmp/diskio and ucd-snmp/disk_hw. So, I recreated the 'original' NET_SNMP_WITH_MODULE_LIST in /etc/make.conf, without 'host' and 'ucd-snmp/diskio' and put 'ucd-snmp/disk_hw' in NET_SNMP_WITHOUT_MODULE_LIST. The build grumbled, but finished.

I that worked.....all my ucd/snmp host graphs were working on m new cacti server in the same detail that I was getting before (IE: the CPU Utilization gave traces for each of the 8 vCPUs...instead of just one.... I could see all the ZFS filesystems, not just the the single zroot.

So, I went back to looking at getting squid graphs to work....that didn't work.

Pages: 1· 2· 3

04/18/13

  12:47:00 pm, by The Dreamer   , 1259 words  
Categories: Software, Networking, AT&T DSL, Broadband, CFEngine

Zoom ADSL X3 5760 & Cacti

It was a dark and stormy...late afternoon...yesterday, and....

I had started out almost 7 years ago with a Siemens 4100 DSL Modem, which worked the way I needed it to for my home network. And, wasn't sure how easy it would be to find another like it. I was running it in the cross between router and bridge mode...so that my router could maintain my dyndns info (though it wasn't too long after that I moved that to ddclient on box, which has been more reliable...but I was having ddclient scrape from the router, though the ddclient for the router on my Cox connection wasn't supported so that uses checkip.dyndns.org. So, now both do.

Would probably be too much work to make ddclient go out on the right IP so that ip route will send it to the DSL router, so it can query the DSL modem for what the real external IP is. Though the new cbox/dbox setup would simplify things....but the migration has stalled as I've been working on getting cacti moved from box...and it hasn't been going well. Lots of old templates and such don't work on the new, so I've been reworking what I feel I can't live without....

That includes the graphs of my DSL modem stats....

Anyways....when the Siemens 4100 started dropping the connection a lot (around the 3 year mark) and changing the filter didn't help, I had heard that these things wear out... So, I tracked down a new Siemens 4100 on eBay...and switched to that....and that got things working again.... Then a couple years ago, things go bad consistently....though I could see from my cacti graphs that SNR drops in the evening. Though I wasn't able to get local service to restore/fix things. I tried the AT&T forum on dslreports.com, and they changed me to Interleaved, which helped....

But, I had started shopping around for a new DSL modem.... somewhere in my journey's I acquired a Zoom ADSL X3 5760 Modem. But, since things were working...I put it aside as my spare for when things stop. Seems I've had it so long that its no longer available....got it July 9, 2012 according to Amazon.com

For a while now, it would drop the connection now and then during the week (between its weekly self-reboot)...at first I suspected the router, since its twin had gone away in much the same way several months earlier. Though the router do also have failsafe configured, so if it can't talk (ping) to box or the WAN gateway...it reboots. Though at some point AT&T made their gateways unpingable. So, it was pinging google.

But, on April 6 it got really bad....my IRC connection was resetting practically constantly. Though since I had swapped the router before, and swapped it again. Though maybe now I wonder if its watchdog was too aggressive. Things were usable, but the line drops would be annoying. Also the IP staying the same through drops didn't make me question the DSL modem.

But, then on April 13, things start getting really bad....and I was getting 50+ messages a day from ddclient that my IP changed. It seemed to stablize a bit on Monday....though it was still dropping regular enough that I switched to using Cox for my IRC screen session. Was going to defer to the weekend to make the swap.

Well, yesterday the weather was bad...lots of lightning, rain....and I first display I looked at when I got home said "NO INTERNET". Though it was probably a temporary outage, because it did appear to eventually come back while I was working on unboxing my 'new' DSL modem. And, try to figure out how to set it up without the Windows wizard it provides or the lack of documentation with it...there was a small CD, which didn't really provide much depth....but I found what IP it would be and that it has web interface....it also has a telnet interface and an FTP interface.

Anyways...it turned out to be pretty straight forward getting it working...the hard part was figuring out what the non-default options meant, and whether I would want them.... the main one I turned on was "fullcone NAT". And, I set my router in with a reserved IP and made it DMZ host, so I can keep all my forwards there...plus the Zoom is limited to 16, which isn't enough .... though this may change when I make use of its DMZ feature as well (doing reverse proxy on cbox/dbox to everywhere else on my home network...running firewall on these boxes already, to implement policy based routing.) And, enabling ICMP on the WAN interface (its also possible to enable http, ftp and telnet on the WAN interface as well.)

Getting it working in Cacti again, turned out to be much harder.

Full story »

Pages: 1· 2

04/15/13

  07:59:00 am, by The Dreamer   , 523 words  
Categories: General, Home

Blast it, I missed a payment

I don't know if the stars were against me, the delays in timings at my bank or complacency in expecting everything to work, or something in particular about this time of year. Or, that I've been ignoring the nag screens up buy Quicken 2013...but, it has been general practice for me to only upgrade every 2-3 years, ever since I started with Microsoft Money 98.

The last version of Microsoft Money was "Plus" (AKA 2008), and its electronic capabilities would last at most 3 years, though it started ending sooner as banks stopped supporting it. Though oddly I have an account that only offers csv or ofc (the older Microsoft Money format) for downloads. The newer format OFX started appearing in 1999 with the rush towards Y2K, though the format was devised in 1997 (when I started with Microsoft Money 98)....by Microsoft, Quicken and Checkfree. Though Quicken uses a variant known as qfx.

But, a payment to a card was missed on Friday. >:-(

It had seemed lately that my bank was taking an extra day to update my balance to reflect the direct deposit of my pay, and occasionally the debits from their online bill payment service. Because I usually check all my accounts electronically first thing in my morning....Monday to Friday....(when I'm at home), and I will occasionally check once or twice on the weekend.... There was no activity reported on my account when I checked Friday morning (though there were errors in connecting the days before Friday... Just as two transactions that posted on Saturday to a credit card were missing from this mornings download, but included 4 transactions that posted on Sunday.)

Though it was my understanding the bill payment service pays the bill (a few days before the payment date, when they mail payments on my behalf. Or the day before when they pay my bill electronically. They also have the option to issue a check that drafts directly against my account, which they have done on occasion...such as when I use them to pay doctor bills.) and then debits my account first thing on the day that payment was to reach the biller.

April 12th was payday, and I had a number of bills that were to be paid that day. The total of bills that day, would amount to $17.35 more than my existing balance. But, it is also generally understood that my pay is also reflected first thing and before the debits of the day.

Though now that I think of it, I was told that this is how things were done at my bank in Ohio, and I just assumed that things worked that way now that I'm in Kansas.

Also in years past...with my previous bank account...there was a quirk in transaction downloads, which I presume was an artifact that the download has transactions time stamped in local time, but don't contain timezone information. Resulted in transactions appearing to occur early during standard time. Likely because the bank was headquartered in Indiana...so when Ohio is experiencing eastern daylight time, it is matched to Indiana's staying with central standard time all year. Though I guess moving to Kansas was what fixed that glitch....

:**:

04/07/13

  11:29:00 pm, by The Dreamer   , 2462 words  
Categories: Hardware, Software, Computer, Networking, Operating Systems, Ubuntu, FreeBSD, CFEngine

The home servers migration got off to a rough start...

My 10.04LTS servers are nearing the end of the line, but the move to get them upgraded is starting to get close....

At first I was waiting for the 12.04.1LTS update to appear, so that I might try upgrading them to Precise. But, then it struck me that it struck me that it might be time to replace one of the servers with new hardware.

The boxes had been servers for many years now, but in 10.04 they dropped support for 32-bit hardware as servers....which means one of my servers, and the more important one...is nearing EOL.

So, back in August....I came across a Shuttle XS36V open box on newegg.com....so I ordered one, along with an 8GB SODIMM memory set (a pair of 4GB)....the computers support a maximum of 4GB, but in my mind I was thinking that if this worked, I might get another to make a pair.

But, then it sat around as I go on to other projects....I had figured on using one of the 120GB SSDs that I had acquired earlier....

Realized what was strange about these boxes was they had serial ports, so I started thinking about network serial and setting these boxes up headless. Since I had done a server at work for serial with FreeBSD, I got to thinking that I would do the same with this. Plus I was really finding to be much more predictable/stable than Ubuntu....something that's good in a server.

I started revising the plans as I went....ended up deciding that I would have one that is default cable and one that is default dsl, and running the usual core...one would be master DNS, and the other one be the primary slave....just as one would be primary DHCP and the other secondary....both would do freeradius. Both would NTP servers. Both would do mail, though zen is my main mail system. They would have both apache and nginx on them...apache to run local web services....and nginx doing reverse proxy to the other web apps on my home network (kind of important since current cable router is a step back with it only supporting 16 port forwards....though I have a replacement that I'll get to setting up some day...)

Then while I was poking around on newegg.com, spotted that there was another open box Shuttle XS36V....so now I had two boxes. I had picked up once Cyclades ACS1 earlier on ebay, so I got a second....a 'new' one for about the same price. Just needed to find time. Perhaps after FreeBSD 9.1 drops.

Well, it dropped....but I still wasn't ready...now I needed some SSD drives for the machines. So, I used the $30 in RewardZone for the new TV I had gotten in September, and picked up a pair for 128GB SanDisk Extremes. And, then I started setting up the ACS1s....hmmm, wonder if I have any serial cables. Okay, I'll buy some of those first.... I end up ordering from TigerDirect, as they have a better price on RJ45 to DB9 adapters....not that I need them for the actual ACS1 to Shuttle XS36v connection...that's just a 9F to 9F null modem cable.

Pages: 1· 2· 3· 4

03/25/13

  09:57:00 am, by The Dreamer   , 42 words  
Categories: General

I called it right ... Federal Tax Refund Received

Since my State refund appeared on the Thursday, March 21st....it seemed to follow that my Federal refund should appear two days later...or rather two bank days later...so Monday, March 25th.

Sure enough....that's when it appeared.

What did I pre-spend it on now?

03/21/13

  09:02:00 am, by The Dreamer   , 507 words  
Categories: General, Quicken/TurboTax

State Tax Refund Received

I received my State Tax Refund...only 5 calendar days since my return was reported as accepted. TurboTax had said allow up to 21 days. There was a year where there was a budget crisis...though it doesn't seem to have ended yet....where they were threatening to not pay income tax refunds....or severely delay them.

Though it wasn't that huge of a delay by the time I filed.

Wonder when I'll get my Federal Tax Refund.... TurboTax said 9 out of 10 got refunds in under 21 days last year, though when I did my taxes last year, TurboTax said 7-14 days. Which was pretty much spot on....I got my Federal refund 7 days after I filed....the state refund came 5 days after filing.

So, if things hold....my Federal should appear on Monday.

Full story »

03/17/13

  03:10:00 pm, by The Dreamer   , 1773 words  
Categories: General, Computer, Home, Windows, FreeBSD, VirtualBox, Quicken/TurboTax

Did my taxes for 2012

Like I do every year, I bought TurboTax Premier Federal + E-File + State 2012 as a PC Download from Amazon.com back on Jan 18th, in part due to sale email from TurboTax. But, probably should've waited, because its cheaper now. Not sure why PC download is so similar in price to buying PC/Mac package. And, wasn't sure if I would still be on a PC.

In fact, I haven't had a physical Windows machine for almost 10 months now. Last year I did my taxes in a Windows XP VirtualBox VM on orac, since I had evolved to running Quicken in different XP VirtualBox VMs and using Dropbox to house my Quicken datafile. My first XP VM was on my laptop....and I spent part of Gallifrey One 2011 getting Quicken up and running in that VM and recovering my Quicken data. Where it seemed the best place to put the file was in my Dropbox. Have since adjusted things to make that work better to mostly cope with the locking issues between Quicken and Dropbox. I set up the one on orac which is where I did 'Windows' for about 9 months, and still use on occasion due to the lack of USB 2.0 support for VirtualBox on FreeBSD.

Though on zen, I have a Windows 7 VM (and still own another Windows 7 copy that I don't know where I'm going to put to use, just as I have a couple copies of XP still...been planning to put the 64-bit XP one into a VM on zen...but it hasn't happened yet.) Perhaps when I finally do get my Mac, I'll use some copies there.

Anyways...I would fire up TurboTax now and then, to see it get updates. Always thought it strange that after it said it was done that it would say that it was restarting TurboTax, but not. So, I never did more than see what updates it was getting.

But, I had intended to start my taxes last weekend...where DST began, though that turned out to be a bit of a weird weekend so I didn't get to it. I had actually intended the weekend before DST, but that also didn't pan out. But, seems tradition has been 2nd or 3rd weekend of March lately.... It is also for some reason the weekend that they always bring down HRIS for upgrades. As it happened this year, I did want to go on there and check something....

So, Friday night at 10pm I fired up TurboTax to see what updates, there were a lot. Been kind of unsettling lately...especially after the IRS Notice I got last year, which I dealt with using the services of Tax Resources...but it might have been a variation of a TurboTax bugs -- "Federal 2010: Customers with certain 1099-R retirement distribution codes" or "Federal 2010: Qualified Pension Conversion and Rollover" -- so I probably should've gotten TurboTax to take the heat for it.

Of course, TurboTax has had other issues in the past, and yet I stay with it year after year....

Full story »

03/07/13

  01:00:00 pm, by The Dreamer   , 370 words  
Categories: Computer, BOINC, Ubuntu, FreeBSD, Virtualization, VirtualBox

VirtualBox VDI and 4K alignment

So, after my Windows 7 machine at work ate itself after a Windows Update. I decided to turn it into an Ubuntu 12.04 system.

But, so much for becoming Windows free. I was informed that I need a Windows machine to run vCenter on, because the shared Windows 2003 server that we had been using is going away.

So, I setup Windows 7 in VirtualBox...pretty simple. But, soon I was getting ext4 messages complaining about unaligned access for a certain inode. The VDI for the Windows 7 install.

I searched around on VDI and 4K alignment, and eventually found this:

HOWTO: Modify empty VDI for optimal alignment of Windows

Though reading further it seems to suggest that newer versions of VirtualBox get the alignment right for you....and 4.1.24 is much newer than 3.0.12 in the original post. (had opted for 4.1.24, since 4.2.6 is not recommended for BOINC Test4Theory....but 4.2.8 is out now, and it is recommended....so it'll be time to go and update all my machines, I guess. The only systems with 4.2.6 were FreeBSD, because the 4.1.24 will cause the 9.1 kernel to panic on VM exit. though don't know if 4.1.24 was bad in ports or not, had been 4.1.22 before upgrading to 9.1 -- but had to recompile the kernel modules after the upgrade so had first tried 4.1.24....)

So, I went through the HOW-TO to create an new emtpy VDI...and found that it is already 4K aligned. So, why was the VDI created through the 'New Wizard' in VirtualBox Manager not?

Anyways...I then booted gparted and copied my partitions over to the new VDI....and then had to boot the Win7 installer to fix the startup to get it to boot, and no more complaining.

:hmm:

Guess I'll have to remember to create VDI before creating the new VM in the future? Wonder if there are issues in other disk image formats. Wonder if ZFS would complain that my VDI isn't aligned? Wonder how to check? Though the other formats I use are either VHD or VMDK. VHD because that's what Microsoft Windows Image Backup creates, and I'm using the last one of Zen to try to recover files from.... VMDK is after an import/export of a VM or for raw zvol accesses. So, guess those aren't areas of concern for me right now.

02/08/13

  04:42:00 pm, by The Dreamer   , 307 words  
Categories: General, Healthcare

The result of my latest Eye Exam

So, since my Narcolepsy Diagnosis, I've been having vision problems...since September. I suspected that some of it was due to my medication, and I did find that I was right...but learned from Facebook before the NN Conference in October that what I was experiencing was more associated as a side effect of my stimulant than the other. I might be starting too strong with it in the morning.

Making a change on that front, brought about an almost immediate improvement....and while at the conference, I learned of another thing to adjust and that also made for a pretty quick improvement.

However, I still felt that my prescription had changed...but didn't feel like I could get an eye exam and new glasses done in time for LISA, so I put it off....except I guess I put it off too long...because I finally got the eye exam today....but, I'm off to Gallifrey One next week. Not enough time to get a new pair of glasses. Manhattan, KS needs an 1 hour place....though do they do computer progressives in an hour? No, I need my own time machine.

So, here's the updated progression...

2003: OD -5.00 -1.00 075 OS -8.00
2005: OD -4.25 -1.00 080 OS -7.00 -0.75 045
2006: OD -4.50 -1.00 055 OS -6.50 -1.00 035
2008: OD -5.25 -1.00 060 OS -7.25 -1.00 025
2009: OD -5.00 -0.50 050 OS -7.00 -1.25 030
2010: OD -5.50 -0.75 050 +1.25 OS -7.00 -1.00 040 +1.25
2011: OD -5.50 -0.75 050 +1.50 OS -7.00 -1.00 040 +1.50
2013: OD -4.50 -0.75 040 +1.50 OS -6.75 -0.75 010 +1.50

With the updated equipment at there...they could show me very quickly what my vision is like with old prescription and new prescription, and how things compare with and without the reading power.

The large improvement in my right eye, seems to have contributed to generally poor vision distance and computer.

How will I survive now through Gallifrey One ??? We shall see...perhaps :roll:

Wonder if this will be the year to finally get prescription sunglasses, hopefully I won't be buying 3 pairs of eyeglasses in one year...to only have one good pair still. Though the big change also means I don't have any spares....

02/07/13

  10:09:00 am, by The Dreamer   , 1100 words  
Categories: Software, Computer, BOINC, Storage, FreeBSD, VirtualBox

I upgraded to Zen to FreeBSD 9.1

I have a number of FreeBSD projects at home on the go that I've been trying to find enough free time each weekend to tackle. Having a recent problem where my system will freeze/panic/reboot whenever I shutdown or saved a VM...I thought maybe upgrading to 9.1 would help. It didn't.

Anyways...I wondered how freebsd-update would proceed, given that checksums on everything had changed...because at one point during things I had rebuilt the world with optimized compile flags, though otherwise still running GENERIC and no other alterations, though later rebuilding kernels so uname would reflect p4 and p5....

But, from what it said it was going to do to get me upgraded, it seemed okay with everything. Though the merge was a bit strange....first time through it didn't present one of the merge conflicts for me to resolve (/etc/login.conf), so I said no when it asked if the file was ok before proceeding. That just stopped it instantly, had hoped that since it didn't ask how to resolve before that it would ask now. But, running the update again....it did ask for that file this time (otherwise I was considering what would happen if I fixed it by hand during or later.... So, then it went and upgraded.

And, then that's where all the fun started. While rebuilding all my ports wasn't necessary. It was necessary to rebuild all the ports that create kernel modules....like nvidia, virtualbox, fuse, webcam....

Full story »

1 2 3 5 7 8 9 10 11 ... 141

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 5 months 24 days 13 hours 33 minutes and 10 seconds until the end of time.
And, it has been 4 years 7 months 4 days 29 minutes and 46 seconds since The Doctor saved us all from the end of the World!

Search

July 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
blog tool

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime