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 <dod2...@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: d...@med.cornell.edu
> O: 212-746-6305
> F: 212-746-8690
>
>
>
> On Tue, Aug 28, 2018 at 4:43 PM, Johan Bernhardsson <jo...@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 <dod2...@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://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: d...@med.cornell.edu
>>> O: 212-746-6305
>>> F: 212-746-8690
>>>
>>>
>>>
>>> On Fri, Aug 24, 2018 at 8:59 AM, Douglas Duckworth <
>>> dod2...@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-le...@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-le...@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/LIBA3OSRJUMGAGYOQDQAGLCYOWWNWJQ2/
>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/GFBWMDXF337L6CISBLKFNLQKC5PKKL6I/

Reply via email to