Triage | How I Actually Use AI in the Ticket Queue

·

In init 2 I said this blog was heading toward cloud, AI and DevOps. Before I start writing about cloud stuff I’m still learning, I want to start with something I actually do every single day: using AI to get through the ticket queue and automate as much of my grunt work as possible.

Some context. I’m a sysadmin at an MSP. We’re a VERY small team: there’s one established tech below me and one new tech below him, and most of my week is reactive work. Escalations, incident response, Active Directory and identity issues, endpoint management… you get the gist if you’ve ever worked for an MSP. That works out to a few hundred tickets a month. There’s never really a quiet week (or day, really), so anything that gets me to the fix faster is worth trying.

Full disclosure, I was a MEGA AI hater like a year ago. I think a lot of that came from fear that all the hard analog work I’d put in during my early career and education was about to be rendered a waste of time by this bleeding-edge technology. I’ve since learned to stop worrying and love the bomb, so to speak.

Funny enough, the last time AI came up on this blog was in my Splunk side quest, where I worried I was wasting my time on a skill AI was about to replace. Now it’s changed how I work more than any single tool I’ve picked up in a long time.

Here’s where it actually shines for me and some places where it doesn’t.

Scripts

This is the biggest one for me. I script as much of my job as I can, and AI writes a lot of my first drafts now. I describe what I want, get something back in a few seconds, and then do some sanity checks to make sure it didn’t just hallucinate some ridiculous bullshit, as AI is sometimes prone to do.

One example is cleaning up really silly PUPs (potentially unwanted programs) like WaveBrowser, OneBrowser, “free” PDF editors and so on. They aren’t inherently evil like typical malware, but they redirect all of a user’s traffic to Yahoo or some other data aggregation engine. These programs often wedge themselves into temp folders, which can let them get around a typical UAC prompt, since they’re not really “installed” and just kind of sit in temp. Using AI, I’ve been able to write scripts that check for common regex patterns for these PUPs and nuke them completely, programmatically, as part of weekly maintenance across the entire environment. This saves me a TON of time and actively secures our client infrastructure for the cost of a few (free) tokens.

The speed is nice, but the real boon is not having to start from a blank file and figure out PowerShell‘s infinite quirks. Fixing something that’s mostly right is way faster than writing it from scratch, especially for one-off jobs I’d otherwise just click through by hand.

Triage

When an escalation lands on my desk, the first few minutes are usually me figuring out where to even look, starting with the usual places like Event Viewer, Task Scheduler, installed programs, etc. That’s where AI helps the most during an incident. I give it the error, the symptoms and whatever logs I’ve got (anonymized, obviously), and ask what it would check first.

It’s basically a rubber duck that has read every forum thread ever written. It doesn’t know the environment, so it can’t solve the problem for me, but it’s great at handing me a short list of likely causes so I’m not just chasing the first thing that pops into my head. Although, to be fair, the first thing that pops into my head is often correct.

Here’s a real one. During an incident at one of our clients, I found Infatica P2B, a signed residential-proxyware agent, running from Program Files through a scheduled task on a user’s laptop. I used AI as a triage partner the whole way through: to identify the software and how it typically spreads, to write a read-only PowerShell hunt script that I deployed through our RMM as SYSTEM, and to sort the real findings from hundreds of false positives.

The hunt traced the infection back to a bundled K-Lite Codec Pack installed about eight months earlier. It also showed that our AV had never flagged it, that the user’s local admin rights let it install a system-wide task, and that there was no other persistence. From there I built a removal script with a dry-run mode using Claude, nuked the install, verified the threat was gone, and worked on a couple of follow-ups: a fleet sweep for the same bundler, and detection for that specific PUP in our AV.

Documentation

I, like many sysadmins, loathe writing documentation. A lot of the vitriol comes from not having enough time in the day to sit down and rewrite the fix for some obscure piece of tech I touch once a year, that I know by heart because the first time I solved it took me 3 hours. That’s not helpful for the other techs, or for whoever comes after me.

So now I take my messy notes from a fix, the commands I ran and the order I ran them in, and have AI turn them into clean write-ups for our internal documentation. I still edit them, but it gets me from “shorthand notes only I can read” to something the team can actually use, in a fraction of the time, and it’ll make life a lot easier for whoever takes my spot someday.

Caveat

AI is not magic. It will confidently hand you a command that doesn’t exist, a parameter from the wrong version, or a fix for a problem you don’t have. It sounds just as sure when it’s wrong as when it’s right, which means we have to understand absolutely everything a machine writes before we run it. As a 1979 IBM document put it:

A computer can never be held accountable, therefore a computer must never make a management decision.

My rules so far are pretty simple:

  • Never run anything I haven’t read and understood.
  • Test it somewhere safe before it touches production.
  • Keep client names, usernames and anything sensitive out of the prompt.
  • If it can’t explain why something works, I don’t trust that it does.

Why This Is a DevOps Post

This blog has a shiny new Cloud & DevOps page, and you might be wondering why the first post on it is about traditional tickets at client sites. Well, this is the most DevOps thing I do right now. Every script is a repetitive task I don’t have to do anymore, and every doc is one less escalation, which ironically frees up more time for me to write documentation. That’s the mindset I want to carry into cloud: automate the boring stuff, write it down, and make the next fix easier than the last one.

Next up, I’ll likely be digging into some actual cloud stuff, and I’ll write it up as I go, mistakes included.

Thanks for reading! Ticket closed.

¶¶¶¶¶

Leave a Reply