aboutsummaryrefslogtreecommitdiffstats
path: root/app/monitoring/setup/monitoring_handler.py
AgeCommit message (Collapse)AuthorFilesLines
2018-02-27US3541 merge various fixes to OPNFV branchyayogev1-7/+20
timestamp of last commit tt was merged: 26-Jan-2018 16:25. Change-Id: I7b0bf7885d7d0badb81c794a52c480b905d78459 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-09-04restart_service(): ignore non-Error in CentOsyayogev1-2/+3
When doing 'service X restart' in CentOs it says: 'Error: Redirecting to /bin/systemctl restart' But it's not really an error but more of an info message Change-Id: I03e66aa872e9b3f4fd85d579207d9dcc6494eb8c Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-09-04DE878 restart services with 'service X restart'yayogev1-1/+1
Change-Id: I435bfe1f7c4faee625773fde28a1a552d6c19bc5 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-31US2876 handle SSH errorsyayogev1-46/+67
ido not stop, but report as 'completed with errors' if there were any errors in SSH calls Change-Id: Ice7e6c4324686adc2d9eec27a9b6187f0fe6808f Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-07use tempfile.TempDirectory instead of /tmpYaron Yogev1-9/+3
Change-Id: I408097ebd5f40a7f5ee5f1cc44e2a93410c0c7cc Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-02Fix sending of restart command to Sensu serverYaron Yogev1-2/+2
- SshConnection: get_ssh(): handle host == monitoring server - if host is the one defined in Monitoring config, use the access definitions for the server_ip - Fix connections management: - no need to disinguish between CLI connections and SFTP ones; - add get_connection_key(); - rename the Paramiko SSH client data member --> ssh_client Change-Id: I9e127774c9287d81d73ce5ba02704d3b7cda6725 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-07-27Calipso initial release for OPNFVYaron Yogev1-0/+485
Change-Id: I7210c244b0c10fa80bfa8c77cb86c9d6ddf8bc88 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>