Page 1 of 3
Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 11:53 am
by Jessuzz94
Hi, i use mrtg to monitor some bandwidth interfaces of switches, my question is, nagiosgraph can monitor it too?, can monitor optic fibre?, And where can i find some webpage to install and configure nagiosgraph for ubuntu?, Very Thanks

Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 12:04 pm
by abrist
Jessuzz94 wrote:Hi, i use mrtg to monitor some bandwidth interfaces of switches, my question is, nagiosgraph can monitor it too?,
Nagiosgraph will just generate graphs for reported performance data. You will need a plugin to check and report performance data for bandwidth, and as you are using mrtg, it should be able to.
Jessuzz94 wrote:And where can i find some webpage to install and configure nagiosgraph for ubuntu?
Top hit on google:
https://raymii.org/s/tutorials/Nagios_C ... 12.04.html
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 12:08 pm
by Jessuzz94
but for example, in the nagios web interface in one switch i am monitoring interfaces services, like (Port 5 Bandwidth), with the check_mrtgtraf command, nagiosgraph can graph this services like mrtg?
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 12:52 pm
by abrist
Yes, as long as it returns valid performance data. Can you post the performance data reported for the check?
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 1:02 pm
by Jessuzz94
How to performance data?
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 1:08 pm
by abrist
Performance data is listed in the Nagios Core interface on the relevant service details page - third row from the the top of the "Service State Information" table.
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 1:54 pm
by Jessuzz94
For now the interfaces monitoring are disable, but the performance data showed me like "check_local_mrtgtraf: OK, and the bits up and down oming from the interfaces, like "in: 267b/s out: 123 b/s
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 2:04 pm
by abrist
That sounds like status output, not performance data output. Can you take a screenshot of the details page for one of these bandwidth checks?
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 2:14 pm
by Jessuzz94
You mean in the Services menu?,
switchcisco
PING
CRITICAL 06-24-2015 12:05:43 4d 22h 45m 21s 1/1 CRITICAL - Host Unreachable (192.168.1.20)
Port 1 Status
UNKNOWN 06-24-2015 12:06:51 4d 22h 43m 53s 1/1 External command error: Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Port 2 Bandwidth
WARNING 06-24-2015 12:01:01 2d 2h 46m 12s 1/1 MRTG data has expired (7063 minutes old)
Port 2 Status
UNKNOWN 06-24-2015 12:09:50 4d 22h 40m 57s 1/1 External command error: Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
this is one part, now its not monitoring the switch its this because the mibs error, or where is the part of information that you told me
Re: Nagiosgraph can monitor Bandwidth of devices?
Posted: Wed Jun 24, 2015 2:23 pm
by abrist
Jessuzz94 wrote:Port 2 Bandwidth
WARNING 06-24-2015 12:01:01 2d 2h 46m 12s 1/1 MRTG data has expired (7063 minutes old)
Well, mrtg has not updated the relevant rrd in a very long time. So I doubt you currently have performance data for it. Did you configure a cron for mrtg?
Code: Select all
cat /etc/cron.d/mrtg
ls -la /etc/crond.d
See:
http://serverfault.com/questions/215705 ... using-mrtg
Also, I requested a screenshot of the status details page for the bandwidth service, but you need to correct the issue with the mrtg cron before that bit is relevant.