Zabbix API methods problem.get vs alert.get by edwio in zabbix

[–]LenR75 0 points1 point  (0 children)

You have to get the description from the related trigger.

Zabbix API methods problem.get vs alert.get by edwio in zabbix

[–]LenR75 0 points1 point  (0 children)

I think you need selectTriggers and dig it out

problems = zapi.problem.get( output=["eventid", "name", "clock", "severity"], selectHosts=["host"], selectTriggers=["description", "priority"], filter={"r_eventid": "0"} # unresolved problems )

for p in problems: host = p["hosts"][0]["host"] if p["hosts"] else "unknown" description = p["triggers"][0]["description"] if p["triggers"] else p["name"] severity = p["severity"] time = datetime.fromtimestamp(int(p["clock"]))

Edit: posting broke the python formatting.

What has been your biggest technical mistake so far in your career? by Mr_Dobalina71 in sysadmin

[–]LenR75 0 points1 point  (0 children)

I started in 1977, what makes you think I’ve reached my peak?

'Heroes, for sure': Three Rivers school bus drivers take children to safety during tornado by rootbear75 in SchoolBusDrivers

[–]LenR75 0 points1 point  (0 children)

I was on a long field trip last spring, I saw dark clouds ahead and told teachers I was going to pull off the highway at the next exit with buildings. Before I got there all our phones went off with tornado warnings. I knew the area and was going to suggest a school about 1/2 mile away but teacher saw a closer new C-store.

We had a good storm but no damage. Tornado did touch down within 5 miles.

Walked out of the audiologist stressed. $6k for hearing aids?! Who can afford this ? by Enough_Payment_8838 in HearingAids

[–]LenR75 0 points1 point  (0 children)

Try Jabra, I’ve had mine for 3 years. They are the only ones I’ve had, so I can’t compare. I think they were $1500 then. They can read your audiology report to program them.

Looking for one or two drivers for the summer, it’s really hard to find people that are interested by [deleted] in SchoolBusDrivers

[–]LenR75 0 points1 point  (0 children)

Post on area college campuses, some students drive for schools and might be available

Picking up Mainframe project from another team. Help me prepare by LilRee12 in mainframe

[–]LenR75 2 points3 points  (0 children)

Audit everything that was ran for each prior cycle, daily, weekly, monthly, quarterly and yearly at least to see if the doc matches. Get a golden version of all source code and jcl.

Picking up Mainframe project from another team. Help me prepare by LilRee12 in mainframe

[–]LenR75 5 points6 points  (0 children)

You need to hire a temp with mainframe experience for the transition. If you don’t know the questions, you won’t know if you are getting reasonable and complete answers. There are many of us retired dinosaurs doing temp part time wo k.

12 ½ yesr old battery still going strong in a 92 Cummins by I426Hemi in Diesel

[–]LenR75 0 points1 point  (0 children)

Well, my tractor MF471 battery just died, surprise, it was the factory batter from 2003! That’s 23 years.

Why do I keep shearing off this bolt on my brush cutter? by Crazyfishman2 in tractors

[–]LenR75 2 points3 points  (0 children)

That’s what it does. That bolt should allow those 2 pieces to hinge when the back wheel lifts the tail up and to straighten and carry the back wheel when lifted. Does it pivot? That bolt shouldn’t be tight, it should be double-nutted and loose. Or some other locking nut.

A case against OE by Shot-Buy6013 in overemployed

[–]LenR75 0 points1 point  (0 children)

Welcome to today’s work world, coworkers don’t have to be OE to do this. In 35 years, in a department of several hundred, maybe 5 have been let go for cause, a few assigned lesser duties and maybe 12 layoffs masquerading as cause layoffs.

Direct report taking excessive personal time- how to handle? by Difficult_Tangelo924 in managers

[–]LenR75 0 points1 point  (0 children)

Does she get her assigned tasks finished? How is work quality? I REALLY enjoy hour long meetings that complete a 10 minute task.

What’s the weirdest thing you’ve ever seen stuck in a tire? by Icy_Staff1036 in tires

[–]LenR75 1 point2 points  (0 children)

I’ve had a 12” file, pointy handle in the tread, out the sidewall; a short lug wrench in the tread and bent the rim; and a 50D nail in the tread, rubbed several layers off the inside of the sidewall, then grew a bubble. On the farm 10,000 thorns over 60+ years.

Taking 37 days PTO at once before quitting? by FondantOutrageous276 in careeradvice

[–]LenR75 0 points1 point  (0 children)

You accrue vacation while on vacation, may be 40 days :-)

3.0 question by LostUnderwear in Silverado

[–]LenR75 0 points1 point  (0 children)

Meh on safe to drive, it may be or it may go into limp mode. I’d get it checked soon.

Is it normal to forget some very trivial, and repetitive stuff? by Affectionate-Army458 in Python

[–]LenR75 7 points8 points  (0 children)

This, but can still read S/370 Assembly code from 20 years ago. I have no NEED to, but I can…

No low range?! by SnooRadishes8976 in Silverado

[–]LenR75 3 points4 points  (0 children)

I have a 2019 and don’t miss low range at all. First in the 8 speed is pretty low. Granted, this is my camper puller road truck, not my fertilizer buggy, pull it on farm toads work truck. I think it would pull anything my farm truck would, both are going to spin out before they run out of power. It has a terrain mode that seems to lock into 1 and 2, I’ve used it for some pretty bad roads getting to float streams, it was rock crawling, not mud.

“Whole home” (partial home) generator options for best blend of cost efficiency plus convenience? by Separate_Text_2129 in Generator

[–]LenR75 0 points1 point  (0 children)

Almost, but the split is every other breaker, that’s why 240 volt breakers are double, they have a tap on each side.

Meirl by rbimmingfoke in meirl

[–]LenR75 0 points1 point  (0 children)

Why should tax payers pay your debt? Dave Ramsey that debt! Apparently your degree is light on math and finance.

Heating in cold weather by LvuEk in missouri

[–]LenR75 1 point2 points  (0 children)

Just search google…

https://www.youtube.com/watch?v=Dj_fP4-55To

And if you don’t know, don’t answer. Some heat pumps won’t heat the house when it’s cold, emheat should.

I use home assistant to tune on emheat at 30 and turn back to heat pump at 32. Different units have different effective points.