Nagiosgraph can monitor Bandwidth of devices?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Nagiosgraph can monitor Bandwidth of devices?

Post 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 :D
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post by abrist »

Yes, as long as it returns valid performance data. Can you post the performance data reported for the check?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post by Jessuzz94 »

How to performance data?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagiosgraph can monitor Bandwidth of devices?

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked