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
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


_______________________________________________
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/LIBA3OSRJUMGAGYOQDQAGLCYOWWNWJQ2/