Monitor Your Tableau Server without the GUI

Monitor Your Tableau Server without the GUI

Mike Roberts
//

If you enjoy monitoring your Tableau Server cluster by constantly refreshing the admin view (image below), this might be for you. Whether it’s the repetitive clicking or the severe lack of sleep that’s got you down, this tip might give you a much-needed break. So, free up some time and enjoy life. Go running, explore or smell the fresh air. Then quickly run back inside and fix the issue if you’re notified of a down Tableau Server process.

Tableau Server Admin View

The following PowerShell script will allow you to read the status in a more ‘machine’ friendly way. If something bad does happen (it never does, right?), you’d be the first to know – maybe even before the boss finds out! Once you set this up, you’ll have more time to explore the logs, tune the cluster, etc.

There are essentially two easy steps to this procedure:

  1. Update the attached script (TsStatusAlerts.ps1) with your relevant information: Tableau Server name, Email to, Email from, smtp server, etc. Save it in your preferred directory and move on to the next step.
  2. Schedule it on your server to run every hour, 30 minutes, 5 minutes or however frequently you feel it’s necessary to know when/if something breaks (TsStatusAlerts_SchdTasks.ps1).

Bonus Tip: Wait for stuff to break so you can fix it before anyone notices. 😉

Oh, and for those of you that enjoy one-liners, try this out (in the PS prompt, of course):

Set-StrictMode -Version Latest

irm -Uri ‘https:///admin/systeminfo’ -Method Get -UseDefaultCredentials | `

select-xml “//*/service” | select -expand node

Enjoy!

Need Expert Help?

See Our Full Menu of Data Services

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!