OpenNMS Email Notifications

Lately I’ve been facing an issue where some hosts that are only supposed to be notified after a 10 minute outage, due to them being LTE devices, they drop a lot, and we really don’t need to know about it until they’ve been down for a while, then we can take action.

Well we tried to exclude these from our catch-all nodeDown filter, all our LTE devices are in RFC1918 10.10.X.X space, so we created a filter on our global rule to exclude them:

!(IPADDR IPLIKE 10.10.*.*)

The inverse of this (IPADDR IPLIKE 10.10.*.*) works just fine on our 10m delay filter.

Well it turns out even if you are not monitoring an IP, and that IP exists on the host, it will try and match it. This is a big problem, it means you have to either explicitly list all the IPs that you want to EXCLUDE or, this code needs to be changed to only look at monitored IPs. I think a isManaged filter should be added on the SQL query. At any rate, if you’re hitting mystery notification, that don’t show up in the validate list, that is why.

Van Life – Rehabbing a rusty 22 year old Dodge Ram 1500 Van, Part 3 of Many

Strippers… no not that kind.

Paint stripping that is, but not before a little fun with spray paint ?. We used “aircraft remover” both in brush and spray can form to start stripping the paint down to the primer on one side. It’s a pretty neat and easy process. Either brush or spray the aircraft remover on, wait 20 min while it bubbles up, and use a plastic scraper to remove the paint. Ultimately, she will be sanded down to the bare metal before paint.

Otherwise, some new wipers and washer fluid was purchased and perhaps some cassette deals in the works!

Van Life – Rehabbing a rusty 22 year old Dodge Ram Van 1500, Part 2 of Many

First things first. Changing out the fluids. Added coolant, changed the oil, charged the a/c with Freon and changed the air filter.

She already got one “new“ tire today. When we picked her up from the school district, one of the front tires was already split. Fortunately, there was a tire shop that had a used tire right across the street, so we were able to get that on her to drive her home. I was also able to find another brand new tire at the local Dirt Cheap Store for $33! and that will change out the other pretty bad tire. The other two tires are not as bad, but should also be replaced soon.

Radio works, but the front speakers are blown out. We’ll have to pick up some cassettes to test out the cassette player! Definitely need some old-school Metallica or AC/DC for her.

#VanLife

Van Life – Rehabbing a rusty 22 year old Dodge Ram Van 1500, Part 1 of many

My wife has been documenting this but I figure I would post it here for a more permanent place and accessible place than Facebook. Hopefully it helps someone or, you get a good chuckle out of this project that we’re taking on.

“A 2000 Dodge Ram 1500 Van with only 67K miles that I won from a government auction (was a Ocean Springs School District Child Nutrition Division van) for pretty cheap. Now, she looks a bit worse for the wear, but the rust is all surface, so with a new paint job, changing out the fluids, new tires, and other general mechanical things, she’ll look brand new.

I wanted to get a van to ultimately have an adventure vehicle, especially in my upcoming retired life. Something that can be boon-docked for camping, carrying stuff, road tripping, and would have less of a likelihood of getting stolen or broken into while parked for a while compared to my BMV (which is not quite the adventure touring car anyways) and something smaller and more manageable than our RV, Sheila.

Anyways, excited to start working on this project and I’m going to be documenting it along the way as we transform it from this is a #VanLife van.”

SSD Controller performance and Silicon Power

Recently we discovered that a slew of Silicon Power NVMe drives we had, all with the same P/N, being the P34A80 drives had various arrangements of controllers and NAND.

So far we have discovered at least three controllers on this same P/N Model. Those being:

We found that the Silicon Motion 2262 was an adequately performing controller but the other two are terribly under powered. The SM 2263XT is only a 4 channel controller whereas the other two are 8 channel. The Phison E12 is about 1/2 the speed of the SM2262.

SM2262:

sequential-fill: (groupid=0, jobs=1): err= 0: pid=3733: Tue Jul 12 16:32:25 2022
  Description  : [Sequential fill phase]
  write: IOPS=1039, BW=1039MiB/s (1089MB/s)(609GiB/600013msec); 0 zone resets

random-write-steady: (groupid=1, jobs=4): err= 0: pid=4163: Tue Jul 12 16:32:25 2022
  Description  : [Random write steady state phase]
  write: IOPS=198k, BW=774MiB/s (812MB/s)(454GiB/600001msec); 0 zone resets

Phison E12:

sequential-fill: (groupid=0, jobs=1): err= 0: pid=3775: Tue Jul 12 16:32:29 2022
  Description  : [Sequential fill phase]
  write: IOPS=762, BW=762MiB/s (799MB/s)(447GiB/600040msec); 0 zone resets

random-write-steady: (groupid=1, jobs=4): err= 0: pid=4168: Tue Jul 12 16:32:29 2022
  Description  : [Random write steady state phase]
  write: IOPS=55.9k, BW=219MiB/s (229MB/s)(128GiB/600002msec); 0 zone resets

OpenNMS Horizon 30 Update / 503 / Karaf Failure

When upgrading to OpenNMS Horizon 30, you may find that even after following standard upgrade procedures it will produce a HTTP/503 for you. Meaning Jetty started but… Karaf is dead. This appears to be another *finger guns* gotcha by the OpenNMS team for the non-paid product.

You must MANUALLY update your config.properties file in opennms/etc to update the reference for Felix that was upgraded from 6.0.4 to 6.0.5;

config.properties:karaf.framework.felix=mvn\:org.apache.felix/org.apache.felix.framework/6.0.4

to

config.properties:karaf.framework.felix=mvn\:org.apache.felix/org.apache.felix.framework/6.0.5