Let proxmox send mail if a node is stopped

ocerda

Member
Jan 2, 2018
58
1
8
32
Good afternoon,

I am learning to use proxmox and all its advantages, I have mounted proxmox with high availability in ceph and nfs, and it works perfectly, I migrate machines in seconds, even if they are plugged in, and if I disconnect a network cable from one of the servers in thing of 2/3 minutes the machine passes me from one node to another.

My question is: Is there any way to configure the cluster now, so that it sends an email when it detects the stop of a node?

Thank you.
 
Proxmox alerts you if a node fails; if a node is down for other reasons the assumption is that you brought it down on purpose. If you want to be alerted to someone bringing down the node purposefully you can (should) monitor it using Nagios or alternative, or put an email task as part of your shutdown procedure.
 
Proxmox alerts you if a node fails; if a node is down for other reasons the assumption is that you brought it down on purpose. If you want to be alerted to someone bringing down the node purposefully you can (should) monitor it using Nagios or alternative, or put an email task as part of your shutdown procedure.


I mean that proxmox send me an email if a node for example is turned off because the pc has been broken. Or lose the connection or things like that.
 
Good afternoon,

I am learning to use proxmox and all its advantages, I have mounted proxmox with high availability in ceph and nfs, and it works perfectly, I migrate machines in seconds, even if they are plugged in, and if I disconnect a network cable from one of the servers in thing of 2/3 minutes the machine passes me from one node to another.

My question is: Is there any way to configure the cluster now, so that it sends an email when it detects the stop of a node?

Thank you.


Hi,

You can use many tools for this(nagios as example). But many of them need many time to spend for this(to setup). And this kind of tools(most of them) are only report ... hey your node/service is down. So other tools can iform you about this, and in addition can run some action(if ... event then ... run).Such kind of tool is Monit! I start using Nagios many years ago, but monit it is simply and briliant. I use both, because one tool can fail, so 2 tools can not fail at the same time.