CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 

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:0151T000003d9EmQAI.png

Only show the installed versions

0151T000003d9EnQAI.png

You can still see all of them if you need to

0151T000003d9EoQAI.png

Select your loadbalancers from a dynamically populated drop-down menu

0151T000003d9EpQAI.png

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:

Instructions on how to use is available here

https://loadbalancing.se/2018/02/11/f5-case-creation-tweaks/#How_to_use

Code :

85493
Comments
JRahm_128324
Historic F5 Account

I love this!

 

Thanks Jason!

 

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

 

Could we set bigipReportURL to a local file?

 

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

 

JustCooLpOOLe
Cirrocumulus
Cirrocumulus

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?

 

Hi Shann

 

Did you configure the bigipreport URL?

 

/Patrik

 

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

 

/Patrik

 

JustCooLpOOLe
Cirrocumulus
Cirrocumulus

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?

 

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

 

/Patrik

 

JustCooLpOOLe
Cirrocumulus
Cirrocumulus

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.

 

Version history
Last update:
‎11-Feb-2018 01:59
Updated by:
Contributors