Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Service dependencies and groups #29

Open
sennewood opened this issue Jun 10, 2021 · 0 comments
Open

Feature request: Service dependencies and groups #29

sennewood opened this issue Jun 10, 2021 · 0 comments

Comments

@sennewood
Copy link

We often have the case, that a service works perfectly fine, but our authentication server is offline, so nobody is able to login. Because of that I'm thinking about a service.json to replace the status_hostname_list.txt:

[
    {
        "site": "Moodle",
        "group": "level 1",
        "command": "http-status",
        "target": "moodle.example.com",
        "parameter": "200",
        "dependencies": {
            "LDAP": true
        }
    },
    {
        "site": "LDAP",
        "group": "level 2",
        "command": "nc",
        "target": "ldap.example.com",
        "parameter": "636"
    }
]

Additionally I want to be able to group services. (#21)

But I'm not sure about the "dependencies"-block:

  • Is just a name and true/false enough?
  • Will multiple dependencies work?

What do you think? Have you more ideas? :)

@Cyclenerd Cyclenerd changed the title Service dependencies and groups Feature request: Service dependencies and groups Jun 28, 2021
wombelix added a commit to wombelix/fork_Cyclenerd_static_status that referenced this issue Jan 26, 2022
'target' contains the value from 'HOSTNAME', 'parameter' from 'PORT' column as defined in 'MY_HOSTNAME_FILE'.
'site' stays unchanged and contains either the 'HOSTNAME' or custom Display name information.

Inspired by Cyclenerd#29
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

No branches or pull requests

1 participant