Skip to content

added some service checks#51

Closed
AmeyaPurao wants to merge 2 commits into
mainfrom
ameya/service-check
Closed

added some service checks#51
AmeyaPurao wants to merge 2 commits into
mainfrom
ameya/service-check

Conversation

@AmeyaPurao
Copy link
Copy Markdown
Collaborator

adding service checks for us to see if things are up. only have windows stuff for now

Copy link
Copy Markdown
Contributor

@thankgod4rob thankgod4rob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i didnt really check if it actually works, but your mr windows so i trust you, i dont quite 100 percent understand the point of this but it seems like a solid idea, ill ask you about it next meeting

Comment thread check/main.go
}

func Run(cmd *cobra.Command) {
fmt.Println(util.ErrorStyle.Render("Error: No subcommand specified"))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add an option to check all of the above

Comment thread check/check_kerberos.go

kerberosCheckCmd.MarkFlagRequired("kdc")
kerberosCheckCmd.MarkFlagRequired("realm")
kerberosCheckCmd.MarkFlagRequired("fqdn")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for all of the 'required fields' in each command, there 100 percent has to automatically grab these fields, like i was able to pull the server domain from my script (unless this is a remote tpye of thing you want to automate then yeah thats valid)

@AmeyaPurao AmeyaPurao closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants