Bandwidth Usage Report nuisance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
waydms
Posts: 21
Joined: Tue Aug 20, 2013 2:01 pm
Location: North Carolina

Bandwidth Usage Report nuisance

Post by waydms »

Hello again!

VMWare - Nagios XI Trial, 32-bit.

I have another question for anyone who is willing to put up with my posts, haha.

So I've been using the Reports section quite a lot lately and find that the Bandwidth Usage Report for our company could come in very handy.
The downside is that it is reporting for port and not description as the services are set. Please see attached images for visual.

I remember setting up my first host, 192.168.3.x, with Port Number then tried another with Port Description. Moving forward I chose the description method so it would be easier on the eyes.
Probably one line in one file that needs one tidbit corrected I'm sure!

Definitely let me know as usual if you have any comments/questions/concerns and I will provide the information ASAP.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Bandwidth Usage Report nuisance

Post by slansing »

It is entirely possible that only the descriptions were changed instead of the actual service name. I'd take one of those ports in the dropdown list, go to it's CCM page, and make sure that the port name description is in the correct spot. They should not be showing up as numbers unless those service's are actually configured in that fashion.
User avatar
waydms
Posts: 21
Joined: Tue Aug 20, 2013 2:01 pm
Location: North Carolina

Re: Bandwidth Usage Report nuisance

Post by waydms »

Hey!

Sorry for the late reply!
Alrighty so checked into the CCM and attached a sample image of one of the hosts services. Seems to be named correctly.
Noticed something odd though. For one of my hosts (clayton-hq-1921), the services have the IP as the Config name but the description is named, not numbered. Not sure if that would cause anything to alter with Nagios although thought I would mention.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Bandwidth Usage Report nuisance

Post by slansing »

I'm looking into the report to see where the names are pulled from, however you may need to remove the service's and hosts which you changed both from the CCM and from the mrtg.cfg and re-run the switch wizard over that address this time making sure that you are using port names not numbers. Having to remove items manually from the mrtg.cfg is something we are trying to remove from future releases as it can be quite monotonous.
User avatar
waydms
Posts: 21
Joined: Tue Aug 20, 2013 2:01 pm
Location: North Carolina

Re: Bandwidth Usage Report nuisance

Post by waydms »

Weird, so attempting to use find/locate for the mrtg.cfg and it states that it does not exist o____O
And for whatever reason, I don't even have the locate command, Hah. Cursed install!!! :o
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Bandwidth Usage Report nuisance

Post by sreinhardt »

Ha, ya with our minimal install, locate and updatedb from mlocate or slocate packages, are not available. File should be in /etc/httpd/conf.d/mrtg.conf
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
waydms
Posts: 21
Joined: Tue Aug 20, 2013 2:01 pm
Location: North Carolina

Re: Bandwidth Usage Report nuisance

Post by waydms »

Hey!

Finally found the time to check into this and viewed the mrtg.conf file which looks very bland.
Believe I'm checking the wrong file so searching around.

See below...

#
# This configuration file maps the mrtg output (generated daily)
# into the URL space. By default these results are only accessible
# from the local host.
#
Alias /mrtg /var/www/mrtg

<Location /mrtg>
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
# Allow from .example.com
</Location>
~
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Bandwidth Usage Report nuisance

Post by abrist »

I am fairly positive those names are gathered from the walk that is performed in the router/switch wizard. Changing them is more complicated than just renaming the configs in the CCM as their names are linked to the names of the mrtg rrds.
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