
Thanks for sharing I may want to do that Though first I want to understand how the emails are arriving. I stooped ovirt-engine-notifier.service and postfix.service on all hosts and the hosted engine. So how are the email being delivered? They are not running senmail so I don't understand what daemon's sending these messages. Thanks, Douglas Duckworth, MSc, LFCS HPC System Administrator Scientific Computing Unit Weill Cornell Medicine 1300 York Avenue New York, NY 10065 E: doug@med.cornell.edu O: 212-746-6305 F: 212-746-8690 On Wed, Aug 29, 2018 at 3:16 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
Hi, you can change the list of status you want to be notified about with hosted-engine --set-shared-config notify.state_transition The default is:
[root@hehost01 ~]# hosted-engine --get-shared-config notify.state_transition --type=broker
notify.state_transition : maintenance|start|stop|migrate|up|down, type : broker
On Wed, Aug 29, 2018 at 7:47 PM Douglas Duckworth <dod2014@med.cornell.edu> wrote:
I agree however we are in testing phase so I make changes a lot. Therefore alerts are not presently needed.
So how to I turn them off?
These steps do not work on hosted engine:
me@ovirt-engine[~]$ sudo systemctl stop postfix.service me@ovirt-engine[~]$ sudo systemctl stop ovirt-engine-notifier.service me@ovirt-engine[~]$ sudo systemctl status ovirt-engine-notifier.service ● ovirt-engine-notifier.service - oVirt Engine Notifier Loaded: loaded (/usr/lib/systemd/system/ovirt-engine-notifier.service; enabled; vendor preset: disabled) Active: inactive (dead) since Wed 2018-08-29 13:41:55 EDT; 3s ago Process: 1814 ExecStart=/usr/share/ovirt-engine/services/ovirt-engine- notifier/ovirt-engine-notifier.py --redirect-output --systemd=notify $EXTRA_ARGS start (code=exited, status=0/SUCCESS) Main PID: 1814 (code=exited, status=0/SUCCESS)
Aug 25 12:09:31 ovirt-engine.pbtech systemd[1]: Starting oVirt Engine Notifier... Aug 25 12:09:33 ovirt-engine.pbtech systemd[1]: Started oVirt Engine Notifier. Aug 29 13:41:54 ovirt-engine.pbtech systemd[1]: Stopping oVirt Engine Notifier... Aug 29 13:41:55 ovirt-engine.pbtech systemd[1]: Stopped oVirt Engine Notifier.
I still get an email every time I put a host in maint mode for example.
Thanks,
Douglas Duckworth, MSc, LFCS HPC System Administrator Scientific Computing Unit Weill Cornell Medicine 1300 York Avenue <https://maps.google.com/?q=1300+York+Avenue+%0D%0A+New+York,+NY+10065&entry=gmail&source=g> New York, NY 10065 <https://maps.google.com/?q=1300+York+Avenue+%0D%0A+New+York,+NY+10065&entry=gmail&source=g> E: doug@med.cornell.edu O: 212-746-6305 F: 212-746-8690
On Tue, Aug 28, 2018 at 4:43 PM, Johan Bernhardsson <johan@kafit.se> wrote:
Those alerts are also coming from hosted-engine that keeps ovirt manager running.
I would rather have a filter in my email client for them than disabling all of the alerting stuff
/Johan
On August 28, 2018 22:36:34 Douglas Duckworth <dod2014@med.cornell.edu> wrote:
Hi
Can someone please help? I keep getting ovirt alerts via email despite turning off postix and ovirt-engine-notifier.service
Thanks,
Douglas Duckworth, MSc, LFCS HPC System Administrator Scientific Computing Unit Weill Cornell Medicine 1300 York Avenue <https://urldefense.proofpoint.com/v2/url?u=https-3A__maps.google.com_-3Fq-3D1300-2BYork-2BAvenue-2B-250D-250A-2BNew-2BYork-2C-2BNY-2B10065-26entry-3Dgmail-26source-3Dg&d=DwMFaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=F0oZn2eLvrinLHpVt-XjUerKE9Wvho3OpiBkNwq0RV0&s=_bZ-32ShMC6mvybn-RCCsPRGWPKenMvuL6kCjNwzaeA&e=> New York, NY 10065 <https://urldefense.proofpoint.com/v2/url?u=https-3A__maps.google.com_-3Fq-3D1300-2BYork-2BAvenue-2B-250D-250A-2BNew-2BYork-2C-2BNY-2B10065-26entry-3Dgmail-26source-3Dg&d=DwMFaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=F0oZn2eLvrinLHpVt-XjUerKE9Wvho3OpiBkNwq0RV0&s=_bZ-32ShMC6mvybn-RCCsPRGWPKenMvuL6kCjNwzaeA&e=> E: doug@med.cornell.edu O: 212-746-6305 F: 212-746-8690
On Fri, Aug 24, 2018 at 8:59 AM, Douglas Duckworth < dod2014@med.cornell.edu> wrote:
Hi
How do I turn off hosted engine alerts? We are in a testing phase so these are not needed. I have disabled postfix on all hosts as well as stopped the ovirt notification daemon on the hosted engine. I kept it running while putting /dev/null in /usr/share/ovirt-engine/ services/ovirt-engine-notifier/ovirt-engine-notifier.conf for mail server. Yet I still get alerts for every thing done such as putting hosts in maintenance mode. Very confusing.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ovirt.org_site_privacy-2Dpolicy_&d=DwMFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=UJ2vVEwM91yclORHu6HgUhb6l9CDh0glm1wZKK_rIIw&s=kU90drdHx0PQ34H-XGYV2FxWfHG3ixAqpzJj5CVQWkg&e=> oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ovirt.org_community_about_community-2Dguidelines_&d=DwMFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=UJ2vVEwM91yclORHu6HgUhb6l9CDh0glm1wZKK_rIIw&s=wx1q0lwobUWGNkngdtFZJ9SNbT2IE2PLLUqvF7C_hKo&e=> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/X6YRFWUAKYFY2HQF56HGUK3BPXJL2HBH/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.ovirt.org_archives_list_users-40ovirt.org_message_X6YRFWUAKYFY2HQF56HGUK3BPXJL2HBH_&d=DwMFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=UJ2vVEwM91yclORHu6HgUhb6l9CDh0glm1wZKK_rIIw&s=DQHAgGqMvqOoWASkbSSkHRSmVa1XVn9jmxB9m99sP1Y&e=>
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ovirt.org_site_privacy-2Dpolicy_&d=DwMFaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=F0oZn2eLvrinLHpVt-XjUerKE9Wvho3OpiBkNwq0RV0&s=JUHl55KI96P9uY87OVFrJcbbb2ZQcEcUy4Nyxx6hJiw&e=> oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ovirt.org_community_about_community-2Dguidelines_&d=DwMFaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=F0oZn2eLvrinLHpVt-XjUerKE9Wvho3OpiBkNwq0RV0&s=Nl4j4Eh2WGghqJCykwyVtOHS7yjYhws3QrQn3qcGq8Y&e=> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/LIBA3OSRJUMGAGYOQDQAGLCYOWWNWJQ2/ <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.ovirt.org_archives_list_users-40ovirt.org_message_LIBA3OSRJUMGAGYOQDQAGLCYOWWNWJQ2_&d=DwMFaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=F0oZn2eLvrinLHpVt-XjUerKE9Wvho3OpiBkNwq0RV0&s=lcAzYRpOUDH77ENeIif3jvNxpxuyAdr08lTVYSLRO-w&e=>

