Can someone recommend....


#1

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.


#2

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/


#3

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?


#4

Ntop/ntopng maybe?


#5

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


#6

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

Thanks,


#7

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.


#8

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


#9

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
https://knowledge.sakura.ad.jp/11633/ (Written in Japanese).


#10

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.


#12

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


#13

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.


#14

I think you need grafana