aboutsummaryrefslogtreecommitdiffstats
path: root/app/monitoring
AgeCommit message (Collapse)AuthorFilesLines
2017-09-29release 1.0 calipso for opnfv apexKoren Lev1-2/+1
Change-Id: I3e63cd27c5f4d3756e67a07c749863a68e84dde2 Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-09-07fix sensu check handling for link checksyayogev2-28/+47
Change-Id: I481d68d90708af194e58f213f1f4c070da76ebc1 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-09-07change status laber from critical to 'error'Koren Lev1-1/+1
Change-Id: I3f9c02d4c2320e0a4846acabb7563e067519bcfb Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-09-06US2925 add monitoring of host pNIC in OVSyayogev5-106/+159
- check_interface.py: renamed to check_pnic_ovs.py - check_interface.py: check changed to use 'ip link show' command - monitor.py: handle check name where object type contains underscore, specifically 'host_pnic' - monitor.py: refactored to work as class - monitoring_pnic.py: changed to handle either OVS or VPP - monitoring_check_handler.py: change to allow defining hard-coded check_type string for file_type naming - monitoring config templates: removed default handler Change-Id: Iad38fa108e9ceae18a7c94b3570a8d9b836a8632 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-04vnic-vconnector status 1 on problemyayogev1-5/+7
Change-Id: I896666e81f0a656936b0e77ce14b9effc8b444cb 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-11US2853 rename pnic to host_pnic & switch_pnicyayogev2-3/+2
fixed clique finder to work with switch-switch link type Change-Id: I4f815f77e6b4ea36669dfb58bb5f5e914fe3e1ac Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-07remove unused TMP_FILES_DIRYaron Yogev1-1/+0
Change-Id: Ib2b8cf1b16ad2f404039e106bb4bb5be710bfdaa Signed-off-by: Yaron Yogev <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 Yogev31-0/+1839
Change-Id: I7210c244b0c10fa80bfa8c77cb86c9d6ddf8bc88 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>