Page 1 of 2

Bandwidth usage

Posted: Wed Jun 12, 2013 6:33 am
by wiproltdwiv
hi,

In Nagios xi there is an option in reports - > bandwidth usage.

but while generating this report we find only blank screen . please find the attachment for the same.

pls suggest.

details

verison : Nagios XI 2012R2.1

Re: Bandwidth usage

Posted: Wed Jun 12, 2013 9:32 am
by abrist
If you look at the upper right corner of the image, you will notice that you only have 3 green checks instead of six. How many red dots do you have on the Home --> Process info page?

Re: Bandwidth usage

Posted: Thu Jun 13, 2013 12:26 am
by wiproltdwiv
pls find the screenshot

Re: Bandwidth usage

Posted: Thu Jun 13, 2013 9:19 am
by slansing
Can you run the following, and then open the bandwidth usage report and send us the output of the command?:

Code: Select all

tail -f /var/log/httpd/error_log
And again with:

Code: Select all

tail -f /var/log/httpd/access_log
Do you have enterprise edition?

Re: Bandwidth usage

Posted: Thu Jun 13, 2013 10:11 pm
by wiproltdwiv
we dont have enterprise edition.
pls find the attached screen shot for your ref

Re: Bandwidth usage

Posted: Thu Jun 13, 2013 10:12 pm
by wiproltdwiv
httpd error log

Re: Bandwidth usage

Posted: Fri Jun 14, 2013 11:58 am
by abrist
Lets see what is on that line, run the following command and post the output in code wraps:

Code: Select all

head -360  /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php | tail -20

Re: Bandwidth usage

Posted: Mon Jun 17, 2013 12:02 am
by wiproltdwiv
[root@EMSNagios1 ~]# head -360 /usr/local/nagiosxi/html/includes/components/ban dwidthreport/index.php | tail -20
<th><?php echo gettext("Action"); ?></th></tr>
</thead>
<tbody>
<?php
// sort names
arsort($legalnames);

$lastip="";
foreach($legalnames as $name)
{
parse_name($name,$ip,$port);

//XI MOD - adding host authorization
if(!isset($authIPs[$ip])) continue; //skip unauthorized hosts

//printf("<a href=\"%s?name=%s\">%s</a><br>\n", $_SERVER['SCRIPT _NAME'], $name, $name);
echo "<tr>";
$theip=$ip;
if($lastip==$ip) //still on the same host //XI MOD - added host name with IP for clarity
{
[root@EMSNagios1 ~]# ^C
[root@EMSNagios1 ~]#

Re: Bandwidth usage

Posted: Mon Jun 17, 2013 12:24 pm
by abrist
What web browser are you using? There have been issues with IE and jquery as of late, so if you are running IE, you may need to enable "compatibility mode". Try a different browser as well.

Re: Bandwidth usage

Posted: Tue Jun 18, 2013 11:52 pm
by wiproltdwiv
we tried chrome also.. we are facing similar issue..

kindly suggest .