Are there any means of monitoring traffic from a web muzzle?

Actually the question in question. Has the server previously was VPS, the hoster in the personal Cabinet a graph showing bandwidth consumption on days. As if this question didn't bother me, but now I can't find anything simple to:
- a graph of incoming and outgoing traffic from the server
- the ability
- bonus: saving data
- be sure the web interface with username and password or binding on the IP address.
July 8th 19 at 16:48
5 answers
July 8th 19 at 16:50
Solution
munin like can60b23ba77f164ce8a6ac3d71d7936e61.png
July 8th 19 at 16:52
Solution
Zabbix (our) or
www.zabber.ru
What you need! Thank you - Darius41 commented on July 8th 19 at 16:55
July 8th 19 at 16:54
Solution
Wonderful console utility vnStat or here to read., necessarily with a GUI? You can also send reports in the mail, easier than every day to go to the server, authenticate, and see how much traffic left.
There is such a light monitoring tool Munin, you can deploy locally. About interface and authorization need any light web server and minimal setup. If on a VPS there is apache,nginx, something really simple configuration file c htpasswd. Amount of traffic out of the box is not there, but the usage graph network interfaces, but Google says that is possible and trafc to watch: Graphing Traffic With Munin's IP Plugin
UPD: guys even gui in php gash, github https://github.com/bjd/vnstat-php-frontend
Thanks for vnStat - look. But still closer Zabbix read - seems to be what you need. I just want simplicity out of the box: set one package and it is as a combine, includes all reports in the mail very interesting. An example can show how it's done? - Darius41 commented on July 8th 19 at 16:57
Zabbix out of the box can not do anything, you need to configure is a more complex solution. I have zabbix monitors hundreds of parameters on several dozen hosts, it is more for this, and it turned out as from a gun on sparrows.
On the issue of the report, that's all you need to add scripts. But need a simple smtp transport (tecadmin.net/send-email-smtp-server-linux-command-... and it is not long, if you know a little bash
Schematically:
1. cron runs your script > the log you send in a file with today's date
2. gssp runs a script sending mail for the day, ssmtp < file a report
Can you do it? - Darius41 commented on July 8th 19 at 17:00
: Yes, I understand the algorithm! Thank you very much! - stan_Lind commented on July 8th 19 at 17:03
July 8th 19 at 16:56
zabbix mrtg rrdtool cacti munin
July 8th 19 at 16:58
netdata

Find more questions by tags System administrationUbuntu