-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add script to test gateway status when finished #99
Comments
generally a very good idea. might be helpful to check everything while connected via ssh. would be nice if you provide a pull requests we then can review and merge. |
Where would this kind of script be in the correct place? In usr local bin? I need some more tips what tests should be included and where I should look for the same code so I don't create duplicate content. Could you provide a link where to find a complete list of all services that should run on a Gateway? |
My opinion on this is that we should carefully check if the puppet script is raising all the services on first apply. For everything else we have monitoring systems, that is what they do. When we have anything which is not nicely monitor-able, create a new check for that. |
@sargon: But even you do a lot of stuff on the console like
It would be nice to have such a collection of commands how to check the healt status of a gateway from within. |
Yes, of course I do. We have nagios or zabbix for that task, so create checks for everything you find no check for. For prevention of code duplication call these checks. So a wrapper script around nagios/zabbix checks would be the way to go. |
Where can I find the existing checks? (I have no access to the nagios VM) |
With nagios all checks targeting local status are on the machine, located in |
OK what I found out so far: there is This would call them locally:
But that local check is not installed my the puppet scripts, so finally, that would be all that has to be done here: Add the local nagios check to the puppet scripts. |
without nagios you can check already some tasks if they are running with these lines:
|
This would be a script to call on the machine: |
There should be added a script, that shows a status of the gateway when you are logged in via SSH, with:
This could look like this:
The text was updated successfully, but these errors were encountered: