Can someone recommend....

Can someone recommend and describe the setup of application that I can use to monitor bandwidth usage over a long period of time?

I’ve been using Vyatta for a while now to separate testing environments from my production environment. Recently, it was asked of me to monitor the amount of bandwidth used over the course of a month. I’ve looked as SolarWinds’ Bandwidth Monitor, but it only works in 60-minute ‘chunks’. I’ve also looked a Bandwidth Monitor, but it only works on Windows. I’d rather not setup a Windows Server box with RRAS just for this.

Any suggestions are greatly appreciated.

UPDATE: I forgot to mention that Vyatta/VyOS is the only Linux on the network. Everything else is Windows on the LAN-side of this environment.

You could use vnstat:
https://packages.debian.org/squeeze/vnstat

It is simple and text based, but i like it a lot.

http://humdi.net/vnstat/

Thanks! I’ll take a look. Know of any that use SNMP or NetFlow/sFlow and can collect for more than a month at a time?

Ntop/ntopng maybe?

Hello jcoburn.

I made zabbix-agent commands for VyOS.
My follower installed this command on VyOS 1.0.4.

Alternatively, Cacti maybe helpful.
http://forums.cacti.net/about29595.html
http://www.cacti.net

Old thread, but I need to find out if this zabbix agent will still work with the latest versions of VyOS?

Thanks,

Hello, jfranco

I’m the author of vyos-cfg-zabbix-agent.
I heard some users use vyos-cfg-zabbix-agent on VyOS 1.1.X.
It may need to modify the code for VyOS 1.2.X.

Hi, Hiroysato san
Would please wirte a plugin for prometheus?

Hello, echowings.

I’ve never used Prometeus.
It seems that all that you have to do is to install prometheus-node-exporter on VyOS.
Have you ever tried?

apt-get install prometheus-node-exporter

I read this page
インフラ・サービス監視ツールの新顔「Prometheus」入門 | さくらのナレッジ (Written in Japanese).

I use Prometheus, and I use Ansible to manage my environment. Cloud Alchemy’s node-exporter role worked perfectly well when I added my VyOS router to my playbook.

The only thing is, I believe this would get wiped on upgrades because VyOS encourages image based installs? I didn’t look too much into it. A way to make it permanent would be nice.

Do you need to store anything on the vyos node? It will only survive in /config updates.
@system check out https://www.librenms.org/

The node-exporter binary and its systemd unit file need to be stored on the vyos node.

I personally would rather prefer not having to switch monitoring software that I’ve been using for ages for something as minor as this (edit: it’s really just a minor inconvenience that I can live with because all I have to do on upgrades is re-run an ansible playbook and we’re good).

edit: also, this is technically off-topic, so I’m going to refrain from posting any more regarding prom.

I think you need grafana