Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
code share

F5 case creation tweaks

Problem this snippet solves:

Makes creating cases in the F5 portal a bit less of an head ache. This script uses Tampermonkey and BigIP-report as a data source to tailor make the case creation process according to your environment.

Features

Only show the modules you actually have activated:Image Text

Only show the installed versions

Image Text

You can still see all of them if you need to

Image Text

Select your loadbalancers from a dynamically populated drop-down menu

Image Text

Other smaller things

  • Configure default case severity
  • Configure default choice for "Was this working before?"
  • Configure default chose for "Is the problem related to a virtual server?"
  • Configure a default peferred method of contact
  • Configure a default time zone
How to use this snippet:
Comments on this Snippet
Comment made 20-Feb-2018 by JRahm

I love this!

0
Comment made 23-Feb-2018 by Patrik Jonsson 3488

Thanks Jason!

New version. Added feature: Now the script can handle if BigIPReport has failed to index individual devices.

0
Comment made 11-Jun-2018 by Josh Becigneul 1219

Could we set bigipReportURL to a local file?

0
Comment made 12-Jun-2018 by Patrik Jonsson 3488

You might be able to if you have a copy of the json file generated by BigIPReport. If you don't I might be able to make an update that supports a simple js object.

/Patrik

0
Comment made 5 months ago by Shann_P 358

Hi Patrick,

I'm having trouble getting this to work. I copied and pasted Casecreation.js file into Tampermonkey and I can see it saved. When I do look at the script, this red X shows up for line 293.

for(var n in deviceNames)

The error says that 'n' is already defined. Could that be causing my issue?

0
Comment made 5 months ago by Patrik Jonsson 3488

Hi Shann

Did you configure the bigipreport URL?

/Patrik

0
Comment made 5 months ago by Patrik Jonsson 3488

I have updated the instructions with one more step. Hope that helps...

/Patrik

0
Comment made 5 months ago by Shann_P 358

Yes, I configured it. My bigipReprtURL is there. What should the value be for @connect? I have linuxworker.j.local. Should that be something else?

0
Comment made 5 months ago by Patrik Jonsson 3488

Yeah, you should have the same DNS as your bigipreport. Instructions updated again, sorry for being unclear and thanks for feedback.

/Patrik

0
Comment made 5 months ago by Shann_P 358

Thanks Patrick. I'll have to play around with it a little bit in a DEV area. We have an APM policy in front of the report so the authentication piece might be an issue.

0