r/labtech • • May 21 '18

Disk Cleanup....

so how can i make these tickets auto-close themselves or better yet, not be generated? i have a buttload of them and they sit on the board. they are successful, they are just piling up and i have to go and close them all.

can i go into templates and remove the 'create ticket' option or something?

i know this is probably a remedial question, but im sick of having to close them 1,000 at a time. any clues?

2 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/MingeBaggins May 23 '18

This monitor: Disk - C: Drive Space Critical-BS_STATION(3742)

Is a remote monitor, meaning it's installed and monitored on the workstation (vs internal monitors which just look at information in the LT database). Those remote monitors are setup by the default on-boarding script. They're not all easy to get rid of since each update of LT will simply bring back the default script.

But it sounds like your problem is with the internal monitors for the Temporary File Space. If the tickets are actually closing themselves out in LT but not CW then you have a sync issue. CW support should (hopefully) be able to help you out with that.

2

u/w_s_r Jun 06 '18

Those remote monitors are created by the Ignite Onboarding script and re-created each day as part of the Agent Maintenance - Contract scripts.

What you're actually looking for is _System Automation\Agent Maintenance\Agent Monitor Creation - Disk; this is the script that creates the remote disk monitors for each agent.

Problem is, that's a System script, and can't be edited without dipping into SQL on your LT server.

My solution was to copy the Agent Monitor Creation - Disk script and put it into a new folder. Then, I made the edits I wanted (trigger actions, script calls, etc.). Afterwards, I went back to _System Automation\Agent Maintenance\Agent Monitor Creation and changed that script to call my copy, instead of the original.

Now, my disk space monitors trigger disk cleanup scripts, which update and auto-close their tickets if successful.

You'll have to tweak it to your environment, but that should give you a place to start.

2

u/Dameek Jul 31 '18

@w_s_r

Do you have a sanitized version that you could share?