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? :)
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:
What do you think? Have you more ideas? :)