Tool to monitor hosts and services & notify through mail and XMPP?
Hi all,
Currently I'm using a windows based program to do this but I wonder if there is something similar for linux and move away from a complete win-based system, just for this. If possible, doing this on a RPI would be awesome. What I would like to do is to be able to monitor: - hosts - services and notify by mail or XMPP when going offline or online. Thanks a lot in advance for your suggestions! Peter |
There are a bunch of monitoring tools. Most notable is nagios. Though I dig Zabbix. A more complete and easier to setup tool imho.
For only a few machines maybe munin might suite. Also i don't know if it has an alert function. But creates nice graphs and does not need a server on its own but can just run the client. Nother thing to do if it really is only a few systems use some hand rolled bash script. Quote:
|
zabbix supports the jabber protocol.
|
Thank you for these suggestions, I will have a look at them.
@zhjim: is it possible with scripting to check if services on remote hosts are running and I guess that notifications through XMPP also might be possible but it will become quite complex for me. Therefore: if there are tools for this, I will certainly not reinvent the wheel. |
zhjim, can you - or someone else - elaborate a little on sending a mail based on this example?
I would like to use it for a friend to check the availability of his VPN host which runs on a private connection. What are the minimum requirements to be able to make this work and just send a mail on a system without GUI? I guess: 1) finalizing your example - assume that the $hostname has to be defined 2) SMTP configuration 3) creating a cron job Since this doesn't work for a service, what would be the way through a script? TIA! |
Quote:
working smtp configuration check cronjob check Quote:
But for checking on services i would use some of the tools metioned above. Way easier. Though the hand roll approach should be more rewarding. |
All times are GMT -5. The time now is 05:09 AM. |