Page 1 of 1

Nagios Network Analyzer and MRTG

Posted: Tue Jan 08, 2019 7:16 pm
by mydogboris
It would be great to get Netflow information to Nagios core with Nagios Network Analyzer as well as graphing traffic statistics with MRTG.

https://assets.nagios.com/downloads/nag ... 1537820772

RE: Nagios Network Analyzer and MRTG

Posted: Thu Jan 10, 2019 10:06 am
by Robbie Ferguson
NNA is ~$2,000 isn't it? So that's not going to happen in a free project such as NEMS. MRTG on the other hand, that could happen. I'll add MRTG to the to-do list ... probably NEMS 1.6, though if I can squeeze it into a rolling update (eg., 1.5.1) I'll do that.

Thanks,
Robbie

Re: Nagios Network Analyzer and MRTG

Posted: Thu Aug 13, 2020 12:10 pm
by Robbie Ferguson
MRTG was approved and integrated into NEMS Linux 1.5:

Documentation:
https://docs.nemslinux.com/usage/mrtg

Changelogs:
Add Multi Router Traffic Grapher (MRTG) as requested by mydogboris.
mrtg.sh will now detect the [first] default gateway of the current connection and offer it as the IP to use for MRTG. If incorrect, user may still enter the router IP manually.
If no SNMP data is found on the router, mrtg.sh will provide a proper error rather than a “file not found” error.
If, when user runs mrtg.sh, the MRTG Apache configuration is not enabled, enable it automatically.
Added mrtgsetup command (a symlink to mrtg.sh).
Added custom trap community support to mrtgsetup.
Added MRTG index to https://nems.local/mrtg

Re: Nagios Network Analyzer and MRTG

Posted: Fri Oct 02, 2020 7:36 pm
by dony71
Hi Robbie,
I just install NEMS 1.5 on Rock64 board
I run "sudo mrtgsetup" but get this error below
I also already run "sudo nems-upgrade" and apply reboot

Code: Select all

/usr/local/bin/mrtgsetup: line 47: /usr/local/mrtg2/bin/cfgmaker: No such file or directory
env: ‘/usr/local/mrtg2/bin/mrtg’: No such file or directory
/usr/local/share/nems/nems-scripts/mrtg-gen.sh: line 11: /usr/local/mrtg2/bin/indexmaker: No such file or directory
env: ‘/usr/local/mrtg2/bin/mrtg’: No such file or directory
It seems mrtg is not installed yet, but you mentioned it's integrated into NEMS Linux 1.5 ?

Re: Nagios Network Analyzer and MRTG

Posted: Sat Nov 28, 2020 8:36 pm
by Robbie Ferguson
Please open a new thread for your support request dony71