summaryrefslogtreecommitdiffstats
path: root/app/monitoring/setup
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06US2925 add monitoring of host pNIC in OVSyayogev2-2/+10
- 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-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 Yogev12-0/+903
Change-Id: I7210c244b0c10fa80bfa8c77cb86c9d6ddf8bc88 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>