agent: | Auto Exec |
Troubleshooting: Server is not reachable or unable to connect
Add credentials for various integrations
What is an "Expert"? How do we create our own expert?
Add credentials for various integrations
Managing workspaces and access control
DagKnows Architecture Overview
Setting up SSO via Azure AD for Dagknows
Enable "Auto Exec" and "Send Execution Result to LLM" in "Adjust Settings" if desired
(Optionally) Add ubuntu user to docker group and refresh group membership
Deployment of an EKS Cluster with Worker Nodes in AWS
Adding, Deleting, Listing DagKnows Proxy credentials or key-value pairs
Comprehensive AWS Security and Compliance Evaluation Workflow (SOC2 Super Runbook)
AWS EKS Version Update 1.29 to 1.30 via terraform
Instruction to allow WinRM connection
MSP Usecase: User Onboarding Azure + M365
Post a message to a Slack channel
How to debug a kafka cluster and kafka topics?
Open VPN Troubleshooting (Powershell)
Execute a simple task on the proxy
Assign the proxy role to a user
Create roles to access credentials in proxy
Install OpenVPN client on Windows laptop
Setup Kubernetes kubectl and Minikube on Ubuntu 22.04 LTS
Install Prometheus and Grafana on the minikube cluster on EC2 instance in the monitoring namespace
update the EKS versions in different clusters
AI agent session 2024-09-12T09:36:14-07:00 by Sarang Dharmapurikar
Parse EDN content and give a JSON out
Check whether a user is there on Azure AD and if the user account status is enabled
Jira tasks
- 1AtJRgZytygiaeeUjg1VcCreate a JIRA ticket
1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsfrom jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None issue_id = "" if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) if myjira: issue_dict = { "project" : project, "summary" : summary, "description" : description, "issuetype" : {"name" : "Task"} } new_issue = myjira.create_issue(fields=issue_dict) issue_id = new_issue.key print(issue_id)copied1 - 2eWZ20hHdobmkRNNBDfQzProcess Jira Ticket
2
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.2 - 3UvDEOZijwoh4WxxxaO0rMark ticket as DONE
3
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsimport json from jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) if myjira: try: next_states = myjira.transitions(issue_id) xns = [xn['name'] for xn in next_states] if 'Mark as done' in xns: op = myjira.transition_issue(issue_id, 'Mark as done') elif 'Resolved' in xns: op = myjira.transition_issue(issue_id, 'Resolved') else: msg = f"ERROR! Unable to transation to DONE for ticket: {issue_id}\n" msg += "Possible transitions: " + json.dumps(xns) print(msg) except Exception as e: msg = str(e) print(msg)copied3 - 4SJkQlK70cyVV5Cp8biEhAssign a ticket to a user
4
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsfrom jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) if myjira: myjira.assign_issue(issue_id, assignee)copied4 - 5i4FbkxsC19Ex5W69qdQmPlot resolved tickets per user
5
Plot resolved tickets per user
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsimport json from jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) resolved_issues = {} if myjira: for user in users: issues = myjira.search_issues(f'project={project} AND assignee="{user}" AND status=done') resolved_issues[user] = len(issues) print(resolved_issues) context.plot.xlabel = "users" context.plot.ylabel = "# resolved issues" context.plot.title = "Resoved issues per user" context.plot.add_trace(name="Resoved issues per user", xpts=labels, ypts=values, tracetype="bar")copied5 - 6J6zJasuVZX7Vh87jYq8pList tickets resolved by a user
6
List tickets resolved by a user
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsimport json from jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) resolved_issues = [] if myjira: issues = myjira.search_issues(f'project={project} AND assignee="{user}" AND status=done') for issue in issues: resolved_issues.append({'id': issue.key, 'summary': issue.fields.summary}) print(resolved_issues)copied6 - 7AISEdHWQ8HPwv7AjCu5bREOPEN a ticket
7
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsimport json from jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) if myjira: try: next_states = myjira.transitions(issue_id) xns = [xn['name'] for xn in next_states] if 'Reopen issue' in xns: op = myjira.transition_issue(issue_id, 'Reopen issue') else: msg = f"ERROR! Unable to transation to DONE for ticket: {issue_id}\n" msg += "Possible transitions: " + json.dumps(xns) print(msg) except Exception as e: msg = str(e) print(msg)copied7 - 8JaqDo9GOci3zC9MXrLKiAdd a comment to a ticket
8
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsfrom jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) if myjira: myjira.add_comment(issue_id, comment)copied8 - 9AtJRgZytygiaeeUjg1VcCreate a JIRA ticket
9
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.inputsoutputsfrom jira import JIRA creds = _get_creds(cred_label)['creds'] username = creds['username'] api_key = creds['password'] myjira = None issue_id = "" if username and api_key and jira_server: myjira = JIRA( server=jira_server, basic_auth=(username, api_key) ) else: _problem = True msg = "Missing username or API key" print(msg) if myjira: issue_dict = { "project" : project, "summary" : summary, "description" : description, "issuetype" : {"name" : "Task"} } new_issue = myjira.create_issue(fields=issue_dict) issue_id = new_issue.key print(issue_id)copied9