Hi, two clarifications: Hosted engine is sending those emails using built-in Python SMTP client that talks directly yo the SMTP server specified during install time. We default to localhost, but you might have changed it.
notify.state_transition : maintenance|start|stop|migrate|up|down, type : broker
The value here is a regular expression that is matched against the state transition string in the email. Best regards Martin Sivak On Wed, Aug 29, 2018 at 10:34 PM, Douglas Duckworth <dod2014@med.cornell.edu> wrote:
Thanks for sharing
I may want to do that
Though first I want to understand how the emails are arriving.
I stooped ovirt-engine-notifier.service and postfix.service on all hosts and the hosted engine. So how are the email being delivered? They are not running senmail so I don't understand what daemon's sending these messages.
Thanks,
Douglas Duckworth, MSc, LFCS HPC System Administrator Scientific Computing Unit Weill Cornell Medicine 1300 York Avenue New York, NY 10065 E: doug@med.cornell.edu O: 212-746-6305 F: 212-746-8690
On Wed, Aug 29, 2018 at 3:16 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
Hi, you can change the list of status you want to be notified about with hosted-engine --set-shared-config notify.state_transition The default is:
[root@hehost01 ~]# hosted-engine --get-shared-config notify.state_transition --type=broker
notify.state_transition : maintenance|start|stop|migrate|up|down, type : broker
On Wed, Aug 29, 2018 at 7:47 PM Douglas Duckworth <dod2014@med.cornell.edu> wrote:
I agree however we are in testing phase so I make changes a lot. Therefore alerts are not presently needed.
So how to I turn them off?
These steps do not work on hosted engine:
me@ovirt-engine[~]$ sudo systemctl stop postfix.service me@ovirt-engine[~]$ sudo systemctl stop ovirt-engine-notifier.service me@ovirt-engine[~]$ sudo systemctl status ovirt-engine-notifier.service ● ovirt-engine-notifier.service - oVirt Engine Notifier Loaded: loaded (/usr/lib/systemd/system/ovirt-engine-notifier.service; enabled; vendor preset: disabled) Active: inactive (dead) since Wed 2018-08-29 13:41:55 EDT; 3s ago Process: 1814 ExecStart=/usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.py --redirect-output --systemd=notify $EXTRA_ARGS start (code=exited, status=0/SUCCESS) Main PID: 1814 (code=exited, status=0/SUCCESS)
Aug 25 12:09:31 ovirt-engine.pbtech systemd[1]: Starting oVirt Engine Notifier... Aug 25 12:09:33 ovirt-engine.pbtech systemd[1]: Started oVirt Engine Notifier. Aug 29 13:41:54 ovirt-engine.pbtech systemd[1]: Stopping oVirt Engine Notifier... Aug 29 13:41:55 ovirt-engine.pbtech systemd[1]: Stopped oVirt Engine Notifier.
I still get an email every time I put a host in maint mode for example.
Thanks,
Douglas Duckworth, MSc, LFCS HPC System Administrator Scientific Computing Unit Weill Cornell Medicine 1300 York Avenue New York, NY 10065 E: doug@med.cornell.edu O: 212-746-6305 F: 212-746-8690
On Tue, Aug 28, 2018 at 4:43 PM, Johan Bernhardsson <johan@kafit.se> wrote:
Those alerts are also coming from hosted-engine that keeps ovirt manager running.
I would rather have a filter in my email client for them than disabling all of the alerting stuff
/Johan
On August 28, 2018 22:36:34 Douglas Duckworth <dod2014@med.cornell.edu> wrote:
Hi
Can someone please help? I keep getting ovirt alerts via email despite turning off postix and ovirt-engine-notifier.service
Thanks,
Douglas Duckworth, MSc, LFCS HPC System Administrator Scientific Computing Unit Weill Cornell Medicine 1300 York Avenue New York, NY 10065 E: doug@med.cornell.edu O: 212-746-6305 F: 212-746-8690
On Fri, Aug 24, 2018 at 8:59 AM, Douglas Duckworth <dod2014@med.cornell.edu> wrote:
Hi
How do I turn off hosted engine alerts? We are in a testing phase so these are not needed. I have disabled postfix on all hosts as well as stopped the ovirt notification daemon on the hosted engine. I kept it running while putting /dev/null in /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf for mail server. Yet I still get alerts for every thing done such as putting hosts in maintenance mode. Very confusing.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/X6YRFWUAKYFY2H...
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/LIBA3OSRJUMGAG...
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/I7EXHCE43XXSVK...
participants (2)
-
Douglas Duckworth
-
Martin Sivak