@@ -12,22 +12,22 @@ and working, do the following.
12
12
correctly with your strings/tokens/etc in settings.py
13
13
- Ensure the relevant ``skyline_test.alerters.test `` instances in settings.py
14
14
are configured to your desired outputs
15
- - Once again using the Python-2.7.16 virtualenv and documentation PATHs as an
15
+ - Once again using the Python-3.8.3 virtualenv and documentation PATHs as an
16
16
example:
17
17
18
18
.. code-block :: bash
19
19
20
20
PYTHON_VIRTUALENV_DIR=" /opt/python_virtualenv"
21
- PROJECT=" skyline-py2716 "
21
+ PROJECT=" skyline-py383 "
22
22
23
23
cd " ${PYTHON_VIRTUALENV_DIR} /projects/${PROJECT} "
24
24
source bin/activate
25
25
# To test email alert
26
- python /opt/skyline/github/skyline/utils/verify_alerts.py --trigger smtp --metric ' skyline_test.alerters.test'
26
+ bin/python3.8 /opt/skyline/github/skyline/utils/verify_alerts.py --trigger smtp --metric ' skyline_test.alerters.test'
27
27
# To test slack alert
28
- python /opt/skyline/github/skyline/utils/verify_alerts.py --trigger slack --metric ' skyline_test.alerters.test'
28
+ bin/python3.8 /opt/skyline/github/skyline/utils/verify_alerts.py --trigger slack --metric ' skyline_test.alerters.test'
29
29
# To test pagerduty alert
30
- python /opt/skyline/github/skyline/utils/verify_alerts.py --trigger pagerduty --metric ' skyline_test.alerters.test'
30
+ bin/python3.8 /opt/skyline/github/skyline/utils/verify_alerts.py --trigger pagerduty --metric ' skyline_test.alerters.test'
31
31
deactivate
32
32
33
33
.. note :: You should get an alert on each alerter that you have enabled and
@@ -45,7 +45,7 @@ the alerts still get sent.
45
45
46
46
.. code-block :: bash
47
47
48
- (skyline-py2716 ) [skyline@skyline skyline-py2716] python /opt/skyline/github/skyline/utils/verify_alerts.py --trigger smtp --metric ' skyline_test.alerters.test'
48
+ (skyline-py383 ) [skyline@skyline skyline-py383] bin/python3.8 /opt/skyline/github/skyline/utils/verify_alerts.py --trigger smtp --metric ' skyline_test.alerters.test'
49
49
Verifying alerts for: " skyline_test.alerters.test"
50
50
Testing Analyzer alerting on skyline_test.alerters.test
51
51
Testing Analyzer alerting - against " skyline_test.alerters.test" to send via smtp...triggered
@@ -58,7 +58,7 @@ the alerts still get sent.
58
58
Testing Mirage alerting - against " skyline_test.alerters.test" to send via syslog ...triggered
59
59
Testing Boundary alerting on skyline_test.alerters.test
60
60
Testing Boundary alerting against " skyline_test.alerters.test" to send for smtp| slack via smtp
61
- (skyline-py2716 ) [skyline@skyline skyline-py2716] python /opt/skyline/github/skyline/utils/verify_alerts.py --trigger slack --metric ' skyline_test.alerters.test'
61
+ (skyline-py383 ) [skyline@skyline skyline-py383] bin/python3.8 /opt/skyline/github/skyline/utils/verify_alerts.py --trigger slack --metric ' skyline_test.alerters.test'
62
62
Verifying alerts for: " skyline_test.alerters.test"
63
63
Testing Analyzer alerting on skyline_test.alerters.test
64
64
Testing Analyzer alerting - against " skyline_test.alerters.test" to send via slack...triggered
@@ -68,4 +68,4 @@ the alerts still get sent.
68
68
Testing Mirage alerting - against " skyline_test.alerters.test" to send via syslog ...triggered
69
69
Testing Boundary alerting on skyline_test.alerters.test
70
70
Testing Boundary alerting against " skyline_test.alerters.test" to send for smtp| slack via slack
71
- (skyline-py2716 ) [skyline@skyline skyline-py2716 ]
71
+ (skyline-py383 ) [skyline@skyline skyline-py383 ]
0 commit comments